Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27321

tiny_mce error on Chrome when clicking on an image: There is no child at offset 1

    XMLWordPrintable

    Details

      Description

      While editing or creating a content object, if we click on an image on the tiny_mce editor we will get the following error on the console:

      tiny_mce_jquery.js:1 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
          at Editor.<anonymous> (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:15735)
          at Dispatcher.dispatch (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:6509)
          at DOMUtils.c (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:167613)
          at j (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:58209)
          at HTMLDocument.y (http://admin.ezp51.vagrant/extension/ezoe/design/standard/javascript/tiny_mce_jquery.js:1:58367)
      (anonymous) @ tiny_mce_jquery.js:1
      dispatch @ tiny_mce_jquery.js:1
      c @ tiny_mce_jquery.js:1
      j @ tiny_mce_jquery.js:1
      y @ tiny_mce_jquery.js:1
      

      Steps to reproduce:

      1. Create a new article
      2. Add an embed image to an XML block
      3. Click on the image

      The error above will be returned.

      The same happens both on a fully updated 5.1 site, or a 5.1 site without any update.
      Browser used: Google Chrome 58.0.3029.81

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: