Unordered list icon in the toolbar produces an ordered list element
See original GitHub issueSteps for Reproduction
- Visit
https://stackblitz.com/edit/typescript-pdcugs
- Step Two
Open the console and look at the list element
Expected behavior:
That the unordered list should have <ul>
tag
Actual behavior:
The unordered list has a <ol>
tag which is a ordered list. It looks like a unordered list in the editor, because of the replaced numbers with bullets, but pasting out the html content makes it to an ordered list.
Platforms:
Chrome - Version 79.0.3945.130 (Official Build) (64-bit)
Version:
2.0.0-dev.4
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:11
Top Results From Across the Web
<ol>: The Ordered List element - HTML - MDN Web Docs
The HTML element represents an ordered list of items — typically rendered as a numbered list.
Read more >How to set format list (ordered,bullet) ,indent(in,out), text color ...
I can't execute this command using javascript. it gives parameter error. I am using https://quilljs.com/docs/formats/ this way to pass format.
Read more >UL (Unordered List)
An unordered list typically is a bulleted list of items. HTML 3.0 gives you the ability to customise the bullets, to do without...
Read more >Lists and Procedures - Paligo
Also known as numbered lists gives each list item a number prefix. Use these for lists where the order is important, but it...
Read more >6. HTML List - Google Sites Examples
Organize Google Sites List by creating Bullet or Numbered lists of items in Google Sites through the WYSIWYG menu bar. Bullet List or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have written a function to convert the
tag to
. Use this just at the place where you take data from quill and store it.
@47arathore Thanks for your efforts. I’m sure future viewers would find that helpful.
Like @kjantzer I moved over to tiptap. It’s so much easier and much more powerful functionality. In-fact I’m able to write my own extensions much more easily. I recommend everyone to switch over. I consider QuillJS to be legacy software. 😄