Opened 7 years ago

Closed 7 years ago

#6358 closed Bug (worksforme)

Creating and inserting a new element fails in Webkit if editor not focused

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 3.4.2
Component: General Version: 3.4.1
Keywords: Cc:

Description

This is actually the same ticket as #6178. It's still not working for me in Safari 5.0.2 @ Win 7.

TypeError: Result of expression 'marker' [null] is not an object.
/ckeditor/_source/plugins/wysiwygarea/plugin.js:93

Steps to reproduce

Without focusing the editor, do the following:

  1. Open _samples/replacebyclass.html
  2. Click on "Insert Special Character" button and select some character, press "Ok".

or

  1. Open _samples/api.html
  2. Press "Insert HTML"

Attachments (1)

6358.patch (624 bytes) - added by Tobiasz Cudnik 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Wiktor Walc

Status: newconfirmed

Changed 7 years ago by Tobiasz Cudnik

Attachment: 6358.patch added

comment:2 Changed 7 years ago by Tobiasz Cudnik

Status: confirmedpending

This isn't reproducible after [5907], although it wasn't fixed by [5882] as stated in #6178.

Drown back is that after [5907] we always have to focus the editor before making any change.

comment:3 Changed 7 years ago by Tobiasz Cudnik

Resolution: worksforme
Status: pendingclosed

Marking as WFM.

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