File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -165,10 +165,12 @@ EDITORJS_DEFAULT_CONFIG_TOOLS = {
165
165
' Image' : {
166
166
' class' : ' ImageTool' ,
167
167
' inlineToolbar' : True ,
168
- " config" : {" endpoints" : {
168
+ " config" : {
169
+ " endpoints" : {
169
170
" byFile" : reverse_lazy(' editorjs_image_upload' ),
170
171
" byUrl" : reverse_lazy(' editorjs_image_by_url' )
171
- }},
172
+ }
173
+ },
172
174
},
173
175
' Header' : {
174
176
' class' : ' Header' ,
Original file line number Diff line number Diff line change 45
45
'Image' : {
46
46
'class' : 'ImageTool' ,
47
47
'inlineToolbar' : True ,
48
- "config" : {"endpoints" : {
49
- "byFile" : reverse_lazy ('editorjs_image_upload' ),
50
- "byUrl" : reverse_lazy ('editorjs_image_by_url' )
51
- }},
48
+ "config" : {
49
+ "endpoints" : {
50
+ "byFile" : reverse_lazy ('editorjs_image_upload' ),
51
+ "byUrl" : reverse_lazy ('editorjs_image_by_url' )
52
+ }
53
+ },
52
54
},
53
55
'Header' : {
54
56
'class' : 'Header' ,
Original file line number Diff line number Diff line change 1
1
from django .contrib .admin .views .decorators import staff_member_required
2
2
from django .urls import path
3
3
4
- from .views import ImageUploadView , LinkToolView , ImageByUrl
4
+ from .views import ImageByUrl , ImageUploadView , LinkToolView
5
5
6
6
urlpatterns = [
7
7
path (
You can’t perform that action at this time.
0 commit comments