Skip to content

Commit

Permalink
Enable code and link plugin in TinyMCE (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
melefabrizio authored Sep 13, 2022
1 parent db2948a commit b1649f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/fields/wysiwyg.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ function input_head( $field = null ) {
// create wysiwyg
wpautop = tinyMCE.settings.wpautop;
resize = tinyMCE.settings.resize;

tinyMCE.settings.plugins = 'code,link';

tinyMCE.settings.wpautop = false;
tinyMCE.settings.resize = 'vertical';
Expand Down

0 comments on commit b1649f5

Please sign in to comment.