yun77op
yun77op
in case of anyone encountering this error, i will share my problem and the solution. ### problem: it works properly on windows 11, but throws "(DLL) initialization routine failed error"...
http://nej.netease.com/help/index.html 文档可以这里看
add this snippet to your configuration. it's working on my local environment. ``` transform: { "^.+\\.(ts|tsx)$": [`ts-jest`, { tsconfig: 'tsconfig.web.json' }] }, ``` make sure ts-jest consuming the correct tsconfig...
> https://www.codemzy.com/blog/tiptap-pasting-images > > 可以参考这篇文章关于粘贴图片的自定义 onPaste可以使用这种方式绑定事件,但绑定onDrop后,如果从电脑里拖入图片到编辑器,却不会触发onDrop。可以参看 https://discuss.prosemirror.net/t/handle-image-drop-from-file-system/1195 扩展element-tiptap的Image的插件,如果通过handleDOMEvents下的drop可以监听原生drop事件 ``` import { Image } from 'element-tiptap' import { Plugin } from 'tiptap' async function upload(file) { // upload file to server...
same error encountered. the problem is that the building output is umd format with which webpack can't consume well. the solution is adding a new output entry of esm format...
the former is the right way to set the color. i experiment with changing color locally, and it works as expected.
i had been stumbled over this problem, however styled-jsx is used without next.js's companion in my case. i find it's expected which unique className is not generated for custom components...