JS error when aligning content (left, center, right, justify) in richtext editor
Hey guys.
I have an Umbraco 7.10.3 website.
In the Grid Layout, in a Richtext Editor, I get a javascript error when I try to align the content (left, center, right or justify).
Is this a known bug?
How can I fix it?
The possibility to manually center content is a requirement for this website.
Javascript error:
Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
at HTMLDocument.document.createElement (<anonymous>:348:18)
at Object._ [as create] (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at a (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at Object.xv [as applyFormat] (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at toggle (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at Object.toggle (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at d (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at Mm.execCommand (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
at YC.execCommand (tinymce.min.js?umb__rnd=402a3f7dde65ccb5db6fbb1935eb6129:2)
JS error when aligning content (left, center, right, justify) in richtext editor
Hey guys.
I have an Umbraco 7.10.3 website. In the Grid Layout, in a Richtext Editor, I get a javascript error when I try to align the content (left, center, right or justify).
Is this a known bug? How can I fix it? The possibility to manually center content is a requirement for this website.
Javascript error:
Hi,
In which browser (and version) are you experiecing this ?
Dave
Google Chrome is up-to-date Versie 66.0.3359.117 (Officiƫle build) (64-bits)
I know there are issues with the latest Chrome version. That is why a new version is released today.
Can you check a couple of things for me ?
Do you experience this as well if you place a RTE property on your doctype ? Or is it just the grid one ?
Can you reproduce it in other browsers ?
Dave
LOL, you are correct, other browsers do not have the issue.
Edge, IE11 and firefox have no issues, only Chrome.
Safari for Windows has a lot of (other) issues apparently, I can't even use the Umbraco login screen in that one :-D
So I'll just wait for a Chrome update :-)
Thanks! K.
Hi,
It's probably worth logging this at http://issues.umbraco.org
It can be Umbraco related, but also TinyMce that breaks in the new chrome version.
can you try to upgrade to 7.10.4 today and see if the issue persists ?
Dave
There is no version 7.10.4 available (yet?).
I'll try to remember to check again later
It will be released today. They are rolling out on Cloud now.
Dave
Meanwhile Umbraco has been upgraded to 7.10.4 and Google Chrome is up to date (v. 66.0.3359.139), but the problem persists.
Is there a fix available for this?
Thanks.
Even I am facing the same issue.... any updates on this?
Also, I noted that running umbraco in incognito mode does not throw js error and works fine.
solved now... I have answered in my own post ... refer
https://our.umbraco.com/forum/using-umbraco-and-getting-started/92647-tinymce-text-editor-text-align-issue#comment-292926
is working on a reply...