[英]Jquery assertion and expect for Codemirror editor
I am a newbie to javascript trying to execute code inside codemirror editor. 我是javascript的新手,试图在Codemirror编辑器中执行代码。 I am writing course for html and css with preview and check if the code is correct.
我正在用预览功能编写HTML和CSS的课程,并检查代码是否正确。 I have searched many sites couldn't find solution.
我搜索了许多找不到解决方案的站点。 Where do I begin?
我从哪开始呢?
Try this tool to start with: http://jsfiddle.net/DXk3e/1/ 尝试从以下工具开始: http : //jsfiddle.net/DXk3e/1/
You can see and resize 4 window panes for a live update. 您可以查看和调整4个窗格的大小以进行实时更新。
To download the full code, just append show/
to the url, like: jsfiddle.net/DXk3e/1/show/
要下载完整代码,只需将
show/
附加到URL,例如: jsfiddle.net/DXk3e/1/show/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.