Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-104

Javascript error when tabbing "fast" through blocks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Neutral
    • None
    • 1.0.2
    • None

    Description

      While tabbing "fast" through blocks several errors show up in the browser console like the following

      TypeError: Cannot read property 'getData' of null
          at aCi.oCi [as vqc] (TextBlockWidget.java:383)
          at eDi.fDi [as Pc] (TextBlockWidget.java:80)
      

      Apparently they do not impair the editor functionality but it looks easy to get rid of them, e.g. by checking ckeditor is not null or increase the delay at

        ckEditor.on("change", event -> changeHandlerJob.schedule(100));
      

      at info.magnolia.editor.gwt.client.body.TextBlockWidget#initializeInlineEditor

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD