Ticket #10681 (closed Bug: fixed)
No way to disable filtering of "embed" tag
|Reported by:||khink||Owned by:||rochecompaan|
|Keywords:||TuneUp investigate||Cc:||nueces, davilima6|
Found in version 1.1rc12 (with Plone 4.0b4).
When trying to save HTML which contains en "embed" tag inside an "object" tag (see HTML in the attachment, embed.html.gz), there is no way (that i can see) to prevent filtering of the "embed" tag. The tag is filtered out when switching back from HTML view to WYSYWIG view.
See discussion on the plone-users mailing list: http://comments.gmane.org/[…]/108322
Steps to reproduce:
0) Install a fresh Plone 4.0b4 instance from buildout.
1a) Remove "embed" and "object" from "Dangerous tags" list.
1b) Remove "embed" and "object" from list of tags whose contents are stripped.
After this, and after reloading the edit form of the page where i want include the attached file in the HTML, i switch to HTML mode and include the attached HTML. When switching back from HTML view to WYSYWIG view, the "object" tag is saved, including the "param" tags, but the "embed" tag is still filtered.
1c) Tried adding "param" and "object" to the list of custom tags, but that doesn't work, probably because thay are defined in XHTML, and the "custom" list is intended for tags that are not. Note: "embed" is in the list of custom tags.
I seem to have run out of options on the @@filter-controlpanel.
2) ZMI > portal_transforms:
2a) safe_html: Added "embed" to valid_tags (value 1 to indicate it should have a separate closing tag). "Object" is already there. Reloaded edit page, no effect. Clicked "reload transforms" tab in ZMI and reloaded edit page, no effect.
2b) safe_html: Set "disabled_transform" to 1, clicked "reload transforms", reloaded edit page. No change. Is this transform used at all?
Also reported as http://plone.org/products/tinymce/issues/164
- Priority changed from minor to major
- Status changed from closed to reopened
- Resolution invalid deleted
- Keywords TuneUp investigate added
- Milestone changed from 4.0 to 4.x
- Owner set to rochecompaan
- Status changed from reopened to new