1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Add image Tool

This commit is contained in:
Taly 2019-03-11 17:14:10 +03:00
parent 664e716bfc
commit a2d0e231d1
4 changed files with 41 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -10,6 +10,7 @@ import CodeTool from '@editorjs/code';
import Delimiter from '@editorjs/delimiter';
import InlineCode from '@editorjs/inline-code';
import List from '@editorjs/list';
import Image from '@editorjs/image';
import RawTool from '@editorjs/raw';
import Embed from '@editorjs/embed';
@ -57,11 +58,11 @@ export default class Editor {
shortcut: 'CMD+SHIFT+M'
},
list: {
class: ListTool,
class: List,
inlineToolbar: true
},
image: {
class: ImageTool,
class: Image,
inlineToolbar: true,
config: {
endpoints: {