diff options
author | Andrew Dolgov <[email protected]> | 2022-02-01 13:16:23 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-02-01 13:16:23 +0300 |
commit | 6077175c57b4f793880467d4c32d7391f4b0a038 (patch) | |
tree | 8ab81363079f76919efb4b36659c13ebc4026136 /plugins/note/init.php | |
parent | 478c9b64a94261e9b7e68de571bf85144636509e (diff) |
plugins/note: allow editing note by clicking on it
Diffstat (limited to 'plugins/note/init.php')
-rw-r--r-- | plugins/note/init.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/note/init.php b/plugins/note/init.php index a22b2894d..65f7e04e9 100644 --- a/plugins/note/init.php +++ b/plugins/note/init.php @@ -15,6 +15,9 @@ class Note extends Plugin { return file_get_contents(__DIR__ . "/note.js"); } + function get_css() { + return file_get_contents(__DIR__ . "/note.css"); + } function hook_article_button($line) { return "<i class='material-icons' onclick=\"Plugins.Note.edit(".$line["id"].")\" |