Comments (7)
@lenbo-ma 这应该在你提交的pull request中得到解决了吧?我已经合并你的pull request。
from editor.md.
目前在editor.md加载完成(onload)之前不能立即调用实例的任何方法,要么在onload配置选项的回调方法内调用。
from editor.md.
那是否可以在调用previewing函数进行预览时,先检查是否已经将编辑器内的markdown渲染到预览区。我看到previewing函数只是在控制右侧预览区的布局
在 2015年2月19日 下午4:28,pandao [email protected]写道:
目前在editor.md加载完成(onload)之前不能立即调用实例的任何方法,要么在onload配置选项的回调方法内调用。
—
Reply to this email directly or view it on GitHub
#10 (comment).
from editor.md.
因为Editor.md依赖的模块是动态加载的,所以在onload之前不要立即调用实例对象的成员方法。
from editor.md.
配置选项要么一步到位,要么在onload选项的回调函数里调用。
from editor.md.
嗯,我明白是模块是动态加载的. 我是说加入watch参数初始时false。初始化完成后。手动点击页面上的一个按钮触发了previewing函数,
此时markdown并未渲染, 所以出现了空白。不知道是否有全局变量标记markdown是否渲染, 如果有,就可以在这个函数中做一下处理
2015-02-19 16:35 GMT+08:00 pandao [email protected]:
配置选项要么一步到位,要么在onload选项的回调函数里调用。
—
Reply to this email directly or view it on GitHub
#10 (comment).
from editor.md.
我知道你说的是什么意思了,我这边已经改过来了。
from editor.md.
Related Issues (20)
- [TOC]目录要怎么样解析成html
- 代码块中包含<textarea><textarea>标签后代码丢失
- 如何正确开启Tex功能? HOT 2
- 标题问题
- Hola
- Unable to serialize formula
- 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
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.