@ckeditor/ckeditor5-widget 42.0.1-alpha.1 → 42.0.1-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index-editor.css +31 -0
- package/package.json +7 -7
package/dist/index-editor.css
CHANGED
@@ -11,21 +11,27 @@
|
|
11
11
|
}
|
12
12
|
.ck .ck-widget {
|
13
13
|
position: relative;
|
14
|
+
|
14
15
|
}
|
15
16
|
.ck .ck-widget.ck-widget_with-selection-handle {
|
16
17
|
position: relative;
|
18
|
+
|
17
19
|
}
|
18
20
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
|
19
21
|
position: absolute;
|
22
|
+
|
20
23
|
}
|
21
24
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {
|
22
25
|
display: block;
|
26
|
+
|
23
27
|
}
|
24
28
|
.ck .ck-widget.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle {
|
25
29
|
visibility: visible;
|
30
|
+
|
26
31
|
}
|
27
32
|
.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle {
|
28
33
|
visibility: visible;
|
34
|
+
|
29
35
|
}
|
30
36
|
.ck .ck-size-view {
|
31
37
|
background: var(--ck-color-resizer-tooltip-background);
|
@@ -37,33 +43,41 @@ display: block;
|
|
37
43
|
padding: 0 var(--ck-spacing-small);
|
38
44
|
height: var(--ck-resizer-tooltip-height);
|
39
45
|
line-height: var(--ck-resizer-tooltip-height);
|
46
|
+
|
40
47
|
}
|
41
48
|
.ck .ck-size-view.ck-orientation-top-left {
|
42
49
|
position: absolute;
|
50
|
+
|
43
51
|
}
|
44
52
|
.ck .ck-size-view.ck-orientation-top-left {
|
45
53
|
top: var(--ck-resizer-tooltip-offset);
|
46
54
|
left: var(--ck-resizer-tooltip-offset);
|
55
|
+
|
47
56
|
}
|
48
57
|
.ck .ck-size-view.ck-orientation-top-right {
|
49
58
|
top: var(--ck-resizer-tooltip-offset);
|
50
59
|
right: var(--ck-resizer-tooltip-offset);
|
60
|
+
|
51
61
|
}
|
52
62
|
.ck .ck-size-view.ck-orientation-bottom-right {
|
53
63
|
bottom: var(--ck-resizer-tooltip-offset);
|
54
64
|
right: var(--ck-resizer-tooltip-offset);
|
65
|
+
|
55
66
|
}
|
56
67
|
.ck .ck-size-view.ck-orientation-bottom-left {
|
57
68
|
bottom: var(--ck-resizer-tooltip-offset);
|
58
69
|
left: var(--ck-resizer-tooltip-offset);
|
70
|
+
|
59
71
|
}
|
60
72
|
.ck .ck-size-view.ck-orientation-above-center {
|
61
73
|
top: calc(var(--ck-resizer-tooltip-height) * -1);
|
62
74
|
left: 50%;
|
63
75
|
transform: translate(-50%);
|
76
|
+
|
64
77
|
}
|
65
78
|
.ck .ck-widget_with-resizer {
|
66
79
|
position: relative;
|
80
|
+
|
67
81
|
}
|
68
82
|
.ck .ck-widget__resizer {
|
69
83
|
display: none;
|
@@ -71,41 +85,50 @@ position: absolute;
|
|
71
85
|
pointer-events: none;
|
72
86
|
left: 0;
|
73
87
|
top: 0;
|
88
|
+
|
74
89
|
}
|
75
90
|
.ck-focused .ck-widget_with-resizer.ck-widget_selected > .ck-widget__resizer {
|
76
91
|
display: block;
|
92
|
+
|
77
93
|
}
|
78
94
|
.ck .ck-widget__resizer__handle {
|
79
95
|
position: absolute;
|
80
96
|
pointer-events: all;
|
97
|
+
|
81
98
|
}
|
82
99
|
.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left {
|
83
100
|
cursor: nwse-resize;
|
101
|
+
|
84
102
|
}
|
85
103
|
.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right {
|
86
104
|
cursor: nesw-resize;
|
105
|
+
|
87
106
|
}
|
88
107
|
.ck .ck-widget .ck-widget__type-around__button {
|
89
108
|
display: block;
|
90
109
|
position: absolute;
|
91
110
|
overflow: hidden;
|
92
111
|
z-index: var(--ck-z-default);
|
112
|
+
|
93
113
|
}
|
94
114
|
.ck .ck-widget .ck-widget__type-around__button svg {
|
95
115
|
position: absolute;
|
96
116
|
top: 50%;
|
97
117
|
left: 50%;
|
98
118
|
z-index: calc(var(--ck-z-default) + 2);
|
119
|
+
|
99
120
|
}
|
100
121
|
.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before {
|
101
122
|
top: calc(-0.5 * var(--ck-widget-outline-thickness));
|
102
123
|
left: min(10%, 30px);
|
103
124
|
transform: translateY(-50%);
|
125
|
+
|
104
126
|
}
|
105
127
|
.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after {
|
106
128
|
bottom: calc(-0.5 * var(--ck-widget-outline-thickness));
|
107
129
|
right: min(10%, 30px);
|
108
130
|
transform: translateY(50%);
|
131
|
+
|
109
132
|
}
|
110
133
|
.ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button::after {
|
111
134
|
content: "";
|
@@ -114,31 +137,39 @@ position: absolute;
|
|
114
137
|
top: 1px;
|
115
138
|
left: 1px;
|
116
139
|
z-index: calc(var(--ck-z-default) + 1);
|
140
|
+
|
117
141
|
}
|
118
142
|
.ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
119
143
|
display: none;
|
120
144
|
position: absolute;
|
121
145
|
left: 0;
|
122
146
|
right: 0;
|
147
|
+
|
123
148
|
}
|
124
149
|
.ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
125
150
|
left: calc( -1 * var(--ck-widget-outline-thickness) );
|
126
151
|
right: calc( -1 * var(--ck-widget-outline-thickness) );
|
152
|
+
|
127
153
|
}
|
128
154
|
.ck .ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
129
155
|
top: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
|
130
156
|
display: block;
|
157
|
+
|
131
158
|
}
|
132
159
|
.ck .ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
|
133
160
|
bottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );
|
134
161
|
display: block;
|
162
|
+
|
135
163
|
}
|
136
164
|
.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {
|
137
165
|
display: none;
|
166
|
+
|
138
167
|
}
|
139
168
|
.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {
|
140
169
|
display: none;
|
170
|
+
|
141
171
|
}
|
142
172
|
.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {
|
143
173
|
display: none;
|
174
|
+
|
144
175
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-widget",
|
3
|
-
"version": "42.0.1-alpha.
|
3
|
+
"version": "42.0.1-alpha.2",
|
4
4
|
"description": "Widget API for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,12 +12,12 @@
|
|
12
12
|
"type": "module",
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"@ckeditor/ckeditor5-core": "42.0.1-alpha.
|
16
|
-
"@ckeditor/ckeditor5-engine": "42.0.1-alpha.
|
17
|
-
"@ckeditor/ckeditor5-enter": "42.0.1-alpha.
|
18
|
-
"@ckeditor/ckeditor5-ui": "42.0.1-alpha.
|
19
|
-
"@ckeditor/ckeditor5-utils": "42.0.1-alpha.
|
20
|
-
"@ckeditor/ckeditor5-typing": "42.0.1-alpha.
|
15
|
+
"@ckeditor/ckeditor5-core": "42.0.1-alpha.2",
|
16
|
+
"@ckeditor/ckeditor5-engine": "42.0.1-alpha.2",
|
17
|
+
"@ckeditor/ckeditor5-enter": "42.0.1-alpha.2",
|
18
|
+
"@ckeditor/ckeditor5-ui": "42.0.1-alpha.2",
|
19
|
+
"@ckeditor/ckeditor5-utils": "42.0.1-alpha.2",
|
20
|
+
"@ckeditor/ckeditor5-typing": "42.0.1-alpha.2",
|
21
21
|
"lodash-es": "4.17.21"
|
22
22
|
},
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|