woodpeng
woodpeng
I uncounted the same err. I import the remark-slate with: `const slate = require('remark-slate');` Then resolve the error with: ``` unified() .use(remarkParse) .use(slate.default) ```
> > Since my project using CommonJs instead of ESM, I have to use 'require' to import the module. I am not sure whether this change caused the err, then...
This is probably caused by the onKeydown/up event handling for CJK. Recently, I fixed a similar issue in my project using onKeyPressed event instead of onKeyDown/up.