8
0

blockquote.js 1002 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. /**
  6. * @module block-quote/blockquote
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import BlockQuoteEditing from './blockquoteediting';
  10. import BlockQuoteUI from './blockquoteui';
  11. /**
  12. * The block quote plugin.
  13. *
  14. * For more information about this feature check the {@glink api/block-quote package page}.
  15. *
  16. * This is a "glue" plugin which loads the {@link module:block-quote/blockquoteediting~BlockQuoteEditing block quote editing feature}
  17. * and {@link module:block-quote/blockquoteui~BlockQuoteUI block quote UI feature}.
  18. *
  19. * @extends module:core/plugin~Plugin
  20. */
  21. export default class BlockQuote extends Plugin {
  22. /**
  23. * @inheritDoc
  24. */
  25. static get requires() {
  26. return [ BlockQuoteEditing, BlockQuoteUI ];
  27. }
  28. /**
  29. * @inheritDoc
  30. */
  31. static get pluginName() {
  32. return 'BlockQuote';
  33. }
  34. }