equal
deleted
inserted
replaced
|
1 { |
|
2 "name": "core/table", |
|
3 "category": "text", |
|
4 "attributes": { |
|
5 "hasFixedLayout": { |
|
6 "type": "boolean", |
|
7 "default": false |
|
8 }, |
|
9 "backgroundColor": { |
|
10 "type": "string" |
|
11 }, |
|
12 "caption": { |
|
13 "type": "string", |
|
14 "source": "html", |
|
15 "selector": "figcaption", |
|
16 "default": "" |
|
17 }, |
|
18 "head": { |
|
19 "type": "array", |
|
20 "default": [], |
|
21 "source": "query", |
|
22 "selector": "thead tr", |
|
23 "query": { |
|
24 "cells": { |
|
25 "type": "array", |
|
26 "default": [], |
|
27 "source": "query", |
|
28 "selector": "td,th", |
|
29 "query": { |
|
30 "content": { |
|
31 "type": "string", |
|
32 "source": "html" |
|
33 }, |
|
34 "tag": { |
|
35 "type": "string", |
|
36 "default": "td", |
|
37 "source": "tag" |
|
38 }, |
|
39 "scope": { |
|
40 "type": "string", |
|
41 "source": "attribute", |
|
42 "attribute": "scope" |
|
43 }, |
|
44 "align": { |
|
45 "type": "string", |
|
46 "source": "attribute", |
|
47 "attribute": "data-align" |
|
48 } |
|
49 } |
|
50 } |
|
51 } |
|
52 }, |
|
53 "body": { |
|
54 "type": "array", |
|
55 "default": [], |
|
56 "source": "query", |
|
57 "selector": "tbody tr", |
|
58 "query": { |
|
59 "cells": { |
|
60 "type": "array", |
|
61 "default": [], |
|
62 "source": "query", |
|
63 "selector": "td,th", |
|
64 "query": { |
|
65 "content": { |
|
66 "type": "string", |
|
67 "source": "html" |
|
68 }, |
|
69 "tag": { |
|
70 "type": "string", |
|
71 "default": "td", |
|
72 "source": "tag" |
|
73 }, |
|
74 "scope": { |
|
75 "type": "string", |
|
76 "source": "attribute", |
|
77 "attribute": "scope" |
|
78 }, |
|
79 "align": { |
|
80 "type": "string", |
|
81 "source": "attribute", |
|
82 "attribute": "data-align" |
|
83 } |
|
84 } |
|
85 } |
|
86 } |
|
87 }, |
|
88 "foot": { |
|
89 "type": "array", |
|
90 "default": [], |
|
91 "source": "query", |
|
92 "selector": "tfoot tr", |
|
93 "query": { |
|
94 "cells": { |
|
95 "type": "array", |
|
96 "default": [], |
|
97 "source": "query", |
|
98 "selector": "td,th", |
|
99 "query": { |
|
100 "content": { |
|
101 "type": "string", |
|
102 "source": "html" |
|
103 }, |
|
104 "tag": { |
|
105 "type": "string", |
|
106 "default": "td", |
|
107 "source": "tag" |
|
108 }, |
|
109 "scope": { |
|
110 "type": "string", |
|
111 "source": "attribute", |
|
112 "attribute": "scope" |
|
113 }, |
|
114 "align": { |
|
115 "type": "string", |
|
116 "source": "attribute", |
|
117 "attribute": "data-align" |
|
118 } |
|
119 } |
|
120 } |
|
121 } |
|
122 } |
|
123 }, |
|
124 "supports": { |
|
125 "anchor": true, |
|
126 "align": true |
|
127 } |
|
128 } |