Opened 11 years ago
Last modified 9 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: |
Description
Browsers: All
- Open sample http://presets.ckeditor.dev/4.4.1/full-all/ckeditor/samples/replacebyclass.html.
- Select sentence:
Apollo 11 was
in first paragraph. - Open find dialog.
- Click find button.
- In replace tab click 'Replace'.
- 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 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.0 → 3.0 |
comment:2 Changed 9 years ago by
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
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