Opened 18 years ago
Closed 12 years ago
#756 closed Bug (fixed)
FF: ForcePasteAsPlainText doesn't work in all cases
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Firefox | Cc: |
Description (last modified by )
The problem reported in bug #1214941 "copying and pasting from word doesn't force it as plain text, even though I have that option turned on"
http://sourceforge.net/tracker/index.php?func=detail&aid=1214941&group_id=75348&atid=543653
was only patched for CTRL+V paste method.
The problem still happens if you paste using "Edit menu --> Paste", if you paste dragging from another window or if you paste using COMMAND+V (in Mac) or MAYS+INS (in Linux).
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1516302&group_id=75348&atid=543653
Change History (12)
comment:1 Changed 18 years ago by
Reporter: | changed from Martin Kou to jmiguelsamper@… |
---|
comment:2 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 17 years ago by
Keywords: | Confirmed Firefox added |
---|---|
Version: | → SVN |
I can confirm this bug partially.
Dragging text from enables "Paste as Plain Text" window. CTRL+V as said above also enables the window.
Only pasting using Edit Menu+Paste doesn't force paste as plain text.
comment:4 Changed 17 years ago by
I'm having the same problem as well. Depending on how you do it, some paste operations bypass the ForcePasteAsText config. Firefox on Windows-- Menu: Edit > Paste Firefox on Mac-- Menu Paste and Command + V
I know this will be difficult to fix but consistent behavior for things like pasting is very important for most applications built with FCK.
comment:5 Changed 16 years ago by
Priority: | Normal → High |
---|
I can confirm this issue as well. Past from FF Edit Menu does not strip out the formatted text even though FCKConfig.ForcePasteAsPlainText = true in my config.
comment:6 Changed 16 years ago by
I can also now confirm that right click paste also does not strip out formatted text even though FCKConfig.ForcePasteAsPlainText = true in my config.
This is a rather large issue.
Drag/Drop and CTRL V seem to show the add text window every time, but menu Edit | Paste and right click Paste puts all formatting into the textarea including links.
For some sites this could be a security risk.
comment:7 Changed 16 years ago by
You could fix this issue in Firefox 3+ using the new event onpaste. See
comment:8 Changed 15 years ago by
Here is related ticket, problem this also appear in Ckeditor http://dev.fckeditor.net/ticket/5448
comment:9 Changed 12 years ago by
Still reproducible in v3 (on at least latest FF), but fixed in v4.
comment:10 Changed 12 years ago by
Keywords: | SF removed |
---|---|
Version: | SVN (FCKeditor) - Retired → 3.0 |
comment:11 Changed 12 years ago by
Still reproducible in v3 (on at least latest FF), but fixed in v4.
- set
config.forcePasteAsPlainText = true;
- Open replacebycode sample
- Select text above editor -
editing area, provided by the Wysiwygarea plugin.
- Drag and drop it
Result:
Word Wysiwygarea is still bold.
comment:12 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I'm closing this ticket. Currently, only one issue left and this is lack of handling for drag&drop pasting. Unfortunately this method doesn't fire native paste events or our pastebin can't grab this content. This needs some testing.
Anyway - different issue. See #9413.
The "Edit menu" and dragging ways issues will be really hard to fix. Let's investigate it better.
Moved from SF. Original poster: fredck