Ticket #4934 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

  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

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

Change History

comment:1 Changed 5 years ago by fredck

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

Changed 5 years ago by fredck

comment:2 Changed 5 years ago by fredck

  • Keywords Review? added

comment:3 Changed 5 years ago by tobiasz.cudnik

  • Keywords Review+ added; Review? removed

comment:4 Changed 5 years ago by fredck

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

Fixed with [4864].

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