Changes between Initial Version and Version 1 of Ticket #7392, comment 37
- Timestamp:
- 07/24/2013 08:34:15 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7392, comment 37
initial v1 1 1 In .4.diff there is no need to run the content through switchEditors.pre_wpautop() again. We wait for TinyMCE to load, then we call editor.save() which serializes the iframe html, runs it through all filters including pre_wpautop() and places it in the textarea. At this point the content of the textarea is exactly the same as when autosave retrieves it (if the user didn't type anything). 2 2 3 We need to load the content into TinyMCE and then save it back to the textarea as when serializing the iframe html the order of tag attributes may change and trigger a false positive (i.e. `< a title="..." src="...">` would become `<asrc="..." title="...">`).3 We need to load the content into TinyMCE and then save it back to the textarea as when serializing the iframe html the order of tag attributes may change and trigger a false positive (i.e. `<img title="..." src="...">` would become `<img src="..." title="...">`).