#21157 closed defect (bug) (fixed)
disapearing class=anything when ctrl+c & ctrl+v in tinymce editor
| Reported by: | thomask | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | TinyMCE | Version: | 3.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
type
Lorem class=anything Ipsum
anywhere. Copy the text and paste it to the WP's WYSIWYG editor. The result is just
Lorem Ipsum
I have tried it with tinymce demo on their site and it works normaly, so it seems that only wp editor is affected.
The same wrong result is with class="anything", when using spaces around equal symbol (class = anything), it works normaly. Seems like some poorly written attemp to remove classes from pasted text (it does not affect id or other tag parameters i have tested)
P.S.: i am using Chrome if it makes some diference
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed that when pasting
Lorem class=anything IpsumandLorem class="anything" Ipsumtheclass=...bit is removed. Works properly if these strings are in the content or were added in the Text editor. Seems like a bug in TinyMCE's 'paste' plugin that ideally will be fixed upstream (patches welcome).