Skip to content

Add async to render() function of Block Editor Components #2989

@moomoo-dev

Description

@moomoo-dev

Describe a bug.

I'm trying to render HTML from MathJAX, and it requires an await.
The problem is the render function doesn't allow Promise functions because every time I try it tells me it can't append node.

Is there a reason that this isn't allowed? I really have no other way to render this data otherwise

Editor.js version: 2.31.1

Plugins you use with their versions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions