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
    Apr 23, 2018 @ 15:21
    K.Garrein
    0

    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)
    
  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 23, 2018 @ 19:48
    Dave Woestenborghs
    0

    Hi,

    In which browser (and version) are you experiecing this ?

    Dave

  • K.Garrein 164 posts 629 karma points
    Apr 24, 2018 @ 06:27
    K.Garrein
    0

    Google Chrome is up-to-date Versie 66.0.3359.117 (Officiƫle build) (64-bits)

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 24, 2018 @ 06:42
    Dave Woestenborghs
    0

    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

  • K.Garrein 164 posts 629 karma points
    Apr 24, 2018 @ 06:47
    K.Garrein
    0

    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.

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 24, 2018 @ 06:54
    Dave Woestenborghs
    0

    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

  • K.Garrein 164 posts 629 karma points
    Apr 24, 2018 @ 08:27
    K.Garrein
    0

    There is no version 7.10.4 available (yet?).

    I'll try to remember to check again later

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Apr 24, 2018 @ 08:29
    Dave Woestenborghs
    0

    It will be released today. They are rolling out on Cloud now.

    Dave

  • K.Garrein 164 posts 629 karma points
    May 04, 2018 @ 12:50
    K.Garrein
    0

    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.

  • hrg 32 posts 152 karma points
    Jun 29, 2018 @ 12:28
    hrg
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft