Opened 7 years ago

Closed 7 years ago

#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:


Preview fails in Source View.


  1. Open editor.
  2. Switch to source view.
  3. Click Preview button from toolbar.
  4. 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 (1)

4934.patch (898 bytes) - added by fredck 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by fredck

  • Owner set to fredck
  • Status changed from new to assigned

Changed 7 years ago by fredck

comment:2 Changed 7 years ago by fredck

  • Keywords Review? added

comment:3 Changed 7 years ago by tobiasz.cudnik

  • Keywords Review+ added; Review? removed

comment:4 Changed 7 years ago by fredck

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [4864].

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy