我可以在 Quill 编辑器中的段落中添加 class 吗?

Can I add a class to paragraphs within the Quill editor?

有没有办法让 Quill 编辑器在每个 div 上插入一个 class,这样我就可以用 CSS 而不是 br 标签来调整段落间距?

这是示例之一,它使用了那些 brs:

<div class="ql-editor" id="ql-editor-1" contenteditable="true">
  <div>
      <span style="font-size: 18px;">One Ring to Rule Them All</span>    
  </div>
  <div>
    <a href="http://en.wikipedia.org/wiki/One_Ring">http://en.wikipedia.org/wiki/One_Ring</a>
  </div>

  <div><br></div>

  <div>Three Rings for the <u>Elven-kings</u> under the sky,</div>
  <div>Seven for the <u>Dwarf-lords</u> in halls of stone,</div>
  <div>Nine for <u>Mortal Men</u>, doomed to die,</div>
  <div>One for the <u>Dark Lord</u> on his dark throne.</div>

  <div><br></div>

  <div>In the Land of Mordor where the Shadows lie.</div>
  <div>One Ring to <b>rule</b> them all, One Ring to <b>find</b> them,</div>

  <div>One Ring to <b>bring</b> them all and in the darkness <b>bind</b> them.</div>
  <div>In the Land of Mordor where the Shadows lie.</div>
</div>

<br> 标签只用在空行上,它们不是可选的。影响 Quill 行的 CSS 的最佳方法是使用后代选择器。