amazon_onsite-1.0.0-beta5/js/ckeditor5_plugins/amazonProductLink/src/insertasin.js
js/ckeditor5_plugins/amazonProductLink/src/insertasin.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 insertasinediting insertasinui
// The contents of InsertAsinEditing and insertAsinUI editing could be included in this
// file, but it is recommended to separate these concerns in different files.
import { Plugin } from "ckeditor5/src/core";
import InsertAsinEditing from "./insertasinediting";
import InsertAsinUI from "./insertasinui";
export default class InsertAsin extends Plugin {
// Note that InsertAsinEditing and insertAsinUI 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 [InsertAsinEditing, InsertAsinUI];
}
}
