hinesboy / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
http://www.mavoneditor.com/
MIT License
6.38k stars 916 forks source link

[Bug] mavon-editor^3.0.1,报错TypeError: Cannot read properties of undefined (reading '$refs') #866

Open marrgit opened 1 year ago

marrgit commented 1 year ago

nuxtjs3,引入mavon-editor全局组件、版本:“mavon-editor: "^3.0.1",

报错

mavon-editor.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '$refs') at Proxy.editableTextarea (mavon-editor.js:1:15117) at Proxy. (mavon-editor.js:1:8933)

但是使用正常

marrgit commented 1 year ago

snipaste20230519_163022 snipaste20230519_162928 snipaste20230519_163041

marrgit commented 1 year ago

snipaste20230519_164243

freezyh commented 6 months ago

snipaste20230519_163022 snipaste20230519_162928 snipaste20230519_163041 在Nuxt3中如何正确引入使用?

freezyh commented 6 months ago

snipaste20230519_164243

我在Nuxt3中也出现了类似问题

MTTTM commented 6 months ago

web 上面也有这个问题

zhouzhouyaya commented 4 months ago

nuxtjs3,引入mavon-editor全局组件、版本:“mavon-editor: "^3.0.1",

报错

mavon-editor.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '$refs') at Proxy.editableTextarea (mavon-editor.js:1:15117) at Proxy. (mavon-editor.js:1:8933)

但是使用正常

我是报错使用也不正常

zhouzhouyaya commented 4 months ago

web 上面也有这个问题

解决了吗

zhouzhouyaya commented 4 months ago

snipaste20230519_164243

我在Nuxt3中也出现了类似问题

解决了吗