Skip to content

Default TIptap Nodes uses tiptap-php new names such as hardBreak #26

@lyonperlas-essilor

Description

@lyonperlas-essilor

Expected Behavior

Drafted JSON from a storyblok content should support the new richtext's tiptap node types such as hardBreak, horizontalRule, tableCell, etc.

Example portion of json with a richtext component with a content of a pasted new line should accept:

json { "type": "hardBreak" }

Current Behavior

The current json don't parse the node since the json returns

json { "type": "hard_break" }

Steps to Reproduce

  1. Create a content with a richtext component.
  2. Paste a text inside the richtext with a new line, add a table and a horizontal rule.
  3. Save and click Draft JSON

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