Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
General Discussions
3
Posts
2
Users
1
Reactions
735
Views
Jul 24, 2023 2:00 pm
How to put the option to add image in the text by tinymce toolbar?
2 Replies
Jul 25, 2023 10:49 am
add code to
functions.php add image to toolbar
add_filter( 'wpforo_editor_settings', function( $settings ){ if ( empty( $settings['tinymce'] ) || ! is_array( $settings['tinymce'] ) ) $settings['tinymce'] = []; $settings['plugins'] = 'compat3x,fullscreen,hr,paste,textcolor,lists,table,visualchars,charmap,anchor,image'; $settings['tinymce']['toolbar1'] = 'fontsizeselect,bold,italic,underline,strikethrough,forecolor,bullist,numlist,hr,link,unlink,blockquote,pre,wpf_spoil,undo,redo,pastetext,source_code,emoticons,fullscreen'; $settings['tinymce']['toolbar2'] = 'cut,subscript,superscript,alignleft,aligncenter,alignright,alignjustify,outdent,indent,removeformat,table,visualchars,formats,charmap,styleselect,anchor,image'; return $settings; });