quill - Quill中的方程框不完全可见
解决方案
我使用bounds解决了这个问题。这是代码片段:
let quill = new Quill('#editor-container', {
modules: {
formula: true,
syntax: true,
toolbar: '#toolbarOptions'
},
placeholder: 'Compose your question here...',
theme: 'snow',
bounds: '#editor-container'
});
推荐阅读
- javascript - 将当前日期添加到 pdf(在浏览器中打开时)
- android - 如何为垂直搜索栏应用垂直进度可绘制
- javascript - cypress 中命令断言失败时如何在重试逻辑中添加延迟
- r - 根据时间步长对数据进行排序?
- c++ - CMake连接到数组中的每个字符串
- python - Mysqlhook.get_records 将布尔值保存为 b'\00' 和 b'\01' 值,而我需要 tinyint 格式
- c++ - 如何从 QT 的辅助窗口中的 MainWindow 调用函数?
- ios - 关于证书的 Xamarin 推送通知问题
- java - 如何防止TextView被截断
- php - 在php中获取多页表中的表单输入数据