Opened 15 years ago
Closed 13 years ago
#5473 closed Bug (wontfix)
Dragging and dropping content from Word onto editor bypasses 'on paste' filters
Reported by: | Daniel Rendall | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.0 |
Keywords: | Cc: | camden.michael@… |
Description
In both IE and Firefox, if you drag content from a document open in Word into the editor (rather than using cut and paste), it doesn't trigger the pasteFromWord filter.
To reproduce:
1) Create a short Word document (I'm using Word 2007) - optionally enable the 'smart tags' feature and enter some content that will be marked up as a smart tag.
2) Open the demo editor http://ckeditor.com/demo in either IE or Firefox, delete all of the existing content.
3) Highlight the content in Word, click it and drag to the demo editor window then release.
4) Observe that the usual Word cleanup doesn't happen - if you view source you will see a lot of spurious XML markup in the various Office namespaces.
5) If you copy and paste the content instead, the cleanup will happen as expected.
Change History (5)
comment:1 Changed 14 years ago by
Cc: | camden.michael@… added |
---|
comment:2 Changed 14 years ago by
Keywords: | drag drop cleanWord added |
---|---|
Version: | 3.2 → 3.5.3 |
comment:3 Changed 14 years ago by
Keywords: | drag drop cleanWord removed |
---|---|
Status: | new → confirmed |
Version: | 3.5.3 → 3.0 |
@mrfr0g please note that the version component describes the lowest version where the error occurs.
comment:4 Changed 14 years ago by
Same problem with config.forcePasteAsPlainText
- this option is not honoured during drag&drop operation.
comment:5 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | confirmed → closed |
We relied on "beforepaste" event for the clipboard filtering feature, while for drag&drop, there's unfortunately no equivalent event for us to hook-in, for this sake it becomes impossible to implement for us right now.
Still present in latest version