You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
It seems like some update on the side of highlightjs broke the html editor. HighlightJS will insert the language-select inside the ql-editor, which will then on save copy the text from the select-options and add it to the quill text. This can be reproduced by testing the feature on the live demo: https://benwinding.github.io/quill-html-edit-button/javascript/
Screen.Recording.2025-06-03.at.16.35.54.mov
Edit: maybe something like this could be a workaround:
let html = "";
document.querySelectorAll("#ql-editor >:not(.ql-ui)").forEach(function(element) {
html += elment.innerHTML
});