ACE Editor修改自动换号缩进
https://stackoverflow.com/questions/38323427/remove-word-wrap-offset-in-ace-editor
This is controlled by indentedSoftWrap setting in ace, you can turn it off by running
1 | editor.setOption("indentedSoftWrap", false); |
behaviours setting is completely unrelated and controls automatic insertion of closing brackets and tags.
So your code from the above would become
1 | var editor = ace.edit("edittext"); |
ACE Editor修改自动换号缩进
You need to set
install_url
to use ShareThis. Please set it in _config.yml
.