Comments (5)
OK了,感谢!
from editormd.
感谢建议!
jQuery的问题我试过,加了判断手动载入jQuery,文件总是在页面加载完才载入。
要让后面代码在jQuery加载完再执行的话,又需要其他插件来控制。以后我加上吧。
空代码我会处理的。
from editormd.
https://github.com/DT27/EditorMD/blob/master/Plugin.php#L148
改为
if (typeof jQuery === 'undefined')
document.write("<script src=\"<?php echo $pluginUrl; ?>/lib/jquery.min.js\"></script>");
这样应该没有问题,我之前的插件也是这么处理的
from editormd.
我说怎么之前试一直加载不进来。。。原来是冒号跟斜杠的问题。。。
用这个解决了
window.jQuery || document.write(unescape('%3Cscript%20type%3D%22text/javascript%22%20src%3D%22<?php echo $pluginUrl; ?>/lib/jquery.min.js%22%3E%3C/script%3E'));
马上提交更新
from editormd.
已经提交了,你试下怎么样。
from editormd.
Related Issues (20)
- Chrome浏览器下无法使用任何按钮 HOT 4
- LNMP搭建的网站,阿里云下绑定了两个域名解析到网站,一个域名下编辑器按钮正常,另一个域名下编辑器按钮出现异常如图 HOT 2
- 编辑器布局问题 HOT 16
- LeX公式无法显示 HOT 8
- 已拦截跨源请求:同源策略禁止读取位于 HOT 3
- 使用部分主题后前段文章显示空白的 HOT 2
- 咨询一下代码高亮部分 HOT 1
- 启用接管前台markdown解析器后文章摘要出现异常 HOT 5
- 有些latex公式无法正常显示
- 关于Aria主题的兼容问题 HOT 2
- 在移动设备上EditorMD消失,不显示 HOT 1
- 英文逗号解析bug
- 请问一下支持设置img 的大小以及位置吗 HOT 1
- 表格bug
- icon失效 HOT 1
- 启用插件后导致原有的 highlight.js 失效 HOT 1
- 我用EditorMD遇到的显示问题 HOT 1
- 请问怎么添加缩进功能
- 数学公式问题
- 标题id渲染bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editormd.