Comments (4)
可以通过配置项path
来指定依赖的第三方组件lib
的位置,不过依赖的CodeMirror模块我已经合并了(在不使用Require.js的情况下,加载合并的CodeMirror模块)。
既然用了Editor.md,一般情况下,大多是不会再用到CodeMirror的,可以直接用Editor.md加载的CodeMirror。
from editor.md.
恩,你的意思我理解!我也能安装起来。谢谢!
我是用的Yii2,用composer安装了Editor.md,安装在vendor/bower目录下,但因为vendor不在web可访问目录下,所以我必须用Yii2的AssetBundle把Editor.md发布出去,发布好的文件在一个随机目录下。
我必须发布Editor.md的整个目录,不能只发布js和css,否则依赖包对应不起来,这时候美中不足的是很多不需要的文件也发布出来了,比如jquery.min.js。
from editor.md.
@Snowpine jquery.min.js
不是动态加载的,所以不用发布,使用你自己目录下的jquery;
我打算把jquery.min.js
等不是动态加载的模块移出lib
目录,这是我的一个疏忽。
from editor.md.
@v1.1.8 fixed.
from editor.md.
Related Issues (20)
- wrong table view
- Katex无法识别公式编号问题
- 加载错误
- 示例图片加载错误
- Spellcheck not working
- 使用HTML的table之后会自动在顶部加很多br HOT 2
- 带基础认证信息的链接问题
- Fullscreen Error
- emoji 怎么在html中替换
- Make left side monospace
- There is an XSS on the editor.md.
- Chrome extension to replace GitHub Markdown editor?
- I want add new block quoate syntax to editor md
- 引入之后一直转圈 HOT 1
- Return value of Typecho\I18n\GetText::translate() must be of the type string, null returned
- Invalidity of TeX in tables(forms)
- 默认全窗口预览的问题 HOT 2
- :heart: icon not rendering in Editor
- flow 流程图 在 markdownToHTML 操作时失效问题
- 大佬能否考虑下加入语法高亮
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 editor.md.