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 = {
165165 ' Image' : {
166166 ' class' : ' ImageTool' ,
167167 ' inlineToolbar' : True ,
168- " config" : {" endpoints" : {
168+ " config" : {
169+ " endpoints" : {
169170 " byFile" : reverse_lazy(' editorjs_image_upload' ),
170171 " byUrl" : reverse_lazy(' editorjs_image_by_url' )
171- }},
172+ }
173+ },
172174 },
173175 ' Header' : {
174176 ' class' : ' Header' ,
Original file line number Diff line number Diff line change 4545 'Image' : {
4646 'class' : 'ImageTool' ,
4747 '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+ },
5254 },
5355 'Header' : {
5456 'class' : 'Header' ,
Original file line number Diff line number Diff line change 11from django .contrib .admin .views .decorators import staff_member_required
22from django .urls import path
33
4- from .views import ImageUploadView , LinkToolView , ImageByUrl
4+ from .views import ImageByUrl , ImageUploadView , LinkToolView
55
66urlpatterns = [
77 path (
You can’t perform that action at this time.
0 commit comments