Opened 17 years ago
Closed 14 years ago
#2436 closed Bug (worksforme)
Bold / italic formatted spaces copied from Word are stripped out
| Reported by: | Steve Harwood | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Project : MediaWiki+FCKeditor | Version: | FCKeditor 2.6.3 |
| Keywords: | HasPatch | Cc: | simon.bruce@…, Steve Harwood |
Description
See attached MS Word file, where a space between two words has been formatted as bold (but the words aren't bold themselves).
- Copy the paragraph from Word.
- Paste into FCKEditor using "Paste from Word"
- "Ignore Font Face definitions" and "Remove Styles definitions" are both checked.
- Result: <p><div>This is atest</div></p> (the space has been stripped out)
Tested in IE7 and Firefox 3, using Windows XP and Word 2003.
Attachments (2)
Change History (7)
Changed 17 years ago by
| Attachment: | TestDoc.doc added |
|---|
Changed 17 years ago by
| Attachment: | fck_paste.diff added |
|---|
comment:1 Changed 17 years ago by
I've added a diff file that works for us. I hope this is useful.
I changed the code so that it changes any blank tag with white space in it (eg "<b> </b>" to be a single space and any blank tag without space in it to be simply a blank string (so "<b></b>" would be converted to "").
comment:2 Changed 17 years ago by
| Cc: | simon.bruce@… added |
|---|
comment:3 Changed 17 years ago by
| Cc: | Steve Harwood added |
|---|
comment:4 Changed 17 years ago by
| Keywords: | Confirmed added |
|---|
comment:5 Changed 14 years ago by
| Keywords: | HasPatch added |
|---|---|
| Resolution: | → worksforme |
| Status: | confirmed → closed |
FCKEditor + MediaWiki is no longer supported

Diff file that works for us.