Skip to content

Converting blocks to plain text #1530

@ClementEXWiki

Description

@ClementEXWiki

In the same vein as editor.blocksToMarkdownLossy and editor.blocksToHTMLLossy, it would be nice to have a editor.blocksToPlainTextLossy converter.

The goal would be to allow converting a set of blocks to plain text, without any particular formatting. Use cases are various, the current one I have is to extract plain text from blocks to make a summary.

Would that be possible? Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions