Skip to content

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

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions