What is this nodebb-script magic that I must've missed.
Edit: nvm I'm dumb and didn't read enough. Haven't had my coffee yet.
This plugin isn't published yet, still a work in progress.
So far, this binds
alt-n to open the composer for repling / posting a new topic. Hopefully more keyboard shortcuts to come in the future!
To use, clone into the node_modules directory:
git clone https://github.com/psychobunny/nodebb-plugin-mousetrap.git node_modules/nodebb-plugin-mousetrap
Source code on Github
I'll be using this soon.
I could definitely use a Ctrl+Enter to post
EDIT * Scratch That. Ctrl+Enter works.
could we add
ctrl+b when in composer to bold stuff or is that not the realm of your plugin and it's composers area?
Yeah I imagine it would be fairly straightforward. Just add a new rule for ctrl-b and then check if the textbox in composer is active. If so take selected text and wrap it with asterisks using this module