• Resolved newdeepdan

    (@newdeepdan)


    I’m on Chrome 67.0.3396.99, running WordPress 4.9.7, and have installed TinyMCE Advanced 4.7.11, however when I try to align my text, left/right/center, when I click the button on the toolbar it does nothing. If I check Chrome Developer Tools I’m getting these error messages about it:

    Uncaught TypeError: Cannot read property ‘toLowerCase’ of undefined
    at HTMLDocument.document.createElement (<anonymous>:352:17)
    at Object._ [as create] (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at a (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at Object.xv [as applyFormat] (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at toggle (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at Object.toggle (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at d (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at Mm.execCommand (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)
    at YC.execCommand (tinymce.min.js?ver=4711-20180425-tadv-4.7.11:2)

    I’ve disabled every other plugin and I’m using the default ‘twentyseventeen’ WordPress theme, but this keeps happening.

    • This topic was modified 7 years, 8 months ago by newdeepdan.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    I believe this is fixed in the latest TinyMCE version.

    • This reply was modified 7 years, 6 months ago by Andrew Ozz.

    Hello,

    I’m having same issue with 4.8.0 when i click Align text

    Uncaught TypeError: Cannot read property ‘toLowerCase’ of undefined
    at HTMLDocument.document.createElement (<anonymous>:352:17)
    at Object.D [as create] (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at a (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at Object.Eb [as applyFormat] (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at Lb (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at Object.toggle (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at d (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at qg.execCommand (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)
    at Hx.execCommand (tinymce.min.js?ver=4800-20180716-tadv-4.7.13:2)

    Solved! solution was to disable popup blocker extension in Chrome.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘TinyMCE Error, Unable to Align Text’ is closed to new replies.