gpt4 book ai didi

javascript - 已识别的 quill 工具栏类列表

转载 作者:搜寻专家 更新时间:2023-10-31 22:02:11 24 4
gpt4 key购买 nike

quill 模块的文档指出:

...you can manually create a toolbar in HTML, and pass the DOM element or selector into Quill. The ql-toolbar class will be added to the toolbar container and Quill attach appropriate handlers to and elements with a class name in the form ql-${format}. Buttons element may optionally have a custom value attribute.

下面的例子包括

<button class="ql-bold"></button>
<button class="ql-script" value="sub"></button>
<button class="ql-script" value="super"></button>

是否有我可以引用的所有公认的 ql-${format} 类的列表?在 Toolbar documentation section 中列出这些内容的表格真的很有帮助.

最佳答案

列表supported formats .

example包含所有工具栏选项的 HTML。

关于javascript - 已识别的 quill 工具栏类列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40347908/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com