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

Expose API notifying about loaded CKEDITOR namespace #61

Closed
jacekbogdanski opened this issue Sep 11, 2020 · 2 comments · Fixed by #66
Closed

Expose API notifying about loaded CKEDITOR namespace #61

jacekbogdanski opened this issue Sep 11, 2020 · 2 comments · Fixed by #66
Assignees
Labels
status:confirmed An issue confirmed by the development team. type:feature A feature request.
Milestone

Comments

@jacekbogdanski
Copy link
Member

Are you reporting a feature request or a bug?

In some use cases, we would like to access CKEDITOR namespace before initializing editor instances to customize it, e.g. when adding external plugins. I suppose it could be a callback created directly on the Vue CKEditor module, but I'm leaving implementation details to the developer.

E.g.

import { namespaceLoaded } from 'ckeditor4-vue';

namespaceLoaded( ( CKEDITOR ) => {
  CKEDITOR.addExternal( 'editorplaceholder', 'https://url-to-editor-placeholder/plugin.js' );
} ); 
@CKEditorBot
Copy link
Collaborator

Closed in #66

@jacekbogdanski
Copy link
Member Author

We've decided to move namespace-loaded directive to namespaceloaded event. See #69 for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants