Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • K.Garrein 164 posts 629 karma points
    May 30, 2018 @ 10:39
    K.Garrein
    0

    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)
    
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 30, 2018 @ 18:28
    Jan Skovgaard
    100

    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

  • K.Garrein 164 posts 629 karma points
    May 31, 2018 @ 08:02
    K.Garrein
    0

    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!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 31, 2018 @ 08:04
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft