Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show/Hide WYSIWYG (summernote) toolbar on focus/non-focus

I'm using the summernote WYSIWYG editor and on my page there could be several fields that could be edited with WYSIWYG formatting although I'd like to hide the toolbar on all textfields and only show the toolbar when the user have pressed within the textfield for one of the WYSIWYG fields.

like image 692
Kevin Avatar asked Oct 20 '25 02:10

Kevin


1 Answers

You can pass toolbar as false

$('#summernote').summernote({
      toolbar: false,
      .....
});
like image 88
Pravin Shinde Avatar answered Oct 27 '25 07:10

Pravin Shinde



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!