1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 17:09:14 +00:00

plugins/note: allow editing note by clicking on it

This commit is contained in:
Andrew Dolgov
2022-02-01 13:16:23 +03:00
parent 478c9b64a9
commit 6077175c57
3 changed files with 56 additions and 33 deletions

View File

@@ -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"].")\"