Closed Bikermart closed 3 years ago
If you can make a demo of this bug, I can check :)
Alex,
Can you try this URL: https://abilitylms_nextgen.learnerhall.com/AbilityLMS_NextGen/Programs/Standard/Control/mb.php
You will see two textarea elements. One displays the icons and the other does not.
Merci bien! Martin
On Fri, Jul 2, 2021 at 12:59 PM Alexandre Demode @.***> wrote:
If you can make a demo of this bug, I can check :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Alex-D/Trumbowyg/issues/1229#issuecomment-873135125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWEZSSIDACNH2IJK267NJ3TVXV7NANCNFSM47U3LFNA .
Alex,
Were you able to look at this issue?
Thanks, Martin
Oh sorry, I did not ping you ^^'
I think I've fixed this in last version, see https://github.com/Alex-D/Trumbowyg/commit/5ad49f30e31cc9a543f9dfc7c1d9a33bd6c3bae5
If not, tell me :)
The problem occurs in both IE and Chrome. The editor is invoked on a
When the amount of text is just a few lines, the icons show. When the amount of text is large, with a number of html tags, the icons do not show and a JavaScript error occurs: trumbowyg.min.js:12 Uncaught TypeError: Cannot read property 'startContainer' of null at HTMLElement. (trumbowyg.min.js:12)
at Function.each (jquery.min.js:2)
at S.fn.init.each (jquery.min.js:2)
at i.semanticTag (trumbowyg.min.js:12)
at i.semanticCode (trumbowyg.min.js:12)
at i.buildEditor (trumbowyg.min.js:12)
at init (trumbowyg.min.js:12)
at new i (trumbowyg.min.js:12)
at HTMLTextAreaElement. (trumbowyg.min.js:12)
at Function.each (jquery.min.js:2)
Is it possible that something within the text is causing this? Maybe a character such as an apostrophe, or an HTML tag?