Comments (20)
@lenbo-ma 这应该在你提交的pull request中得到解决了吧?我已经合并你的pull request。
from editor.md.
没有, 我那个是解决了无法获取预览窗口的HTML源码的问题
from editor.md.
嗯,我大概知道什么问题了。
from editor.md.
这个问题现在是否解决了?
from editor.md.
你是不是又在onload之前调用了?
from editor.md.
我一直都没有在onload之前调用什么函数
from editor.md.
markdownEditor = editormd("note-detail", {
// watch: false,
lineNumbers: false,
toolbar: false,
tex : true, // 开启科学公式TeX语言支持,默认关闭
flowChart : true, // 开启流程图支持,默认关闭
sequenceDiagram : true, // 开启时序/序列图支持,默认关闭,
path: 'lib/editormd/lib/'
});
这是我的配置
from editor.md.
其他代码也贴出来吧
from editor.md.
就这么多。 note-detail是一个div,markdown未初始化前,textarea中有值
2015-02-19 16:47 GMT+08:00 pandao [email protected]:
其他代码也贴出来吧
—
Reply to this email directly or view it on GitHub
#11 (comment).
from editor.md.
你是怎么触发editor.previewing(); ?
from editor.md.
http://md.mlongbo.com/ 右上角有一个预览按钮,点击按钮时调用了 editor.previewing();
from editor.md.
出现关闭按钮是Editor.md自带的交互功能,你完全可以自己修改,例如隐藏它。
from editor.md.
我已经改掉了。我觉得这是一个bug,所以就提了出来
2015-02-19 17:07 GMT+08:00 pandao [email protected]:
出现关闭按钮是Editor.md自带的交互功能,你完全可以自己修改,例如隐藏它。
—
Reply to this email directly or view it on GitHub
#11 (comment).
from editor.md.
我不认为这是,最初设计的应用场景不是像你那种在线Markdown文档编辑服务http://md.mlongbo.com/ ,所以我才加上一个关闭按钮。
from editor.md.
我想你没明白我的意思 我所说的bug是第一张图中出现的关闭按钮,这个按钮被点击了之后没有任何反应(这个没有意义,这个bug在你的官方示例中是没有看到的).而你所说的应用场景应该是第二张图(ps: 这个设计确实很好)。
from editor.md.
像你这种应用场景你直接用只读模式不是更好?http://md.mlongbo.com/doc.html,previewing方法是应用在全编辑器窗口预览HTML。
from editor.md.
嗯,谢谢提醒。我改一下[?]
2015-02-19 17:23 GMT+08:00 pandao [email protected]:
像你这种应用场景你直接用只读模式不是更好?
http://md.mlongbo.com/doc.html,previewing方法是应用在全编辑器窗口预览HTML。—
Reply to this email directly or view it on GitHub
#11 (comment).
from editor.md.
嗯,感觉你说不清楚,我也没听明白,急得我都快"抓狂"了。-_-!!
from editor.md.
这个应该设个配置项的。
只能这样了
.editormd-preview-close-btn { display: none; }
from editor.md.
@ruanjiayou 请问你是怎么改的?
from editor.md.
Related Issues (20)
- 如何改变字体的颜色
- 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.