soundcite-1.1.2/js/ckeditor5_plugins/soundcite/src/soundcite.js
js/ckeditor5_plugins/soundcite/src/soundcite.js
/**
* @file This is what CKEditor refers to as a master (glue) plugin. Its role is
* just to load the “editing” and “UI” components of this Plugin. Those
* components could be included in this file, but
*
* I.e, this file's purpose is to integrate all the separate parts of the plugin
* before it's made discoverable via index.js.
*/
// cSpell:ignore soundciteediting soundciteui
// The contents of SoundciteUI and Soundcite editing could be included in this
// file, but it is recommended to separate these concerns in different files.
import SoundciteEditing from './soundciteediting';
import SoundciteUI from './soundciteui';
import { Plugin } from 'ckeditor5/src/core';
export default class Soundcite extends Plugin {
// Note that SoundciteEditing and SoundciteUI also extend `Plugin`, but these
// are not seen as individual plugins by CKEditor 5. CKEditor 5 will only
// discover the plugins explicitly exported in index.js.
static get requires() {
return [SoundciteEditing, SoundciteUI];
}
}
