Opened 12 years ago
Last modified 12 years ago
#11117 confirmed Bug
Widget editables - does not prevent from dropping unsuportted markup
| Reported by: | Marek Lewandowski | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.3 |
| Keywords: | Cc: |
Description (last modified by )
Widget editables - does not prevent from dropping unsuportted markup
since: 4.3 until major
Currently you are able to drop fancy html markup inside content editable. That allows you to put headers, quotes etc. It's caused by browsers builtin drag'n'drop support.
- open any image2 sample (/samples/plugins/image2/image2.html)
- make following selection
[Broadcasting and quotes Broadcast on live TV to a world-wide audience, Armstrong stepped onto the lunar surface and described the event as: One small step for [a] man, one giant leap for mankind.]
like on that image
- drag it into image widgets content editable
Expected result:
Dragging should be either blocked or stripped.
Current result:
All the markup is placed within editable.
Related issues:
#11115 - Widgets are not filtered by ACF when pasting
Attachments (2)
Change History (4)
Changed 12 years ago by
| Attachment: | widgetDropContent.png added |
|---|
comment:1 Changed 12 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 12 years ago by
| Milestone: | CKEditor 4.3.1 |
|---|---|
| Status: | new → confirmed |
This is a part of bigger feature which we're missing - DnD support for general content.

Sample result