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:
parent
664e716bfc
commit
a2d0e231d1
4 changed files with 41 additions and 9 deletions
2
public/dist/code-styling.bundle.js
vendored
2
public/dist/code-styling.bundle.js
vendored
File diff suppressed because one or more lines are too long
41
public/dist/editor.bundle.js
vendored
41
public/dist/editor.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.bundle.js
vendored
2
public/dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue