Reputation: 748
I would like to style custom shortcode in tinyMCE editor when editing post, just like default WordPress gallery. So in HTML tab there will be shortcode but in Editor tab there will be styled shortcode. Cannot find how does WordPress do it with its gallery.
Upvotes: 0
Views: 1085
Reputation: 372
I think you want to render the shortcode in your tinymce editor. This question was answered before: https://wordpress.stackexchange.com/questions/36568/solution-to-render-shortcodes-in-admin-editor
Upvotes: 1