codex-team / codex-team/editor.js

Add async to render() function of Block Editor Components

Open
#2,989 3 comments 0 reactions 0 assignees View on GitHub
questionable
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

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:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.