[wp-trac] [WordPress Trac] #32078: TinyMCE View HTML Content in Shortcode
WordPress Trac
noreply at wordpress.org
Tue May 19 16:20:00 UTC 2015
#32078: TinyMCE View HTML Content in Shortcode
-------------------------------------+-------------------------
Reporter: bduclos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2.3
Component: TinyMCE | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Comment (by iseulde):
In the patch above there are two functions with the same name. If you fix
it, there will be problems with the undo levels.
Also not sure about `return content.replace( /<p>\s*<p data-wpview-
marker=/g, '<p data-wpview-marker=' ).replace( /<\/p>\s*<\/p>/g, '</p>'
);`. This should only be an issue if the user adds the markup? If we
remove the correction in the other patch with improvements, we shouldn't
add it back here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32078#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list