[wp-trac] [WordPress Trac] #42618: wp.mce.views API not using registered shortcode functions

WordPress Trac noreply at wordpress.org
Sat Nov 18 10:09:03 UTC 2017


#42618: wp.mce.views API not using registered shortcode functions
---------------------------+-----------------------------
 Reporter:  netsurfer2705  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  TinyMCE        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 This is a follow-up to #21812.

 Hi @all!
 Not sure if this is the right place to post, but could not find a better
 one. Just a few words why I am posting here: I write a plugin that extends
 the default/ core gallery shortcode (by remove/add_shortcode ('gallery')).
 So one of the "problems" with the whole 'wp.mce.views' API is, that it
 completly ignores/ bypass any shortcode functions (registered with WP). So
 to say it establishes its own shortcode functions, which imho cannot be
 useful. As a user I would expect, that every view represents the correct
 output of any shortcode in the content, which is currently not the case.
 Unfortunately I am not the Javascript Guru to correct these
 "inappropriate" behaviour. So I am hoping that people with the needed
 knowledge will find a proper solution for this, espacially @koopersmith
 who seems to have invented this "system".
 Beside this hope I would be glad if anyone could give me some advice/
 hint, how to circumvent this problem and make views use of the proper
 shortcode function.
 Many thanks in advance!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42618>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list