我正在尝试使用 summernote
我的应用程序中的编辑器。我在我想修复编辑器的地方使用了 height/minheight, maxheigh 并且不允许它调整大小。
这是我正在处理的代码:
$('#content').summernote({
height: 400,
minHeight: 400,
maxHeight: 600,
});
最佳答案
Summernote 有 disableResizeEditor
选项。如果将此设置为 true,则将无法调整编辑器的大小。这与 height 属性相结合,为编辑器提供了一个固定的高度。
更多信息:https://searchcode.com/codesearch/view/95928611/
我希望这有帮助!
关于Summernote - 获得一个固定的文本区域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30658992/