Should be about 15 minutes, let me know if it is still not showing up, and the package name.
Events plugin not working with Quill
I'm using your Quill plugin for our community forum and have installed the Calendar plugin to make it easy for members to add events. When Quill is enabled, the event popup dialogue works, but does not get saved to the editor content. Do you know of any issues with the Calendar plugin and Quill, or could it be something to do with the setup on my end?
Thanks in advance
I recorded a quick loom to clarify the issue I'm having -> https://www.loom.com/share/914a475d48a44ec98914bbeaa49d21cb
@smokeyfro Hmm... yes, most likely the quill plugin is incompatible with the calendar plugin because it was written with the default composer in mind.
We aim for compatibility with all plugins, but some more complex ones like calendar might expect things that quill does not provide
Edit: What actually happens with Quill, does the event still get saved, just doesn't show up in the quill contents?
@julian i played with it some more and it does get added to the output, just not the editor - and only if you've added some content first.
Here is another video showing the issue in more detail:
Would really be great to get the calendar plugin working with Quill, as it's a lot more use-friendly than the markdown equivalent (at least for non-technical folk).
I changed the minimum character limit on posts and that got rid of the min post error, but there is still no visual indicator that the event has been added, or possible to edit the event later.
Did you see the video i posted showing the events issue in action? I was hoping to launch with Quill as our editor, but I'm worried that people are going to trip up with adding events. I checked the Quill docs and it does seem possible to output custom elements within the editor, but even outputting the shortcode would at least give some visual cue that the event has been added.
@pitaj do you know whether the calendar plugin uses the standard helpers methods to insert text in the textarea? https://github.com/NodeBB/nodebb-plugin-composer-default/blob/master/static/lib/composer/controls.js
As long as you use these methods, quill should automatically parse the inserted content into the editor.
@julian at the moment I don't use the built in methods:
As there is no way to do the following:
- read text contents to check for an existing event
- do a regex replacement on the text contents
I don't know anything about quil, so I can't really help there.