doc-config.md 973 B


layout: doc title: Options - Simditor id: doc-config

root: ../

#Options

You can customize Simditor by passing optional options when initializing Simditor. Here are some optional options and their default values:

editor = new Simditor
  textarea: null
  placeholder: ''
  defaultImage: 'images/image.png'
  params: {}
  upload: false
  tabIndent: true
  toolbar: true
  toolbarFloat: true
  toolbarFloatOffset: 0
  toolbarHidden: false
  pasteImage: false
  cleanPaste: false
{% for item in site.data.configs %}
{{ item.name }} {{ item.type }} default: {{ item.default }}
{{ item.description | markdownify }}
{% endfor %}