Fix in editorjsform
This commit is contained in:
parent
1c3792a0fc
commit
264ec4e924
3 changed files with 24 additions and 0 deletions
|
|
@ -24,6 +24,17 @@ tools: {
|
|||
//byUrl: "${url_for('pages2_app.pages2_upload_image')}", // Your endpoint that provides uploading by Url
|
||||
}
|
||||
}
|
||||
},
|
||||
List: {
|
||||
class: EditorjsList,
|
||||
inlineToolbar: true,
|
||||
config: {
|
||||
defaultStyle: 'unordered'
|
||||
},
|
||||
},
|
||||
header: {
|
||||
class: Header,
|
||||
shortcut: 'CMD+SHIFT+H',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -45,3 +56,5 @@ $('form').submit(function (e) {
|
|||
</script>
|
||||
${add_js('editorjs.umd.js', 'pages2')}
|
||||
${add_js('image.umd.js', 'pages2')}
|
||||
${add_js('header.umd.js', 'pages2')}
|
||||
${add_js('editorjs-list.umd.js', 'pages2')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue