Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageToolbar not shown #16316

Open
masterwto opened this issue May 7, 2024 · 0 comments
Open

ImageToolbar not shown #16316

masterwto opened this issue May 7, 2024 · 0 comments
Labels
type:question This issue asks a question (how to...).

Comments

@masterwto
Copy link

import CKEditor from '@ckeditor/ckeditor5-vue';
import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic';
import { Heading } from '@ckeditor/ckeditor5-heading';
import { Bold, Italic, Superscript, Subscript } from '@ckeditor/ckeditor5-basic-styles';
import { List } from '@ckeditor/ckeditor5-list';
import { Font } from '@ckeditor/ckeditor5-font';
import { Image, ImageCaption, ImageToolbar, ImageUpload } from '@ckeditor/ckeditor5-image';
import { Base64UploadAdapter } from '@ckeditor/ckeditor5-upload';
import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
import { Table } from '@ckeditor/ckeditor5-table';
import { Undo } from '@ckeditor/ckeditor5-undo';
import { Markdown } from '@ckeditor/ckeditor5-markdown-gfm';

const config = {
    name: 'classic',
    plugins: [
        Heading, Bold, Italic, Superscript, Subscript, List, Font,
        Image, ImageCaption, ImageToolbar, ImageUpload, Base64UploadAdapter, BlockQuote, Table, Undo, Markdown,
    ],
    toolbar: [
        'heading', '|', 'bold', 'italic', 'superscript', 'subscript', '|', 'bulletedList', 'numberedList', '|', 'fontColor', 'fontBackgroundColor', '|',
        'imageUpload', 'blockQuote', 'insertTable', '|', 'undo', 'redo',
    ],
    image: {
        toolbar: ['toggleImageCaption',],
    },
    table: {
        contentToolbar: ['tableColumn', 'tableRow', 'mergeTableCells', 'tableProperties', 'tableCellProperties',],
    },
};

The imageToolbar doesn't work when an image is inserted and selected. What should I do ?

@masterwto masterwto added the type:question This issue asks a question (how to...). label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question This issue asks a question (how to...).
Projects
None yet
Development

No branches or pull requests

1 participant