@julian maybe you have something for hide something text? bcs it Снимок экрана (47).png
doesnt work ,-,
Снимок экрана (48).png
Plugin Hook for editor
-
I wanna have a plugin hook for post editor, to add new custom button.
-
@fyhao said:
I wanna have a plugin hook for post editor, to add new custom button.
i did something like that in this in-progress plugin, but i'm not sure if it's recommended:
https://github.com/automenta/nodebb-plugin-map/blob/master/public/main.js#L61
-
There's actually a client-side method in the composer that lets plugins add buttons, I have a plugin that uses it as an example:
https://github.com/psychobunny/nodebb-plugin-spoilers/blob/master/static/spoilers.js#L3
-
Ah... that's why I couldn't find it earlier, it's not a hook, but a method
-
Wow great, something to explore, thanks guy.