mirror of
https://github.com/zadam/trilium.git
synced 2025-11-20 07:34:25 +01:00
40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
/**
|
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
*/
|
|
|
|
/**
|
|
* @module block-quote/blockquote
|
|
*/
|
|
|
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
|
|
import AdmonitionEditing from './blockquoteediting.js';
|
|
import AdmonitionUI from './blockquoteui.js';
|
|
|
|
/**
|
|
* The block quote plugin.
|
|
*
|
|
* For more information about this feature check the {@glink api/block-quote package page}.
|
|
*
|
|
* This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature}
|
|
* and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}.
|
|
*
|
|
* @extends module:core/plugin~Plugin
|
|
*/
|
|
export default class Admonition extends Plugin {
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static get requires() {
|
|
return [ AdmonitionEditing, AdmonitionUI ] as const;
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public static get pluginName() {
|
|
return 'BlockQuote' as const;
|
|
}
|
|
}
|