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
|`EDITORJS_IMAGE_NAME_ORIGINAL`| To use the original name of the image file? |`False`|`bool`|
303
+
|`EDITORJS_IMAGE_NAME`| Image file name. Ignored when `EDITORJS_IMAGE_NAME_ORIGINAL` is `True`|`token_urlsafe(8)`|`callable(filename: str, file: InMemoryUploadedFile)` ([docs](https://docs.djangoproject.com/en/3.0/ref/files/uploads/)) |
304
+
|`EDITORJS_EMBED_HOSTNAME_ALLOWED`| List of allowed hostname for embed |`('player.vimeo.com','www.youtube.com','coub.com','vine.co','imgur.com','gfycat.com','player.twitch.tv','player.twitch.tv','music.yandex.ru','codepen.io','www.instagram.com','twitframe.com','assets.pinterest.com','www.facebook.com','www.aparat.com'),`|`list[str]`, `tuple[str]`|
305
+
|`EDITORJS_VERSION`| Version Editor.js |`2.22.3`|`str`|
303
306
304
307
For `EDITORJS_IMAGE_NAME` was used `from secrets import token_urlsafe`
0 commit comments