Skip to content

Better export of the Ckeditor component #284

@filipsobol

Description

@filipsobol

Currently this integration exposes two things:

  • Vue.js plugin that register the global Ckeditor component.
  • The Ckeditor component itself.

The plugin can be easily imported using the default export like so:

import Plugin from '@ckeditor/ckeditor5-vue';

However, the component itself is only available as the key of the default object:

import Plugin from '@ckeditor/ckeditor5-vue';

const Ckeditor = Plugin.component

This integration should have a better export for this component. Example:

import Plugin, { Ckeditor } from '@ckeditor/ckeditor5-vue';

// `Plugin` is the Vue.js plugin
// `Ckeditor` is Vue component

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions