Opened 10 years ago

Last modified 8 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 10 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 8 years ago by kkrzton

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 8 years ago by kkrzton (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy