Ticket #4934 (closed Bug: fixed)
Preview fails in Source View
| Reported by: | tobiasz.cudnik | Owned by: | fredck |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.1 |
| Component: | General | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description
Preview fails in Source View.
Reproduce
- Open editor.
- Switch to source view.
- Click Preview button from toolbar.
- Result: JS error in plugin.js (line 32)
Stack trace
editor.document has no properties
exec()(Object _=Object elementMode=1 element=Object name=editor3)plugin.js (line 32)
exec()(undefined)command.js (line 18)
execCommand()("preview", undefined)editor.js (line 497)
(?)()(Object _=Object elementMode=1 element=Object name=editor3)plugin.js (line 38)
execute()()plugin.js (line 89)
(?)()()tools.js (line 617)
fn()(149)tools.js (line 640)
onclick(click clientX=0, clientY=0)
[Break on this error] body = editor.document.getBody();
Reproduced in FF2, FF3, Chrome.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
