Bugs in Quill (NodeBB 1.16.2)
-
Dear All,
We are in the process of upgrading to NodeBB 1.16.2. It seems that, in this version, Redactor has been disabled and that the only option for a WYSIWYG editor is Quill.
We have immediately discovered two issues in Quill, which are mentioned in a post from November 2020:
- If you select some text in another user's post and hit the reply button, Quill does not enter the selected text as a quote as seen below:
@blahblahblah Said:
Quoted Text here with a bar to the left
- You can no longer embed a YouTube video.
Will either of these get fixed any time soon? It is discouraging when an update offers them reduced functionality.
Thanks in advance for whatever insights any of you might have.
Best Wishes,
Mark -
@mark-coniglio If you are talking about the Quill Composer, you'll have to periodically check if issues are fixed at the Github page.
Same link: https://github.com/NodeBB/nodebb-plugin-composer-quill/issues
-
@mark-coniglio Redactor hasn't been disabled, per se, we just no longer actively develop on it. So that said, if you want to use Redactor, it should still work.
Quill is probably the better path moving forward. How are you trying to embed youtube videos, via a plugin?
-
@julian said in Bugs in Quill (NodeBB 1.16.2):
Redactor hasn't been disabled, per se, we just no longer actively develop on it.
Our tech found that it was not possible. I have asked him to post here to explain why it didn't work.
@julian said in Bugs in Quill (NodeBB 1.16.2):
Quill is probably the better path moving forward. How are you trying to embed youtube videos, via a plugin?
Well, in redactor this button that allowed you to specify a movie URL.
using this dialog:
Quill does not seem to offer the same option. So I'm just dropping the URL into Quill. The link works. But it doesn't embed.
(Note: pre NodeBB 1.16.2 posts that had embedded video still show them as embedded; switching to Quill did not change the behavior of these older posts.)
Best Wishes,
Mark -
P.S. One other question: is it possible for a single user to choose to use the standard markup editor instead of Redactor/Quill via some kind of setting? It doesn't seem to be an option, but I wanted to make sure that I'm not missing something.
-
Hello,
Redactor hasn't been disabled, per se, we just no longer actively develop on it. So that said, if you want to use Redactor, it should still work.
@julian Yes, redactor is not broken per se, but we want to use the file upload button which was removed in an earlier version.
Please see this github issue which explains it: https://github.com/NodeBB-Community/nodebb-plugin-composer-redactor/issues/80
With nodebb version 1.15.0 we could work around this by commenting out line 177 and 180 from this file: https://github.com/NodeBB-Community/nodebb-plugin-composer-redactor/blob/ec318e4fc932aa97b8158f68a440417949eac5cf/static/lib/redactor.core.js#L177
This brought back the file upload button and it worked fine.
With nodebb version 1.16.2, we could bring back the file upload button again, however, it does not work anymore. You get the "choose file" dialog but when you select a file and confirm nothing happens. No errors in the web console or the nodebb output.log or the webserver logs.
If you could make the file upload button re-appear and work again in redactor, we would be fine sticking with it.
Best regards,
whuut