Opened 15 years ago

Closed 15 years ago

#4934 closed Bug (fixed)

Preview fails in Source View

Reported by: Tobiasz Cudnik Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: CKEditor 3.1
Component: General Version:
Keywords: Confirmed Review+ Cc:

Description

Preview fails in Source View.

Reproduce

  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 Frederico Caldeira Knabben 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Owner: set to Frederico Caldeira Knabben
Status: newassigned

Changed 15 years ago by Frederico Caldeira Knabben

Attachment: 4934.patch added

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review? added

comment:3 Changed 15 years ago by Tobiasz Cudnik

Keywords: Review+ added; Review? removed

comment:4 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [4864].

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