nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
17.19k stars 1.75k forks source link

Uncaught TypeError: this.ctx is undefined #2334

Open jack9603301 opened 2 years ago

jack9603301 commented 2 years ago

Describe the bug

Implement toast editor integration under the framework of wordpress's Block Editor, use the React Editor wrapper, and use the chart extension to report this error

To Reproduce

Using a method call like this repo, reporting a bug within the wordpress framework, it can be determined that the wordpress Block Editor uses the React framework, since other extensions and wrappers are working fine.

https://github.com/jackworkshop/WP-ReliableMD

Expected behavior

Render the chart normally

Screenshots

图片

jwlee1108 commented 2 years ago

@jack9603301

I'm so sorry for the late reply. Can you share your environment in more detail? (version and dependenciesa..) or If you can make an environment with codesandbox to reproduce, it'll be good for us.