quarky
quarky

Reputation: 748

How to style custom shortcode in WordPress editor

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

Answers (1)

Steffen Görg
Steffen Görg

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

Related Questions