Opened 6 years ago

Last modified 4 years ago

#11968 confirmed Bug

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

Reported by: Artur Delura Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:


Browsers: All

  1. Open sample
  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 6 years ago by Jakub Ś

Status: newconfirmed
Version: 4.03.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.

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

comment:2 Changed 4 years ago by kkrzton

It's basically a problem when replacing 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 
Version 0, edited 4 years ago by kkrzton (next)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy