File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,15 @@ Configurations
100100 DRACEDITOR_MARKDOWN_BASE_EMOJI_URL = 'https://assets-cdn.github.com/images/icons/emoji/' # default
101101 DRACEDITOR_MARKDOWN_BASE_MENTION_URL = 'https://forum.dracos-linux.org/profile/' # default (change this)
102102
103+ # Editor Options (use default for now)
104+ DRACEDITOR_EDITOR_OPTIONS = {
105+ 'markdown': 'true',
106+ 'toolbar': [
107+ 'bold', 'italic', 'strike',
108+ 'link', 'image', 'blockquote',
109+ 'listUl', 'listOl', 'upload',
110+ ]
111+ }
103112
104113Usage
105114------------------------------
Original file line number Diff line number Diff line change 5454 settings , 'DRACEDITOR_MARKDOWN_BASE_MENTION_URL' , 'https://forum.dracos-linux.org/profile/'
5555)
5656
57- # https://getuikit.com/docs/htmleditor.html#javascript-options
5857DRACEDITOR_EDITOR_OPTIONS = getattr (
5958 settings , 'DRACEDITOR_EDITOR_OPTIONS' , {
6059 'markdown' : 'true' ,
You can’t perform that action at this time.
0 commit comments