Skip to content

Commit 5f0db4c

Browse files
committed
added DRACEDITOR_ENABLE_CONFIGS
1 parent c7e322c commit 5f0db4c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ to get ``IMGUR_CLIENT_ID`` and ``IMGUR_API_KEY``.
9898

9999
::
100100

101+
# Global draceditor settings
102+
# Input: string boolean, `true/false`
103+
DRACEDITOR_ENABLE_CONFIGS' = {
104+
'imgur': 'true', # to enable/disable imgur uploader.
105+
'mention': 'false', # to enable/disable mention
106+
'jquery': 'true', # to include/revoke jquery (require for admin default django)
107+
}
108+
101109
# Imgur API Keys
102110
DRACEDITOR_IMGUR_CLIENT_ID = 'your-client-id'
103111
DRACEDITOR_IMGUR_API_KEY = 'your-api-key'

0 commit comments

Comments
 (0)