New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图片上传的问题 #184
Comments
初始化编辑器的代码是:
|
这个问题有解了吗 |
你确定是publie?没有乒协错误? |
DocConfig.pubile 这是我前文定义的一个对象。按理说它是没问题的,因为编辑器的确能初始化,只是某些按钮不能用。像插入一级二级标题这些倒能用 |
我也碰到这个错误,解决没有呢? |
知道了,定义的editormd变量不能用”editormd“,与全局变量editormd冲突 |
imageUploadURL : "ImgUpload" |
@star7th 你这个问题解决了吗?我也遇到类似的问题: |
@zhenqicai 手动引入插件的js。应该是自动引入出错了所以要手动。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我集成到一个web程序里后,编辑器初始化正常,点击插入标题这些按钮可以用,但点击添加图片的时候,则提示“Uncaught TypeError: Cannot set property 'imageDialog' of undefined”。编辑器初始化的时候已经添加了配置“
imageUpload : true,
imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
imageUploadURL : "ImgUpload",
不过错误依旧。这有可能是什么引起的?
The text was updated successfully, but these errors were encountered: