Skip to content

How are nested tags handled (ol inside a div)? #1749

Description

@bharatn

Hey EditorJS team,

First of all. great tool. I have more faith in this after abandoning draftJS and slateJS.

I have this html

<div class="classNameX">
		<ol>...
</div>

I am using the list plugin

The rendered HTML is

<div class="ce-block__content">
     <ol class="cdx-block cdx-list cdx-list--ordered"....

ol tag is fine but my div tag with the className is missing in the generated HTML.

div tag with className is also missing in the save output. ol is fine.

"<ol><li>....."

Am i missing another plugin to handle div's? essentially I have few divs in the html and none of them are in the render or save output.

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions