Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2771

Images can not be selected in HTML editor in Chrome 58+

    XMLWordPrintable

    Details

      Description

      How to reproduce

      • Use Chrome 58
      • Open a single page in HTML editor that has an image embedded
      • Click on image
        => NOK: nothing happens, image not selected.

      In the console some errors appear

      The problem also applies to Vivaldi 1.9 which is based on the Chromium render engine.

      The problem has been recognized by TinyMCE, there is no path around updating TinyMCE to fix the problem:
      https://github.com/tinymce/tinymce/issues/3611

      Workaround
      Instead of clicking the image one can drag a bit (klick-drag). This will select the image.

      Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
          at L.<anonymous> (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:10:15605)
          at t.i [as fire] (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:8:21950)
          at L.fire (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:8:23845)
          at h.s (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:10:23568)
          at e (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:2:12676)
          at HTMLHtmlElement.m (https://testing.frentix.com/test7/raw/11052:f2d5bbc7cafa/js/tinymce4/tinymce/tinymce.min.js:2:13016)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnaegi Florian Gnägi
                Reporter:
                gnaegi Florian Gnägi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m