1 | {
|
2 | "plugins": [
|
3 | {
|
4 | "name": "Table",
|
5 | "className": "Table",
|
6 | "description": "Adds table creation and editing tools that help content authors bring tabular data into their documents.",
|
7 | "docs": "features/tables/tables.html",
|
8 | "path": "src/table.js",
|
9 | "uiComponents": [
|
10 | {
|
11 | "type": "SplitButton",
|
12 | "name": "insertTable",
|
13 | "iconPath": "theme/icons/table.svg"
|
14 | },
|
15 | {
|
16 | "type": "Button",
|
17 | "name": "tableColumn",
|
18 | "iconPath": "theme/icons/table-column.svg",
|
19 | "toolbars": [
|
20 | "table.contentToolbar"
|
21 | ]
|
22 | },
|
23 | {
|
24 | "type": "Button",
|
25 | "name": "tableRow",
|
26 | "iconPath": "theme/icons/table-row.svg",
|
27 | "toolbars": [
|
28 | "table.contentToolbar"
|
29 | ]
|
30 | },
|
31 | {
|
32 | "type": "Button",
|
33 | "name": "mergeTableCells",
|
34 | "iconPath": "theme/icons/table-merge-cell.svg",
|
35 | "toolbars": [
|
36 | "table.contentToolbar"
|
37 | ]
|
38 | }
|
39 | ],
|
40 | "htmlOutput": [
|
41 | {
|
42 | "elements": "figure",
|
43 | "classes": "table"
|
44 | },
|
45 | {
|
46 | "elements": [
|
47 | "table",
|
48 | "thead",
|
49 | "tbody",
|
50 | "tr"
|
51 | ]
|
52 | },
|
53 | {
|
54 | "elements": [
|
55 | "td",
|
56 | "th"
|
57 | ],
|
58 | "attributes": [
|
59 | "colspan",
|
60 | "rowspan"
|
61 | ]
|
62 | }
|
63 | ]
|
64 | },
|
65 | {
|
66 | "name": "Table cell properties",
|
67 | "className": "TableCellProperties",
|
68 | "description": "Adds the ability to style individual table cells.",
|
69 | "docs": "features/tables/tables-styling.html",
|
70 | "path": "src/tablecellproperties",
|
71 | "requires": [
|
72 | "Table",
|
73 | "TableToolbar"
|
74 | ],
|
75 | "uiComponents": [
|
76 | {
|
77 | "type": "Button",
|
78 | "name": "tableCellProperties",
|
79 | "iconPath": "theme/icons/table-cell-properties.svg",
|
80 | "toolbars": [
|
81 | "table.contentToolbar"
|
82 | ]
|
83 | }
|
84 | ],
|
85 | "htmlOutput": [
|
86 | {
|
87 | "elements": [
|
88 | "td",
|
89 | "th"
|
90 | ],
|
91 | "styles": [
|
92 | "background-color",
|
93 | "border",
|
94 | "border-*",
|
95 | "height",
|
96 | "padding",
|
97 | "text-align",
|
98 | "vertical-align",
|
99 | "width"
|
100 | ]
|
101 | }
|
102 | ]
|
103 | },
|
104 | {
|
105 | "name": "Table properties",
|
106 | "className": "TableProperties",
|
107 | "description": "Adds the ability to style entire tables.",
|
108 | "docs": "features/tables/tables-styling.html",
|
109 | "path": "src/tableproperties",
|
110 | "requires": [
|
111 | "Table",
|
112 | "TableToolbar"
|
113 | ],
|
114 | "uiComponents": [
|
115 | {
|
116 | "type": "Button",
|
117 | "name": "tableProperties",
|
118 | "iconPath": "theme/icons/table-properties.svg",
|
119 | "toolbars": [
|
120 | "table.contentToolbar"
|
121 | ]
|
122 | }
|
123 | ],
|
124 | "htmlOutput": [
|
125 | {
|
126 | "elements": "figure",
|
127 | "styles": [
|
128 | "float",
|
129 | "height",
|
130 | "width"
|
131 | ]
|
132 | },
|
133 | {
|
134 | "elements": "table",
|
135 | "styles": [
|
136 | "background-color",
|
137 | "border",
|
138 | "border-*"
|
139 | ]
|
140 | }
|
141 | ]
|
142 | },
|
143 | {
|
144 | "name": "Table toolbar",
|
145 | "className": "TableToolbar",
|
146 | "description": "Creates configurable toolbars for both the table feature and table content. They show up when the table widget or the content inside a table cell are selected.",
|
147 | "docs": "features/tables/tables.html#toolbars",
|
148 | "path": "src/tabletoolbar.js",
|
149 | "requires": [
|
150 | "Table"
|
151 | ],
|
152 | "registeredToolbars": [
|
153 | "table.contentToolbar",
|
154 | "table.tableToolbar"
|
155 | ]
|
156 | },
|
157 | {
|
158 | "name": "Table caption",
|
159 | "className": "TableCaption",
|
160 | "description": "Adds support for table captions, which inform the reader about the content of the table. Using captions is also beneficial from the accessibility point of view.",
|
161 | "docs": "features/tables/tables-caption.html",
|
162 | "path": "src/tablecaption.js",
|
163 | "requires": [
|
164 | "Table"
|
165 | ],
|
166 | "htmlOutput": [
|
167 | {
|
168 | "elements": "figcaption",
|
169 | "attributes": "data-placeholder"
|
170 | }
|
171 | ]
|
172 | },
|
173 | {
|
174 | "name": "Table column resize",
|
175 | "className": "TableColumnResize",
|
176 | "description": "Adds support for table column resize, which allows to set the width of each column in a table using a resize handle.",
|
177 | "docs": "features/tables/tables-resize.html",
|
178 | "path": "src/tablecolumnresize.js",
|
179 | "requires": [
|
180 | "Table"
|
181 | ],
|
182 | "htmlOutput": [
|
183 | {
|
184 | "elements": "colgroup"
|
185 | },
|
186 | {
|
187 | "elements": "col",
|
188 | "styles": "width"
|
189 | }
|
190 | ]
|
191 | }
|
192 | ]
|
193 | }
|