diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-11-16 14:57:18 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-11-16 14:57:18 +0100 |
commit | de421d02efbdd9815719ae13845d5f1e4709ced4 (patch) | |
tree | 991cfaf151c6c87a9865a428d1421f8544223dab /view | |
parent | da390ff5738a5a66a304a6e485dfe3e23a44fea4 (diff) | |
download | volse-hubzilla-de421d02efbdd9815719ae13845d5f1e4709ced4.tar.gz volse-hubzilla-de421d02efbdd9815719ae13845d5f1e4709ced4.tar.bz2 volse-hubzilla-de421d02efbdd9815719ae13845d5f1e4709ced4.zip |
remove print margin and set wrap mode to free
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/wiki.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 51503d100..54d501396 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -219,6 +219,8 @@ var editor = ace.edit("ace-editor"); editor.setTheme("ace/theme/github"); + editor.setShowPrintMargin(false); + editor.getSession().setUseWrapMode('free'); editor.getSession().setMode("ace/mode/markdown"); editor.getSession().setValue(window.wiki_page_content); window.editor = editor; // Store the editor in the window object so the anonymous function can use it. |