Skip to content

Commit 5ea53fb

Browse files
committed
Fix
1 parent 49f3a9a commit 5ea53fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ class Post(models.Model):
5757
<title>Document</title>
5858
</head>
5959
<body>
60-
{% load editorjs %} {{ post.body_default }} {{ post.body_editorjs |
61-
editorjs}} {{ post.body_editorjs_text | editorjs}}
60+
{% load editorjs %}
61+
{{ post.body_default }}
62+
{{ post.body_editorjs | editorjs}}
63+
{{ post.body_editorjs_text | editorjs}}
6264
</body>
6365
</html>
6466
```

example/example/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@
141141
EDITORJS_VERSION = '2.22.1'
142142
# EDITORJS_IMAGE_NAME_ORIGINAL = True
143143
# EDITORJS_IMAGE_UPLOAD_PATH_DATE = None
144-
# EDITORJS_IMAGE_NAME = lambda filename, **_: f"{filename}_12345"
144+
# EDITORJS_IMAGE_NAME = lambda filename, **_: f"{filename}_12345"

0 commit comments

Comments
 (0)