Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Quill Composer #121

Open
julianlam opened this issue Jun 5, 2019 · 0 comments
Open

Integration with Quill Composer #121

julianlam opened this issue Jun 5, 2019 · 0 comments

Comments

@julianlam
Copy link
Contributor

This is how canned-responses integrates with Quill: julianlam/nodebb-plugin-canned-responses@070cdfd

Events seems to do a little more, including privilege checks and so on, so it might be hard to get these done before Quill generates the toolbar, but it does so quite early, which is why canned responses needed to require the formatting lib earlier and then hook into the composer.enhanced event.

Latest quill and composer now also supports insertIntoTextarea and updateTextareaSelection, though it looks like you need logic to find and replace existing text? Maybe I can add that in as a method into composer-default's controls.js as well.

@pitaj pitaj added this to the 1.4.0 milestone Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants