Skip to content
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

Uncaught TypeError: Cannot read property 'value' of undefined #11

Closed
cppfuns opened this issue Jun 28, 2019 · 6 comments
Closed

Uncaught TypeError: Cannot read property 'value' of undefined #11

cppfuns opened this issue Jun 28, 2019 · 6 comments

Comments

@cppfuns
Copy link

cppfuns commented Jun 28, 2019

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
codemirror.min.js:1932 Uncaught TypeError: Cannot read property 'value' of undefined
    at Function.fromTextArea (codemirror.min.js:1932)
    at init.setCodeMirror (editormd.min.js?1.0:1)
    at editormd.min.js?1.0:1
    at HTMLScriptElement.editormd.isIE8.script.onload (editormd.min.js?1.0:1)

访问地址:http://wiki.bcskill.com/?thread-25.htm

麻烦您看下这是什么问题,新手

@LiarOnce
Copy link
Member

这个是 Editor.md 的历史遗留问题,目前只知道不影响使用。。。。。。

@cppfuns
Copy link
Author

cppfuns commented Jul 2, 2019

那只装这一个插件,前台的代码不高亮,是姿势不对么?还是说,本来就得装个别的插件?

@LiarOnce
Copy link
Member

LiarOnce commented Jul 3, 2019

编辑器使用的是Prism.js高亮,需要自己插入代码

@cppfuns
Copy link
Author

cppfuns commented Jul 4, 2019

编辑器使用的是Prism.js高亮,需要自己插入代码

不熟悉前端,能说下在哪加不,或者给个例子? 感谢您分享的这个插件,很给力~

@LiarOnce
Copy link
Member

LiarOnce commented Jul 8, 2019

你可以尝试安装这款插件(实现很简单,所以未上架),下载解压后只需要将插件文件夹名称改为gmchina_xiuno_prismjs即可:
https://github.com/GamemakerChina/gmchina_xiuno_prismjs

@cppfuns
Copy link
Author

cppfuns commented Jul 11, 2019

感谢回答~

@cppfuns cppfuns closed this as completed Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants