6
votes

Is it possible to change shortcode appearance in Wordpress TinyMCE editor? One of my clients has no HTML knowledge and it's really hard to explain him what not to edit on subpages.

By default, shortcodes look like this:

Default view

And I want to achieve this:

Desired view

Does TinyMCE support any kind of custom filtering?

1

1 Answers

3
votes

Sounds like you should use SyntaxHighlighter plugin with TinyMCE - Adding SyntaxHighlighter to TinyMCE

After you integrate, create new brush that will color [shortcode].