Tinymce shortcodes within shortcode contents

I am using wp.mce.views.register to create a simple view for my shortcode in the tinymce editor,
this works fine but i am looking for a way to have “nested” shortcodes
e.g.

[column_3]
    [info_box]
        <p>Some info here!</p>
    [/info_box]
[/column_3]

and to have them rendered nicely.

This is simple enough frontend with do_shordcode($shortcode_content); but I havent been able to find an equivalent js/tinymce function.

Do anyone know how to do this if it is possible?

0

Leave a Comment