-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
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
List Items rendered without <ul> or <li> #207
Comments
I actually answered myself in This Stack Overflow Question. It is still seemingly unexpected behavior that this only renders inline styles and not class styles. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ive tried the following three methods:
This is the output:
This is the DOM:
As you can see:
<li>
but no<ol>
or</ol>
which means every subsequent list will continue the numbering order after the last<li>
in the DOM. If I had an<ul>
before hand it would not start at 1.<ol>
and</ol>
tags correctly but removes my styles.<ol><li></li></ol>
for each block which means the numbering resets for each block.I am just trying to mimic the functionality as seen in the DraftJS editor on the left.
If I remove any checking for list blocks in the
convertToHTML
section my lists are rendered correctly in the dom but are not styled and have no bullet points (list-style-type css property).The text was updated successfully, but these errors were encountered: