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 )
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
Description: | modified (diff) |
---|---|
Milestone: | → CKEditor 4.3.1 |
Status: | new → confirmed |
Summary: | Images inserted with the API can't be edited if image2 is used → No checkWidgets after editor#insertHtml |
comment:2 Changed 11 years ago by
Owner: | set to Piotrek Koszuliński |
---|---|
Status: | confirmed → assigned |
comment:4 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 11 years ago by
Description: | modified (diff) |
---|
Another case - insert template with image - image won't be a widget (actually, it will be gone, but due to: #11170).