1 | import { Plugin } from '@ckeditor/ckeditor5-core';
|
2 | import { Element, Model } from '@ckeditor/ckeditor5-engine';
|
3 | import DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment';
|
4 | import { Item } from '@ckeditor/ckeditor5-engine/src/model/item';
|
5 | import TableSelection from './tableselection';
|
6 | import TableUtils from './tableutils';
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export default class TableClipboard extends Plugin {
|
13 | static readonly pluginName: 'TableClipboard';
|
14 | static readonly requires: [typeof TableSelection, typeof TableUtils];
|
15 | init(): void;
|
16 |
|
17 | |
18 |
|
19 |
|
20 | getTableIfOnlyTableInContent(content: DocumentFragment | Item, model: Model): Element | null;
|
21 | }
|
22 |
|
23 | declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
|
24 | interface Plugins {
|
25 | TableClipboard: TableClipboard;
|
26 | }
|
27 | }
|