Opened 11 years ago
Last modified 10 years ago
#11343 confirmed Bug
Drag&drop: inline widgets disappear when forcePasteAsPlainText is set
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: | joel.peltonen@… |
Description (last modified by )
Reported through support channel.
Not sure if related to #11219.
When config.forcePasteAsPlainText
is set, dragging&dropping inline widget results in widget being lost. Either drag&drop should be automatically disabled when config.forcePasteAsPlainText
is set or widgets should not be lost in this very specific case.
A sample with inline widget is attached, drag & drop the widget and see that it is lost.
Attachments (1)
Change History (6)
Changed 11 years ago by
Attachment: | replacebycode.html added |
---|
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:5 Changed 10 years ago by
#12789 was marked as duplicate. That issue however has proposed Fix. If user doesn't provide pull request it would be worth to check it out.
The paste "way" is (or rather will be) the single entry point for inserted content, so the same rules applies. So forcePasteAsPlainText has to apply to widgets too. In this case reasonable solution would be to hide drag handler if forcePasteAsPlainText is on.
On the other hand this option is obsolete, since ACF is a much better filter, so every solution or lack of it is odd.