quill icon indicating copy to clipboard operation
quill copied to clipboard

How to wrap all blocks/formats in a DIV element

Open ArsalanSavand opened this issue 4 years ago • 3 comments

I've already seen https://github.com/quilljs/quill/issues/861#issuecomment-239961806. My question is how can I wrap every element in a DIV element. Example:

<div>
  <p>Hello World</p>
<div>

<div>
  <h2>A title</h2>
</div>

<div>
  <blockquote>A testing sentense</blockquote>
</div>

Is it possible?

ArsalanSavand avatar Feb 24 '20 09:02 ArsalanSavand

Any help on this?

ArsalanSavand avatar Mar 10 '20 13:03 ArsalanSavand

I would like to know too, but instead of div I would like to use span and have all the formats like font-size, font-family and color on that span.

gekido2802 avatar Apr 14 '20 18:04 gekido2802

gekido2802

Hi gekido2802,

Did you get any solution to this requirement?

sri8484 avatar May 19 '22 11:05 sri8484

Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide :pray:

quill-bot avatar Apr 17 '24 10:04 quill-bot