1 | import { Plugin } from '@ckeditor/ckeditor5-core';
|
2 | import InsertParagraphCommand from './insertparagraphcommand';
|
3 | import ParagraphCommand from './paragraphcommand';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export default class Paragraph extends Plugin {
|
18 | static readonly pluginName: 'Paragraph';
|
19 | static paragraphLikeElements: Set<
|
20 | 'blockquote' | 'dd' | 'div' | 'dt' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'li' | 'p' | 'td' | 'th'
|
21 | >;
|
22 | init(): void;
|
23 | }
|
24 |
|
25 | declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
|
26 | interface Plugins {
|
27 | Paragraph: Paragraph;
|
28 | }
|
29 | }
|
30 |
|
31 | declare module '@ckeditor/ckeditor5-core/src/commandcollection' {
|
32 | interface Commands {
|
33 | paragraph: ParagraphCommand;
|
34 | insertParagraph: InsertParagraphCommand;
|
35 | }
|
36 | }
|