Aligning content (left, center, right, justify) no longer working in richtext editor
Umbraco version 7.10.4 assembly: 1.0.6684.15725
Hey guys.
I have an Umbraco 7.10.4 website. 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.
The problem is only present in Chrome, not in IE, Edge and Firefox.
Javascript error:
ncaught TypeError: Cannot read property 'toLowerCase' of undefined
at HTMLDocument.document.createElement (<anonymous>:352:17)
at Object._ [as create] (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at a (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at Object.xv [as applyFormat] (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at toggle (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at Object.toggle (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at d (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at Mm.execCommand (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
at YC.execCommand (tinymce.min.js?umb__rnd=04b49b7371f6df62f7ae98b9c7fc0392:2)
That's an really odd issue - I just tried playing around with the RTE on a fresh installation of Umbraco 7.10.4 in Chrome and I did not experience this issue.
Could it perhaps be some kind of weird caching issue in your Chrome browser? Have you tried to see if it also keeps happening in incognito mode?
Aligning content (left, center, right, justify) no longer working in richtext editor
Umbraco version 7.10.4 assembly: 1.0.6684.15725
Hey guys.
I have an Umbraco 7.10.4 website. 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.
The problem is only present in Chrome, not in IE, Edge and Firefox.
Javascript error:
Hi there
That's an really odd issue - I just tried playing around with the RTE on a fresh installation of Umbraco 7.10.4 in Chrome and I did not experience this issue.
Could it perhaps be some kind of weird caching issue in your Chrome browser? Have you tried to see if it also keeps happening in incognito mode?
/Jan
Hah, it indeed works in incognito mode, wtf.
I already cleared the complete Chrome cache multiple times, that doesn't seem to help at all.
Oh well, as long as the client can use the centering :)
Thanks!
Happy to hear that the problem does not seem to affect your client at least! :)
What version of Chrome are you running? Is it the latest or might there be an update, which maybe could fix it?
/Jan
is working on a reply...