Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10404

Problem Inserting Images Into CKEditor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 10.0.4
    • 4.1.0
    • None
    • None
    • Hippo 10, Google Chrome

    Description

      I am currently experiencing an intermittent issue when inserting images into the CKEditor rich text editor. After selecting the image and adding it, it fails to appear in the rich text editor window. This issue is sporadic, but it anecdotally appears to occur less often if the alt text field is filled out while adding.

      Looking through the JS console, I managed to find the following:

      wicket-ajax-jquery.min-ver-1439405362000.js:1 Wicket.Ajax:  Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: IndexSizeError: Failed to execute 'extend' on 'Selection': 1 is larger than the given node's length., text: (function(){CKEDITOR.instances.idc91.execCommand('insertImage', {f_height:'',f_alt:'',f_uuid:'b642e70b-f42d-4c27-81cb-a81cd744bae6',f_width:'',f_type:'hippogallery:original',f_url:'{path-to-my-image}/training-course-icon.png/hippogallery:original'});})();Wicket.Log.error @ wicket-ajax-jquery.min-ver-1439405362000.js:1
      

      I asked this question in the Google community group here: https://groups.google.com/forum/#!topic/hippo-community/a-panXe8nug

      It appears that this is a bug with CKEditor when rendering in divarea mode on Blink browsers (https://dev.ckeditor.com/ticket/12727). This issue is resolved in CKEditor 4.5.7, so I would request upgrading CKEditor to this version.

      Attachments

        Activity

          People

            asolod Andrey Solod (Inactive)
            sheehybp Brendan Sheehy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: