File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 15
15
// import Markdown from './dist/simple';
16
16
// import Markdown from 'vue-meditor';
17
17
import Markdown from ' ./src/pro' ;
18
+ // import Markdown from './src/simple';
18
19
19
20
export default {
20
21
components: {
Original file line number Diff line number Diff line change @@ -425,3 +425,5 @@ export default hljs;
425
425
## 问题反馈
426
426
427
427
对于功能上的缺陷、使用方法和希望扩展的功能,可以提 [ Issues] ( https://github.com/zhaoxuhui1122/vue-markdown/issues ) 。
428
+
429
+ ## license: ` MIT `
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-meditor" ,
3
3
"description" : " 一款使用marked和highlight.js开发的一款markdown编辑器" ,
4
- "version" : " 2.0.2 " ,
4
+ "version" : " 2.0.3 " ,
5
5
"author" : " zhaoxuhui<1258835133@qq.com>" ,
6
6
"license" : " MIT" ,
7
7
"private" : false ,
Original file line number Diff line number Diff line change @@ -105,10 +105,11 @@ export default {
105
105
) ;
106
106
} ,
107
107
handleSave ( ) { // 保存操作
108
- const { currentValue, themeName } = this ;
108
+ const { currentValue, themeName, html } = this ;
109
109
this . $emit ( 'on-save' , {
110
110
theme : themeName ,
111
- value : currentValue
111
+ value : currentValue ,
112
+ html
112
113
} ) ;
113
114
} ,
114
115
toggleSlideDown ( ) { // 显示主题选项
You can’t perform that action at this time.
0 commit comments