Opened 3 years ago

Last modified 16 months ago

#11968 confirmed Bug

Error in dialog box when trying to replace found text with empty block.

Reported by: a.delura Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

Browsers: All

  1. Open sample http://presets.ckeditor.dev/4.4.1/full-all/ckeditor/samples/replacebyclass.html.
  2. Select sentence: Apollo 11 was in first paragraph.
  3. Open find dialog.
  4. Click find button.
  5. In replace tab click 'Replace'.
  6. Click close.

Actual result: There is an error in console: Uncaught TypeError: Cannot read property 'type' of null ckeditor.js:139

Plase note: similar to #11423

Change History (2)

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version changed from 4.0 to 3.0

Problem can be reproduced from CKEditor 3.0 in every browser. In versions before 3.6.1 you need to write selected text into find dialog but you will get same result.

Error:
Message: TypeError: startNode is null
Line: 1633
URI: /ckeditor4/core/dom/range.js

comment:2 Changed 16 months ago by k.krzton

It's basically a problem when replacing text (with empty text) which starts in one node and ends in another or text containing more than one node. Confirmed also in 4.5.6 on Chrome 47.0.2526.73 (Ubuntu).

Uncaught TypeError: Cannot read property 'type' of null          ckeditor.js:144 
Last edited 16 months ago by k.krzton (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy