jtsternberg / Shortcode_Button

Tinymce and Quicktag buttons for outputting shortcodes. Built to work with CMB2.
81 stars 7 forks source link

Shortcode button on WYSIWYG in CMB2 repeater field #21

Open JiveDig opened 7 years ago

JiveDig commented 7 years ago

Button is not showing up in a repeatable group field with a WYSIWYG sub field.

JiveDig commented 7 years ago

Actually, the buttons seems to appear on Text mode, but not Visual.

JiveDig commented 7 years ago

Man, sorry for blowing it up here. On my page template I was removing the editor via: remove_post_type_support('page', 'editor');

It looks like Shortcode_Button relies on the editor in order to set itself up. I'll have to look for a way to manually fire it because my template doesn't use the editor, only a CMB2 repeater with WYSIWYG's