Skip to content

Get plain text from editor #1349

Closed
Closed
@wondering639

Description

@wondering639

Is your feature request related to a problem? Please describe.
Need to send text content to a search engine, like Typesense. According to docs, there are only HTML exports, markdown exports... https://www.blocknotejs.org/examples/interoperability/converting-blocks-to-html

Describe the solution you'd like
A function that returns the complete plain text of the editor, including line breaks and spaces.

Describe alternatives you've considered
Export to HTML, strip HTML. Might work.

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions