tylingsoft / markdown-plus

Markdown editor with extra features.
http://mdp.tylingsoft.com/
2.12k stars 395 forks source link

急: #62

Closed linuxer-xyz closed 8 years ago

linuxer-xyz commented 8 years ago

我想在项目是直接用makdown-plus, 但是样例中只有编辑的,

1 怎么获取这个用户编辑的数据?

2 对于编辑已经存在的文件,怎么弄进去编辑, 即makrdown怎么加载已有文件的缓冲

tylerlong commented 8 years ago
editor.session.getValue();
editor.session.setValue('hello world', -1);
suguineng commented 8 years ago

谢谢

suguineng commented 8 years ago

m

suguineng commented 8 years ago

刚才试了下,好像不行,哈