Hello @ZeroqodeSupport !
Great plugin
What I am trying to achieve is the possibility to create new things (Tasks) from notes using a keyword and then mentioning them using hashtags. While the first part is pretty simple (I’ve combined KeyboardShortcuts plugin to know if the user typed “/” and then start composing task):
…but I’d like to add a hashtag after creating a new task automatically.
So is there a possibility to add a method to create a new hashtag in the editor? Right now I’ve tried using a set text/HTML action and adding manually which is not perfect as the cursor is always positioned at the beginning and the hashtag is not clickable.
The workflow:
And the effect:
As I understand - what is currently missing to achieve the result (from Quilljs docs):
- setSelection method to position the cursor
- insertItem method from mention plugin to insert mention/hashtag manually
If you are not planning to add it to the plugin, maybe is there a way on how to achieve that using pure javascript in Bubble?