[wp-trac] [WordPress Trac] #30094: wp.mce.views.toViews() not handling nested shortcodes
WordPress Trac
noreply at wordpress.org
Sun Nov 2 23:39:53 UTC 2014
#30094: wp.mce.views.toViews() not handling nested shortcodes
--------------------------+-----------------------------------------
Reporter: csixty4 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses: javascript, administration
--------------------------+-----------------------------------------
Comment (by azaozz):
Yeah, nested shortcodes are "evil" :)
Don't see a straightforward way to add some sort of "priority" when
registering views. Would be nice to have something similar to the PHP
filters and actions, default priority 10, plugins can choose higher or
lower. Also if the `[a]` shortcode was registered first, we will have to
ensure that the `[audio]` shortcode is parsed. Ideas for a patch welcome.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30094#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list