Skip to content

Can't get the SimpleImage plugin to show #1796

@morgan-blondellet

Description

@morgan-blondellet

Hi all,

this is my first time using editorjs and i can't seem to make SImpleImage work. I have the simpleImage js file on my projetc, i added the needed config image: SimpleImage but i can't add a block image. Am i doing something wrong ? I installed some other plugins that work just fine.

const editor = new EditorJS({
    holder: 'editorjs',
    tools: {
        header: {
            class: Header,
            inlineToolbar: ['marker', 'link'],
            config: {
                placeholder: 'Header'
            },
            shortcut: 'CMD+SHIFT+H'
        },
        link: {
            class: LinkTool,
            inlineToolbar: true
        },
        list: {
            class: NestedList,
            inlineToolbar: true,
            shortcut: 'CMD+SHIFT+L'
        },
        delimiter: Delimiter,
        table: {
            class: Table,
            inlineToolbar: true,
            shortcut: 'CMD+ALT+T'
        },
        image: SimpleImage,
    },
 }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions