Skip to content

How to return #text nodes as unstyled content block? #115

@igor-sysoev

Description

@igor-sysoev

I have #text nodes in my html and they don't get displayed at all. I tried returning this in my custom chunk rendererer to no avail:

return {
 type: "unstyled",
 mutability: 'MUTABLE',
 text: node.textContent
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions