-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBuildEditor.js
97 lines (96 loc) · 3.31 KB
/
BuildEditor.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import Abbreviation from '../abbreviation/Abbreviation.js';
import Audio from '../audio/Audio.js';
import Block from '../block/Block.js';
import Blockquote from '../blockquote/Blockquote.js';
import Bold from '../bold/Bold.js';
import Cite from '../cite/Cite.js';
import Code from '../code/Code.js';
import Data from '../data/Data.js';
import Definition from '../definition/Definition.js';
import Deletion from '../deletion/Deletion.js';
import Details from '../details/Details.js';
import Division from '../division/Division.js';
import Editor from '../base/Editor.js';
import Emphasis from '../emphasis/Emphasis.js';
import Heading from '../heading/Heading.js';
import HorizontalRule from '../horizontalrule/HorizontalRule.js';
import I18n from '../i18n/I18n.js';
import Iframe from '../iframe/Iframe.js';
import Image from '../image/Image.js';
import Insertion from '../insertion/Insertion.js';
import Italic from '../italic/Italic.js';
import Keyboard from '../keyboard/Keyboard.js';
import Link from '../link/Link.js';
import Mark from '../mark/Mark.js';
import OrderedList from '../orderedlist/OrderedList.js';
import Paragraph from '../paragraph/Paragraph.js';
import Preformat from '../preformat/Preformat.js';
import Quote from '../quote/Quote.js';
import Sample from '../sample/Sample.js';
import Section from '../section/Section.js';
import Small from '../small/Small.js';
import Strikethrough from '../strikethrough/Strikethrough.js';
import Strong from '../strong/Strong.js';
import Subheading from '../subheading/Subheading.js';
import Subscript from '../subscript/Subscript.js';
import Superscript from '../superscript/Superscript.js';
import Table from '../table/Table.js';
import Time from '../time/Time.js';
import Underline from '../underline/Underline.js';
import UnorderedList from '../unorderedlist/UnorderedList.js';
import Variable from '../variable/Variable.js';
import Video from '../video/Video.js';
export default class BuildEditor extends Editor {
/**
* @type {Object.<string, Object>}
*/
static get defaultConfig() {
return {
base: {
plugins: [
I18n,
Bold,
Italic,
Strong,
Emphasis,
Underline,
Strikethrough,
Link,
Mark,
Small,
Definition,
Abbreviation,
Quote,
Cite,
Code,
Keyboard,
Sample,
Variable,
Subscript,
Superscript,
Time,
Data,
Insertion,
Deletion,
Paragraph,
Heading,
Subheading,
UnorderedList,
OrderedList,
HorizontalRule,
Blockquote,
Image,
Video,
Audio,
Iframe,
Table,
Preformat,
Section,
Details,
Division,
Block,
],
},
};
}
}