We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<div id="editor"> <p>Hello World!</p> <p>Some initial <strong>bold</strong> text</p> <p><br></p> </div>
want my output like this:
< div id="editor"> <span>Hello World!</p> <span>Some initial <strong>bold</strong> text</p> <span><br></span> < /div>
The text was updated successfully, but these errors were encountered:
HI ^^, you can redifine the block blots to use span instead of p tag
import Quill from 'quill' const Block = Quill.import('blots/block') Block.tagName = 'SPAN' export default Block
You then need to register your new blot to quill so he use yours and not the default one.
Quill.register(Block, true)
And now you have span instead of p
Sorry, something went wrong.
No branches or pull requests
want my output like this:
The text was updated successfully, but these errors were encountered: