instance-oom / ngx-markdown-editor

Angular markdown editor based on ace editor
http://lon-yang.github.io/markdown-editor/
Apache License 2.0
174 stars 48 forks source link

in editor mode always has a printMarginLine #118

Closed scobiser2 closed 2 years ago

scobiser2 commented 2 years ago

when in editor mode,the editor area always has a printMarginLine, we can extend the options , add a showPrintMargin attribute to control whether the line shows in the ui, in the ace-editor example, it uses editor.setOption(showPrintMargin,false) to hide it.

instance-oom commented 2 years ago

Have you try this https://ajaxorg.github.io/ace-api-docs/classes/Ace.Editor.html#setShowPrintMargin

editor.setShowPrintMargin(false)