PostMidnight
PostMidnight
Turns out this is an old issue I reported earlier with textcomplete and mention. The following pull fixed markdown, but not mention: https://github.com/julianlam/nodebb-plugin-markdown/pull/107 We should reopen the issue: https://github.com/NodeBB/NodeBB/issues/7457 To...
Update: I removed HTML support from textcomplete.contenteditable that I had earlier to solve RTL issues with Redactor. Now mention and inline emoji work well. Using text also fixes https://github.com/NodeBB/nodebb-plugin-composer-quill/issues/79. As...
My apology for not being coherent, please allow me to rephrase: One of the ways to make iframe responsive (but not only iframes), is to wrap it with two divs....
Generally, I see that its better to repalce 'setText('') with setContents, see below: To that end, I recommend changing $(window).on('action:chat.sent', function (evt, data) accordingly. ``` //quill.setText(''); let textDirection = $('html').attr('data-dir');...
I was able to solve this for emojis by calling quill.setSelection(range.index + 1, 0), immediatly after insertion (see below). @julianlam is there a similar hook for mentions? There we have...
Mention fixed by https://github.com/NodeBB/nodebb-plugin-composer-quill/issues/79 The code above is still needed however, for emoji support via dialog box.
IMHO, the notion of searching for groupSlug is redundant, especially when using html editors such as quill. As an alternative approach, text-complete could be provided with the groupSlug (English) as...
There was a problem with the solution I proposed earlier. If we handle translation and slug search on the server, it means that the mention plugin must be "language-aware", that...
Hi @julianlam , any chance to commit the potential solutions I provided to master? Using quill in chat is quite important ;)