summernote 如何设置为只读?

从 summernote 的文档看到以下信息。

disable, enable
You can disable editor by API.
$('#summernote').summernote('disable');
If you want to enable editor again, call API with enable.
$('#summernote').summernote('enable');
Font style API

https://summernote.org/deep-dive/#disable-enable

原文地址:https://www.cnblogs.com/F4NNIU/p/8349965.html