Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixm committed Jul 27, 2019
1 parent 4351a94 commit a864a3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mdeditor/templates/markdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
lineWrapping: {{ config.lineWrapping|lower }},
width: "{{ config.width }}",
height: {{ config.height }},
placeholder: '{{ config.placeholder }}',
// 当有多个mdeditor时全屏后其他mdeditor仍然显示解决此问题
onfullscreen : function() {
this.editor.css("border-radius", 0).css("z-index", 9999);
Expand Down
3 changes: 2 additions & 1 deletion mdeditor_demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
'language': 'zh', # zh / en
'watch': True, # Live preview
'lineWrapping': False, # lineWrapping
'lineNumbers': True # lineNumbers
'lineNumbers': True, # lineNumbers,
'placeholder': 'Enjoy!'
},
'custom': {
'width': '90%',
Expand Down

0 comments on commit a864a3a

Please sign in to comment.