Custom Fields
Re-Envisioned
Support General add custom button to wsiwyg field

  • Creator
    Topic
  • #18411

    Hi
    Could you please advise on the best/easiest method to add a custom button to the wysiwyg field ?
    Thanks
    Reece

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #18412

    This is possible with the standard wp-editor by using the filter ‘mce_external_plugins’ then calling a custom plugin .js file. How can I do something similar with the wysiwyg field ?

    #18430
    Anh Tran
    Keymaster

    Hi,

    The wysiwyg editor uses wp_editor() function to render the editor. So it might use the same hooks as the default editor (I’m not 100% sure about that, this need to be checked and confirmed). You can try disable Gutenberg first, since tinyMCE in Gutenberg is heavily customized and hooks might not work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
grid gear info copy caret-up caret-down trash