Opened 11 years ago

Last modified 11 years ago

#11171 closed Bug

No checkWidgets after editor#insertHtml — at Version 5

Reported by: Alfonso Martínez de Lizarrondo Owned by: Piotrek Koszuliński
Priority: Must have (possibly next milestone) Milestone: CKEditor 4.3.1
Component: General Version: 4.3
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

TC1

Use the API sample and add the image2 plugin, now insert an image with the textarea to test the API and that image can't be edited because it isn't a widget.

TC2

Go to placeholder sample and execute:

CKEDITOR.instances.editor1.insertText( '[[foo]]' )

Text will be upcasted to widget, but widget won't be initialized on it.

Workaround

After inserting HTML/text call:

editor1.widgets.checkWidgets()

Change History (5)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Description: modified (diff)
Milestone: CKEditor 4.3.1
Status: newconfirmed
Summary: Images inserted with the API can't be edited if image2 is usedNo checkWidgets after editor#insertHtml

Another case - insert template with image - image won't be a widget (actually, it will be gone, but due to: #11170).

comment:2 Changed 11 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: confirmedassigned

comment:3 Changed 11 years ago by Olek Nowodziński

cc

comment:4 Changed 11 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:5 Changed 11 years ago by Piotrek Koszuliński

Description: modified (diff)
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