Ticket #4111 (closed Bug: fixed)
JS error while applying style
| Reported by: | arczi | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | Core : Styles | Version: | |
| Keywords: | Firefox Confirmed Review+ | Cc: |
Description
Steps to reproduce:
- Open 'replacebyclass'
- Select all text using mouse
- Click Bold
- Click Bold one more time
- Select "Heading 1" from Format combo
Result:
node is null http://localhost/edytor/CKEditor/trunk/_source/core/dom/range.js Line 1369 anonymous()range.js (line 1369) anonymous()range.js (line 1574) anonymous()plugin.js (line 75) applyBlockStyle()plugin.js (line 680) anonymous()plugin.js (line 130) applyStyle()plugin.js (line 1200) anonymous()plugin.js (line 115) anonymous()plugin.js (line 58) anonymous()plugin.js (line 257) anonymous()plugin.js (line 65) anonymous()tools.js (line 505) anonymous()tools.js (line 512)
It is not an regression.
Attachments
Change History
comment:1 Changed 4 years ago by garry.yao
- Keywords Firefox Confirmed added
- Status changed from new to assigned
- Owner set to garry.yao
comment:3 Changed 4 years ago by fredck
- Keywords Review- added; Review? removed
The new "marker" variable may not always exist and a new error now happens. Because of this, the new line 502 must look like:
marker && marker.remove();
Note: See
TracTickets for help on using
tickets.
