首页 > 解决方案 > Quill中的方程框不完全可见

问题描述

在此处输入图像描述

尝试在我的项目中使用 Quill。我正在使用带有两列的 Bootstrap 类“行”。右手边的列有 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'
        });

推荐阅读