Closed ilcary closed 4 months ago
Had the same issue, wasn't able to solve. I'll follow the thread to see any updates on this, best of luck.
Please I have the same error and I can't solve it, I will follow this topic for updates
+1
Same issue here, I'll follow to see any updates on this.
Could it be a browser cache issue? I cannot reproduce the issue.
Could it be a browser cache issue? I cannot reproduce the issue.
I am using Firefox version 126.0 and it does not seem to be a caching problem.
I tried it this way:
<span>Ciao</span>
@johnnybaida Thank you. I will release a new version asap.
Describe the bug On the last version of the SunEditor 2.46.2 the StrictMode option is causing a input managment error. While the flag StrictMode is true the suneditor on the onKeyUp_wysiwyg function and more exactly in the _setDefaultFormat is throwing the error:
Uncaught TypeError: format is undefined
To Reproduce Steps to reproduce the behavior:
{ "strictMode": true, "value": "<span>Ciao</span>", "mode": "classic", "rtl": false, "katex": "window.katex", "resizingBar": false, "showPathLabel": false, "resizeEnable": false, "imageResizing": false, "imageHeightShow": false, "imageAlignShow": false, "imageFileInput": false, "imageUrlInput": false, "videoResizing": false, "videoHeightShow": false, "videoAlignShow": false, "videoFileInput": false, "videoUrlInput": false, "videoRatioShow": false, "audioUrlInput": false, "tabDisable": false, "shortcutsHint": false, "mediaAutoSelect": false, "buttonList": [ [ "undo", "redo", "font", "fontSize", "formatBlock", "paragraphStyle", "blockquote", "bold", "underline", "italic", "strike", "subscript", "superscript", "fontColor", "hiliteColor", "textStyle", "removeFormat", "outdent", "indent", "align", "horizontalRule", "list", "lineHeight", "table", "link", "image", "video", "audio", "math", "imageGallery", "fullScreen", "showBlocks", "codeView", "preview", "print", "save", "template" ] ], "lang": "SUNEDITOR_LANG.it", "lang(In nodejs)": "it" }
'
'
Expected behavior To manage properly the input without strictMode active :)
Desktop:
Desktop 2: