Giter Site home page Giter Site logo

Comments (5)

pourquoi avatar pourquoi commented on July 17, 2024

You are using an older ckeditor version (prior to v12.0.0)

from ckeditor5-simple-upload.

minasm avatar minasm commented on July 17, 2024

Thanks for the reply,
these are my packages.

    "@ckeditor/ckeditor5-basic-styles": "^11.1.3",
    "@ckeditor/ckeditor5-dev-utils": "latest",
    "@ckeditor/ckeditor5-dev-webpack-plugin": "latest",
    "@ckeditor/ckeditor5-editor-balloon": "^12.2.1",
    "@ckeditor/ckeditor5-essentials": "^11.0.4",
    "@ckeditor/ckeditor5-image": "^12.0.0",
    "@ckeditor/ckeditor5-list": "^12.0.4",
    "@ckeditor/ckeditor5-paragraph": "^11.0.4",
    "@ckeditor/ckeditor5-theme-lark": "^14.1.1",
    "@ckeditor/ckeditor5-upload": "^10.0.0",
    "@ckeditor/ckeditor5-vue": "^1.0.0-beta.2",
    "ckeditor5-simple-upload": "^1.0.6",

This is my custom component,

<template>
    <ckeditor :editor="editor" v-model="editorData" :config="editorConfig"></ckeditor>
</template>

<script>
    import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';

    import EssentialsPlugin from '@ckeditor/ckeditor5-essentials/src/essentials';
    import BoldPlugin from '@ckeditor/ckeditor5-basic-styles/src/bold';

    import ItalicPlugin from '@ckeditor/ckeditor5-basic-styles/src/italic';
    import ParagraphPlugin from '@ckeditor/ckeditor5-paragraph/src/paragraph';
    import ImagePlugin from '@ckeditor/ckeditor5-image/src/image';
    import ImageCaptionPlugin from '@ckeditor/ckeditor5-image/src/imagecaption';
    import ImageStylePlugin from '@ckeditor/ckeditor5-image/src/imagestyle';
    import ImageUpload from '@ckeditor/ckeditor5-image/src/imageupload';
    import SimpleuploadPlugin from 'ckeditor5-simple-upload/src/simpleupload'
    

    export default {
        name: 'ckeditor-custom',
        data() {
            return {
                editor: ClassicEditor,
                editorData: '<p>Hello World</p>',
                editorConfig: {
                    plugins: [
                        EssentialsPlugin,
                        BoldPlugin,
                        ItalicPlugin,
                        ParagraphPlugin,
                        ImagePlugin,
                        ImageCaptionPlugin,
                        ImageStylePlugin,
                        ImageUpload,
                        SimpleuploadPlugin


                    ],
                    simpleUpload: {
                        uploadUrl: 'http://127.0.0.1/my-upload-endpoint'
                    },
                    toolbar: {
                        items: [
                            'heading',
                            '|',
                            'bold',
                            'italic',

                            'imageUpload',

                            'undo',
                            'redo'
                        ]
                    },

                }
            };
        }
    };
</script>

from ckeditor5-simple-upload.

pourquoi avatar pourquoi commented on July 17, 2024

Can you try with the latest version of this plugin (1.0.7)

from ckeditor5-simple-upload.

minasm avatar minasm commented on July 17, 2024

Thanks for your reply @pourquoi but still no luck:(

from ckeditor5-simple-upload.

minasm avatar minasm commented on July 17, 2024

I am closing this ticket as I am now using Trix instead of Ckeditor. Just noting here so if anyone needs they can find it.

from ckeditor5-simple-upload.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.