You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`plugins`| List plugins Editor.js |`DEFAULT_PLUGINS`|
145
+
|`tools`| Set config `tools` for Editor.js [See docs](https://editorjs.io/configuration#passing-saved-data)|`DEFAULT_CONFIG_PLUGINS`|
146
+
|`use_editor_js`| Enables or disables the Editor.js plugin for the field |`True`|
147
+
148
+
149
+
### Image uploads
150
+
101
151
If you want to upload images to the editor then add `django_editorjs_fields.urls` to `urls.py` for your project with `DEBUG=True`:
102
152
103
153
```python
@@ -141,6 +191,7 @@ file.
141
191
|`EDITORJS_IMAGE_NAME_ORIGINAL`| To use the original name of the image file? |`False`|
142
192
|`EDITORJS_IMAGE_NAME_POSTFIX`| Image file name postfix. Ignored when `EDITORJS_IMAGE_NAME_ORIGINAL` is `True`|`token_urlsafe(5) # from secrets import token_urlsafe`|
143
193
|`EDITORJS_IMAGE_NAME`| Image file name postfix. Ignored when `EDITORJS_IMAGE_NAME_ORIGINAL` is `False`|`token_urlsafe(8) # from secrets import token_urlsafe`|
0 commit comments