@ckeditor/ckeditor5-fullscreen 48.3.1 → 48.4.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fullscreenui.d.ts +0 -1
- package/dist/handlers/abstracteditorhandler.d.ts +4 -0
- package/dist/handlers/integrations/contextualballoon.d.ts +10 -0
- package/dist/index-content.css +3 -0
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +161 -159
- package/dist/index-editor.css.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +79 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/fullscreenui.d.ts
CHANGED
|
@@ -116,6 +116,10 @@ export declare class FullscreenAbstractEditorHandler {
|
|
|
116
116
|
*/
|
|
117
117
|
private _forceShowLeftSidebar;
|
|
118
118
|
/**
|
|
119
|
+
* A cleanup function returned by `registerFullscreenBalloonOffsetCorrection`.
|
|
120
|
+
*/
|
|
121
|
+
private _disableContextualBalloonPositionHandler;
|
|
122
|
+
/**
|
|
119
123
|
* A callback that hides the document outline header when the source editing mode is enabled.
|
|
120
124
|
* Document outline element itself is hidden by source editing plugin.
|
|
121
125
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { Editor } from "@ckeditor/ckeditor5-core";
|
|
6
|
+
/**
|
|
7
|
+
* Registers a `getPositionOptions` correction on the ContextualBalloon plugin so that
|
|
8
|
+
* balloons are offset below the fullscreen toolbar and menu bar.
|
|
9
|
+
*/
|
|
10
|
+
export declare function registerFullscreenBalloonOffsetCorrection(editor: Editor, wrapper: HTMLElement): () => void;
|
package/dist/index-content.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index-content.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-content.css.map */"]}
|
package/dist/index-editor.css
CHANGED
|
@@ -2,242 +2,244 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
html.ck-fullscreen, body.ck-fullscreen{
|
|
6
|
-
--ck-z-fullscreen:10000;
|
|
7
|
-
--ck-z-default:calc(var(--ck-z-fullscreen) + 1);
|
|
8
|
-
--ck-z-panel:calc(var(--ck-z-default) + 999);
|
|
9
|
-
--ck-z-dialog:100000;
|
|
10
|
-
overflow:hidden;
|
|
5
|
+
html.ck-fullscreen, body.ck-fullscreen {
|
|
6
|
+
--ck-z-fullscreen: 10000;
|
|
7
|
+
--ck-z-default: calc(var(--ck-z-fullscreen) + 1);
|
|
8
|
+
--ck-z-panel: calc(var(--ck-z-default) + 999);
|
|
9
|
+
--ck-z-dialog: 100000;
|
|
10
|
+
overflow: hidden;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n){
|
|
14
|
-
--ckbox-z-index-root:calc(var(--ck-z-dialog) + 1);
|
|
15
|
-
position:absolute;
|
|
13
|
+
:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n) {
|
|
14
|
+
--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);
|
|
15
|
+
position: absolute;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n) .ckbox-img-editor{
|
|
19
|
-
--ckbox-z-index-preview:calc(var(--ck-z-dialog) + 1);
|
|
18
|
+
:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n) .ckbox-img-editor {
|
|
19
|
+
--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
:is(html.ck-fullscreen, body.ck-fullscreen) .ck-pagination-view-line{
|
|
23
|
-
z-index:calc(var(--ck-z-fullscreen) + 1);
|
|
22
|
+
:is(html.ck-fullscreen, body.ck-fullscreen) .ck-pagination-view-line {
|
|
23
|
+
z-index: calc(var(--ck-z-fullscreen) + 1);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
:is(html.ck-fullscreen, body.ck-fullscreen) .page-break__label{
|
|
27
|
-
z-index:calc(var(--ck-z-fullscreen) + 2);
|
|
26
|
+
:is(html.ck-fullscreen, body.ck-fullscreen) .page-break__label {
|
|
27
|
+
z-index: calc(var(--ck-z-fullscreen) + 2);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.ck.ck-fullscreen__main-wrapper{
|
|
31
|
-
width:100%;
|
|
32
|
-
height:100%;
|
|
33
|
-
z-index:var(--ck-z-fullscreen);
|
|
34
|
-
background:var(--ck-color-base-foreground);
|
|
35
|
-
flex-direction:column;
|
|
36
|
-
display:flex;
|
|
37
|
-
position:fixed;
|
|
38
|
-
top:0;
|
|
39
|
-
left:0;
|
|
30
|
+
.ck.ck-fullscreen__main-wrapper {
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
z-index: var(--ck-z-fullscreen);
|
|
34
|
+
background: var(--ck-color-base-foreground);
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
display: flex;
|
|
37
|
+
position: fixed;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation{
|
|
43
|
-
margin-top:0;
|
|
44
|
-
margin-bottom:0;
|
|
42
|
+
.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {
|
|
43
|
+
margin-top: 0;
|
|
44
|
+
margin-bottom: 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper{
|
|
48
|
-
position:absolute;
|
|
47
|
+
:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {
|
|
48
|
+
position: absolute;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper .ck-fullscreen__top-wrapper{
|
|
52
|
-
border-top:1px solid var(--ck-color-base-border);
|
|
53
|
-
border-left:1px solid var(--ck-color-base-border);
|
|
54
|
-
border-right:1px solid var(--ck-color-base-border);
|
|
55
|
-
border-radius:var(--ck-border-radius) 0;
|
|
51
|
+
:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper .ck-fullscreen__top-wrapper {
|
|
52
|
+
border-top: 1px solid var(--ck-color-base-border);
|
|
53
|
+
border-left: 1px solid var(--ck-color-base-border);
|
|
54
|
+
border-right: 1px solid var(--ck-color-base-border);
|
|
55
|
+
border-radius: var(--ck-border-radius) 0;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.ck-fullscreen__menu-bar .ck.ck-menu-bar{
|
|
59
|
-
border:none;
|
|
58
|
+
.ck-fullscreen__menu-bar .ck.ck-menu-bar {
|
|
59
|
+
border: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.ck.ck-fullscreen__toolbar .ck-toolbar{
|
|
63
|
-
border-left:0;
|
|
64
|
-
border-right:0;
|
|
65
|
-
border-radius:0;
|
|
62
|
+
.ck.ck-fullscreen__toolbar .ck-toolbar {
|
|
63
|
+
border-left: 0;
|
|
64
|
+
border-right: 0;
|
|
65
|
+
border-radius: 0;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper{
|
|
69
|
-
--ck-fullscreen-editor-top-margin:28px;
|
|
70
|
-
--ck-fullscreen-editor-bottom-margin:28px;
|
|
71
|
-
justify-content:flex-start;
|
|
72
|
-
max-height:100%;
|
|
73
|
-
display:flex;
|
|
74
|
-
overflow:auto;
|
|
68
|
+
.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {
|
|
69
|
+
--ck-fullscreen-editor-top-margin: 28px;
|
|
70
|
+
--ck-fullscreen-editor-bottom-margin: 28px;
|
|
71
|
+
justify-content: flex-start;
|
|
72
|
+
max-height: 100%;
|
|
73
|
+
display: flex;
|
|
74
|
+
overflow: auto;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable{
|
|
78
|
-
margin-top:var(--ck-fullscreen-editor-top-margin);
|
|
79
|
-
height:100%;
|
|
80
|
-
margin-left:auto;
|
|
77
|
+
.ck-fullscreen__main-wrapper .ck-fullscreen__editable {
|
|
78
|
+
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
79
|
+
height: 100%;
|
|
80
|
+
margin-left: auto;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable:after{
|
|
84
|
-
content:"";
|
|
85
|
-
height:var(--ck-fullscreen-editor-bottom-margin);
|
|
86
|
-
display:block;
|
|
83
|
+
.ck-fullscreen__main-wrapper .ck-fullscreen__editable:after {
|
|
84
|
+
content: "";
|
|
85
|
+
height: var(--ck-fullscreen-editor-bottom-margin);
|
|
86
|
+
display: block;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable){
|
|
90
|
-
box-sizing:border-box;
|
|
91
|
-
border:1px var(--ck-color-base-border) solid;
|
|
92
|
-
background
|
|
93
|
-
width:795.701px;
|
|
94
|
-
max-width:795.701px;
|
|
95
|
-
height:fit-content;
|
|
96
|
-
min-height:297mm;
|
|
97
|
-
margin:0;
|
|
98
|
-
padding:20mm 12mm;
|
|
99
|
-
box-shadow:0 2px 3px #00000014;
|
|
89
|
+
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
border: 1px var(--ck-color-base-border) solid;
|
|
92
|
+
background: #fff;
|
|
93
|
+
width: 795.701px;
|
|
94
|
+
max-width: 795.701px;
|
|
95
|
+
height: fit-content;
|
|
96
|
+
min-height: 297mm;
|
|
97
|
+
margin: 0;
|
|
98
|
+
padding: 20mm 12mm;
|
|
99
|
+
box-shadow: 0 2px 3px #00000014;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area{
|
|
103
|
-
width:795.701px;
|
|
102
|
+
.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {
|
|
103
|
+
width: 795.701px;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.ck-fullscreen__sidebar{
|
|
107
|
-
width:270px;
|
|
108
|
-
margin-top:var(--ck-fullscreen-editor-top-margin);
|
|
109
|
-
margin-left:10px;
|
|
106
|
+
.ck-fullscreen__sidebar {
|
|
107
|
+
width: 270px;
|
|
108
|
+
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
109
|
+
margin-left: 10px;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.ck-fullscreen__left-sidebar{
|
|
113
|
-
--ck-user-avatar-size:28px;
|
|
114
|
-
box-sizing:border-box;
|
|
115
|
-
background-color
|
|
116
|
-
flex-direction:column;
|
|
117
|
-
align-self:flex-start;
|
|
118
|
-
height:100%;
|
|
119
|
-
margin-top:0;
|
|
120
|
-
margin-right:10px;
|
|
121
|
-
font-family:Helvetica, Arial, sans-serif;
|
|
122
|
-
display:flex;
|
|
123
|
-
position:sticky;
|
|
124
|
-
top:0;
|
|
112
|
+
.ck-fullscreen__left-sidebar {
|
|
113
|
+
--ck-user-avatar-size: 28px;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
background-color: #0000;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
align-self: flex-start;
|
|
118
|
+
height: 100%;
|
|
119
|
+
margin-top: 0;
|
|
120
|
+
margin-right: 10px;
|
|
121
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
122
|
+
display: flex;
|
|
123
|
+
position: sticky;
|
|
124
|
+
top: 0;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.ck-fullscreen__left-sidebar .ck-button.ck-fullscreen__left-sidebar-toggle-button{
|
|
128
|
-
--ck-icon-size:20px;
|
|
129
|
-
--ck-ui-component-min-height:0px;
|
|
130
|
-
margin-top:var(--ck-fullscreen-editor-top-margin);
|
|
131
|
-
margin-bottom:var(--ck-spacing-large);
|
|
132
|
-
opacity
|
|
133
|
-
border-radius:100%;
|
|
134
|
-
align-self:flex-start;
|
|
135
|
-
padding-top:0;
|
|
127
|
+
.ck-fullscreen__left-sidebar .ck-button.ck-fullscreen__left-sidebar-toggle-button {
|
|
128
|
+
--ck-icon-size: 20px;
|
|
129
|
+
--ck-ui-component-min-height: 0px;
|
|
130
|
+
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
131
|
+
margin-bottom: var(--ck-spacing-large);
|
|
132
|
+
opacity: .5;
|
|
133
|
+
border-radius: 100%;
|
|
134
|
+
align-self: flex-start;
|
|
135
|
+
padding-top: 0;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky{
|
|
139
|
-
min-width:270px;
|
|
138
|
+
.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky {
|
|
139
|
+
min-width: 270px;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky:first-child{
|
|
143
|
-
padding-top:var(--ck-fullscreen-editor-top-margin);
|
|
142
|
+
.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky:first-child {
|
|
143
|
+
padding-top: var(--ck-fullscreen-editor-top-margin);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed{
|
|
147
|
-
width:65px;
|
|
146
|
+
.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed {
|
|
147
|
+
width: 65px;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed > :not(.ck-fullscreen__left-sidebar-toggle-button){
|
|
151
|
-
display:none;
|
|
150
|
+
.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed > :not(.ck-fullscreen__left-sidebar-toggle-button) {
|
|
151
|
+
display: none;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed{
|
|
155
|
-
--ck-user-avatar-size:32px;
|
|
154
|
+
.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {
|
|
155
|
+
--ck-user-avatar-size: 32px;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.ck-fullscreen__left-sidebar .ck-user, .ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text{
|
|
159
|
-
font-size
|
|
158
|
+
.ck-fullscreen__left-sidebar .ck-user, .ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {
|
|
159
|
+
font-size: .85em;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.ck-fullscreen__left-sidebar-item{
|
|
163
|
-
padding:var(--ck-spacing-medium);
|
|
164
|
-
margin-bottom:var(--ck-spacing-medium);
|
|
162
|
+
.ck-fullscreen__left-sidebar-item {
|
|
163
|
+
padding: var(--ck-spacing-medium);
|
|
164
|
+
margin-bottom: var(--ck-spacing-medium);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.ck-fullscreen__left-sidebar-item:first-child{
|
|
168
|
-
padding-top:0;
|
|
167
|
+
.ck-fullscreen__left-sidebar-item:first-child {
|
|
168
|
+
padding-top: 0;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.ck-fullscreen__left-sidebar-item:last-child{
|
|
172
|
-
margin-bottom:0;
|
|
171
|
+
.ck-fullscreen__left-sidebar-item:last-child {
|
|
172
|
+
margin-bottom: 0;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.ck-fullscreen__left-sidebar-header{
|
|
176
|
-
--ck-fullscreen-presence-list-header-font-size
|
|
177
|
-
font-size:var(--ck-fullscreen-presence-list-header-font-size);
|
|
178
|
-
color:var(--ck-document-outline-item-default-color);
|
|
179
|
-
white-space:nowrap;
|
|
180
|
-
text-overflow:ellipsis;
|
|
181
|
-
font-weight:bold;
|
|
182
|
-
overflow:hidden;
|
|
175
|
+
.ck-fullscreen__left-sidebar-header {
|
|
176
|
+
--ck-fullscreen-presence-list-header-font-size: .875em;
|
|
177
|
+
font-size: var(--ck-fullscreen-presence-list-header-font-size);
|
|
178
|
+
color: var(--ck-document-outline-item-default-color);
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
text-overflow: ellipsis;
|
|
181
|
+
font-weight: bold;
|
|
182
|
+
overflow: hidden;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.ck-fullscreen__left-sidebar--sticky{
|
|
186
|
-
position:sticky;
|
|
187
|
-
top:0;
|
|
185
|
+
.ck-fullscreen__left-sidebar--sticky {
|
|
186
|
+
position: sticky;
|
|
187
|
+
top: 0;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.ck-fullscreen__left-sidebar--sticky > :first-child{
|
|
191
|
-
padding-top:0;
|
|
190
|
+
.ck-fullscreen__left-sidebar--sticky > :first-child {
|
|
191
|
+
padding-top: 0;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.ck-fullscreen__presence-list{
|
|
195
|
-
margin-top:var(--ck-spacing-medium);
|
|
194
|
+
.ck-fullscreen__presence-list {
|
|
195
|
+
margin-top: var(--ck-spacing-medium);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
.ck-fullscreen__left-sidebar-item--no-margin{
|
|
199
|
-
margin:0;
|
|
198
|
+
.ck-fullscreen__left-sidebar-item--no-margin {
|
|
199
|
+
margin: 0;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.ck-fullscreen__left-sidebar .ck.ck-document-outline{
|
|
203
|
-
padding-top:0;
|
|
204
|
-
padding-left:0;
|
|
205
|
-
padding-right:0;
|
|
202
|
+
.ck-fullscreen__left-sidebar .ck.ck-document-outline {
|
|
203
|
+
padding-top: 0;
|
|
204
|
+
padding-left: 0;
|
|
205
|
+
padding-right: 0;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.ck-fullscreen__document-outline-wrapper{
|
|
209
|
-
padding-top:0;
|
|
210
|
-
overflow-y:auto;
|
|
208
|
+
.ck-fullscreen__document-outline-wrapper {
|
|
209
|
+
padding-top: 0;
|
|
210
|
+
overflow-y: auto;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar{
|
|
214
|
-
margin-top:var(--ck-fullscreen-editor-top-margin);
|
|
215
|
-
margin-right:auto;
|
|
213
|
+
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar {
|
|
214
|
+
margin-top: var(--ck-fullscreen-editor-top-margin);
|
|
215
|
+
margin-right: auto;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar:not(.ck-fullscreen__right-sidebar--collapsed) > :first-child{
|
|
219
|
-
min-width:270px;
|
|
218
|
+
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar:not(.ck-fullscreen__right-sidebar--collapsed) > :first-child {
|
|
219
|
+
min-width: 270px;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed{
|
|
223
|
-
width:65px;
|
|
222
|
+
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed {
|
|
223
|
+
width: 65px;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed > :first-child{
|
|
227
|
-
min-width:65px;
|
|
226
|
+
.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed > :first-child {
|
|
227
|
+
min-width: 65px;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.ck.ck-fullscreen__right-edge{
|
|
231
|
-
margin-top:0;
|
|
232
|
-
margin-left:10px;
|
|
233
|
-
position:sticky;
|
|
234
|
-
top:0;
|
|
230
|
+
.ck.ck-fullscreen__right-edge {
|
|
231
|
+
margin-top: 0;
|
|
232
|
+
margin-left: 10px;
|
|
233
|
+
position: sticky;
|
|
234
|
+
top: 0;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
.ck.ck-fullscreen__right-edge > :first-child{
|
|
238
|
-
border-top:none;
|
|
239
|
-
border-bottom:none;
|
|
240
|
-
border-right:none;
|
|
241
|
-
width:495px;
|
|
242
|
-
height:100%;
|
|
243
|
-
}
|
|
237
|
+
.ck.ck-fullscreen__right-edge > :first-child {
|
|
238
|
+
border-top: none;
|
|
239
|
+
border-bottom: none;
|
|
240
|
+
border-right: none;
|
|
241
|
+
width: 495px;
|
|
242
|
+
height: 100%;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/*# sourceMappingURL=index-editor.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../theme/fullscreen.css","index-editor.css"],"names":[],"mappings":";;;;AAOA,IAAA,CAAA,EAAA,CAAA,UAAA,CAAA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AC,CAAC,GAAG,CAAC;AACd;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Increase z-index of everything to make sure nothing sticks in front of the editor.\nDisable scrollbars that can be present due to the rest of the website content. */\nhtml.ck-fullscreen,\nbody.ck-fullscreen {\n\t--ck-z-fullscreen: 10000;\n\n\toverflow: hidden;\n\n\t--ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n\t--ck-z-panel: calc(var(--ck-z-default) + 999);\n\t--ck-z-dialog: 100000;\n\n\t/* CKBox wrappers have z-index of 9999, let's bump them over the dialog's to ensure visibility like outside fullscreen mode. */\n\t& .ckbox:not(#n) {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\n\t\t/*\n\t\t * Safari composites `overflow: auto` scroll layers (like `.ck-fullscreen__editable-wrapper`) on top of\n\t\t * sibling stacking contexts regardless of z-index. Setting `position: absolute` promotes `.ckbox` to its\n\t\t * own compositing layer, which Safari then sorts correctly above the editable wrapper's layer.\n\t\t */\n\t\tposition: absolute;\n\t}\n\n\t& .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\n\n\t& .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\n\n\t& .page-break__label {\n\t\t/* Needs to be higher than for .ck-pagination-view-line to be displayed on top of the line. */\n\t\tz-index: calc(var(--ck-z-fullscreen) + 2);\n\t}\n}\n\n/*\nFullscreen layout:\n\n<div class=\"ck ck-fullscreen__main-wrapper\">\n\t<div class=\"ck ck-fullscreen__top-wrapper ck-reset_all\">\n\t\t<div class=\"ck ck-fullscreen__menu-bar\" data-ck-fullscreen=\"menu-bar\"></div>\n\t\t<div class=\"ck ck-fullscreen__toolbar\" data-ck-fullscreen=\"toolbar\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__editable-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar\" data-ck-fullscreen=\"left-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__editable\" data-ck-fullscreen=\"editable\"></div>\n\t\t<div class=\"ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar\" data-ck-fullscreen=\"right-sidebar\"></div>\n\t\t<div class=\"ck ck-fullscreen__right-edge\" data-ck-fullscreen=\"right-edge\"></div>\n\t</div>\n\t<div class=\"ck ck-fullscreen__bottom-wrapper\">\n\t\t<div class=\"ck ck-fullscreen__body-wrapper\" data-ck-fullscreen=\"body-wrapper\"></div>\n\t</div>\n</div>\n*/\n\n.ck.ck-fullscreen__main-wrapper {\n\t/* `position: fixed` prevents the overscroll on macos that would happen with `position: absolute`. */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: var(--ck-z-fullscreen);\n\tbackground: var(--ck-color-base-foreground);\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\n}\n\n/* If the fullscreen container is not directly in the body, we need to make sure it's positioned absolutely. */\n:not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n\tposition: absolute;\n\n\t& .ck-fullscreen__top-wrapper {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\tborder-left: 1px solid var(--ck-color-base-border);\n\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\tborder-radius: var(--ck-border-radius) 0;\n\t}\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\n}\n\n.ck.ck-fullscreen__toolbar .ck-toolbar {\n\tborder-left: 0;\n\tborder-right: 0;\n\tborder-radius: 0;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n\t--ck-fullscreen-editor-top-margin: 28px;\n\t--ck-fullscreen-editor-bottom-margin: 28px;\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\toverflow: auto;\n\tmax-height: 100%;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\theight: 100%;\n\tmargin-left: auto;\n\n\t&::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\t/* Make sure the border is taken into account. */\n\twidth: calc(210mm + 2px);\n\t/* Make sure the border is taken into account. */\n\tmax-width: calc(210mm + 2px);\n\tmin-height: 297mm;\n\theight: fit-content;\n\t/* Reset margins that may be present on editable. We add them in other places. */\n\tmargin: 0;\n\tpadding: 20mm 12mm;\n\tborder: 1px var(--ck-color-base-border) solid;\n\tbackground: hsl(0, 0%, 100%);\n\tbox-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n\twidth: calc(210mm + 2px);\n}\n\n.ck-fullscreen__sidebar {\n\twidth: 270px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n}\n\n.ck-fullscreen__left-sidebar {\n\tfont-family: Helvetica, Arial, sans-serif;\n\t--ck-user-avatar-size: 28px;\n\tposition: sticky;\n\talign-self: flex-start;\n\ttop: 0;\n\theight: 100%;\n\tbackground-color: transparent;\n\tmargin-top: 0px;\n\tmargin-right: 10px;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-button.ck-fullscreen__left-sidebar-toggle-button {\n\t\t--ck-icon-size: 20px;\n\t\t--ck-ui-component-min-height: 0px;\n\n\t\talign-self: flex-start;\n\t\tpadding-top: 0;\n\t\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t\topacity: 0.5;\n\t\tborder-radius: 100%;\n\t}\n\n\t> .ck-fullscreen__left-sidebar-sticky {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 270px;\n\n\t\t&:first-child {\n\t\t\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n\t\t}\n\t}\n\n\t&.ck-fullscreen__left-sidebar--collapsed {\n\t\twidth: 65px;\n\n\t\t> :not(.ck-fullscreen__left-sidebar-toggle-button) {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n\t--ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar .ck-user {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n\tfont-size: 0.85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n\tpadding: var(--ck-spacing-medium);\n\tmargin-bottom: var(--ck-spacing-medium);\n\n\t/* First header should not have top padding. */\n\t&:first-child {\n\t\tpadding-top: 0;\n\t}\n\n\t&:last-child {\n\t\tmargin-bottom: 0;\n\t}\n}\n\n.ck-fullscreen__left-sidebar-header {\n\t--ck-fullscreen-presence-list-header-font-size: 0.875em;\n\tfont-size: var(--ck-fullscreen-presence-list-header-font-size);\n\tfont-weight: bold;\n\tcolor: var(--ck-document-outline-item-default-color);\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n\tposition: sticky;\n\ttop: 0;\n\n\t& > :first-child {\n\t\tpadding-top: 0;\n\t}\n}\n\n.ck-fullscreen__presence-list {\n\tmargin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n\tmargin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tpadding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n\tpadding-top: 0;\n\toverflow-y: auto;\n}\n\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar {\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-right: auto;\n\n\t&:not(.ck-fullscreen__right-sidebar--collapsed) > :first-child {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 270px;\n\t}\n\n\t&.ck-fullscreen__right-sidebar--collapsed {\n\t\twidth: 65px;\n\n\t\t& > :first-child {\n\t\t\tmin-width: 65px;\n\t\t}\n\t}\n}\n\n.ck.ck-fullscreen__right-edge {\n\tposition: sticky;\n\ttop: 0;\n\tmargin-top: 0;\n\tmargin-left: 10px;\n\n\t& > :first-child {\n\t\tborder-top: none;\n\t\tborder-bottom: none;\n\t\tborder-right: none;\n\t\theight: 100%;\n\t\twidth: 495px;\n\t}\n}\n","html.ck-fullscreen, body.ck-fullscreen {\n --ck-z-fullscreen: 10000;\n --ck-z-default: calc(var(--ck-z-fullscreen) + 1);\n --ck-z-panel: calc(var(--ck-z-default) + 999);\n --ck-z-dialog: 100000;\n overflow: hidden;\n}\n\n:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n) {\n --ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n position: absolute;\n}\n\n:is(html.ck-fullscreen, body.ck-fullscreen) .ckbox:not(#n) .ckbox-img-editor {\n --ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n}\n\n:is(html.ck-fullscreen, body.ck-fullscreen) .ck-pagination-view-line {\n z-index: calc(var(--ck-z-fullscreen) + 1);\n}\n\n:is(html.ck-fullscreen, body.ck-fullscreen) .page-break__label {\n z-index: calc(var(--ck-z-fullscreen) + 2);\n}\n\n.ck.ck-fullscreen__main-wrapper {\n width: 100%;\n height: 100%;\n z-index: var(--ck-z-fullscreen);\n background: var(--ck-color-base-foreground);\n flex-direction: column;\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {\n position: absolute;\n}\n\n:not(body > .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper .ck-fullscreen__top-wrapper {\n border-top: 1px solid var(--ck-color-base-border);\n border-left: 1px solid var(--ck-color-base-border);\n border-right: 1px solid var(--ck-color-base-border);\n border-radius: var(--ck-border-radius) 0;\n}\n\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n border: none;\n}\n\n.ck.ck-fullscreen__toolbar .ck-toolbar {\n border-left: 0;\n border-right: 0;\n border-radius: 0;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {\n --ck-fullscreen-editor-top-margin: 28px;\n --ck-fullscreen-editor-bottom-margin: 28px;\n justify-content: flex-start;\n max-height: 100%;\n display: flex;\n overflow: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable {\n margin-top: var(--ck-fullscreen-editor-top-margin);\n height: 100%;\n margin-left: auto;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable:after {\n content: \"\";\n height: var(--ck-fullscreen-editor-bottom-margin);\n display: block;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n box-sizing: border-box;\n border: 1px var(--ck-color-base-border) solid;\n background: #fff;\n width: 795.701px;\n max-width: 795.701px;\n height: fit-content;\n min-height: 297mm;\n margin: 0;\n padding: 20mm 12mm;\n box-shadow: 0 2px 3px #00000014;\n}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area {\n width: 795.701px;\n}\n\n.ck-fullscreen__sidebar {\n width: 270px;\n margin-top: var(--ck-fullscreen-editor-top-margin);\n margin-left: 10px;\n}\n\n.ck-fullscreen__left-sidebar {\n --ck-user-avatar-size: 28px;\n box-sizing: border-box;\n background-color: #0000;\n flex-direction: column;\n align-self: flex-start;\n height: 100%;\n margin-top: 0;\n margin-right: 10px;\n font-family: Helvetica, Arial, sans-serif;\n display: flex;\n position: sticky;\n top: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck-button.ck-fullscreen__left-sidebar-toggle-button {\n --ck-icon-size: 20px;\n --ck-ui-component-min-height: 0px;\n margin-top: var(--ck-fullscreen-editor-top-margin);\n margin-bottom: var(--ck-spacing-large);\n opacity: .5;\n border-radius: 100%;\n align-self: flex-start;\n padding-top: 0;\n}\n\n.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky {\n min-width: 270px;\n}\n\n.ck-fullscreen__left-sidebar > .ck-fullscreen__left-sidebar-sticky:first-child {\n padding-top: var(--ck-fullscreen-editor-top-margin);\n}\n\n.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed {\n width: 65px;\n}\n\n.ck-fullscreen__left-sidebar.ck-fullscreen__left-sidebar--collapsed > :not(.ck-fullscreen__left-sidebar-toggle-button) {\n display: none;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {\n --ck-user-avatar-size: 32px;\n}\n\n.ck-fullscreen__left-sidebar .ck-user, .ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text {\n font-size: .85em;\n}\n\n.ck-fullscreen__left-sidebar-item {\n padding: var(--ck-spacing-medium);\n margin-bottom: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item:first-child {\n padding-top: 0;\n}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n margin-bottom: 0;\n}\n\n.ck-fullscreen__left-sidebar-header {\n --ck-fullscreen-presence-list-header-font-size: .875em;\n font-size: var(--ck-fullscreen-presence-list-header-font-size);\n color: var(--ck-document-outline-item-default-color);\n white-space: nowrap;\n text-overflow: ellipsis;\n font-weight: bold;\n overflow: hidden;\n}\n\n.ck-fullscreen__left-sidebar--sticky {\n position: sticky;\n top: 0;\n}\n\n.ck-fullscreen__left-sidebar--sticky > :first-child {\n padding-top: 0;\n}\n\n.ck-fullscreen__presence-list {\n margin-top: var(--ck-spacing-medium);\n}\n\n.ck-fullscreen__left-sidebar-item--no-margin {\n margin: 0;\n}\n\n.ck-fullscreen__left-sidebar .ck.ck-document-outline {\n padding-top: 0;\n padding-left: 0;\n padding-right: 0;\n}\n\n.ck-fullscreen__document-outline-wrapper {\n padding-top: 0;\n overflow-y: auto;\n}\n\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar {\n margin-top: var(--ck-fullscreen-editor-top-margin);\n margin-right: auto;\n}\n\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar:not(.ck-fullscreen__right-sidebar--collapsed) > :first-child {\n min-width: 270px;\n}\n\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed {\n width: 65px;\n}\n\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar.ck-fullscreen__right-sidebar--collapsed > :first-child {\n min-width: 65px;\n}\n\n.ck.ck-fullscreen__right-edge {\n margin-top: 0;\n margin-left: 10px;\n position: sticky;\n top: 0;\n}\n\n.ck.ck-fullscreen__right-edge > :first-child {\n border-top: none;\n border-bottom: none;\n border-right: none;\n width: 495px;\n height: 100%;\n}\n\n/*# sourceMappingURL=index-editor.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,4 +13,6 @@ export { FullscreenAbstractEditorHandler } from "./handlers/abstracteditorhandle
|
|
|
13
13
|
export { FullscreenClassicEditorHandler } from "./handlers/classiceditorhandler.js";
|
|
14
14
|
export { FullscreenDecoupledEditorHandler } from "./handlers/decouplededitorhandler.js";
|
|
15
15
|
export type { FullscreenConfig } from "./fullscreenconfig.js";
|
|
16
|
+
import "../theme/index-editor.css";
|
|
17
|
+
import "../theme/index-content.css";
|
|
16
18
|
import "./augmentation.js";
|
package/dist/index.js
CHANGED
|
@@ -4,9 +4,80 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Command, Plugin } from "@ckeditor/ckeditor5-core";
|
|
6
6
|
import { Rect, ResizeObserver, createElement, env, global } from "@ckeditor/ckeditor5-utils";
|
|
7
|
-
import { BodyCollection, ButtonView, DialogViewPosition, MenuBarMenuListItemButtonView, MenuBarView } from "@ckeditor/ckeditor5-ui";
|
|
7
|
+
import { BalloonPanelView, BodyCollection, ButtonView, DialogViewPosition, MenuBarMenuListItemButtonView, MenuBarView } from "@ckeditor/ckeditor5-ui";
|
|
8
8
|
import { IconDocumentOutlineToggle, IconFullscreenEnter, IconFullscreenLeave, IconPreviousArrow } from "@ckeditor/ckeditor5-icons";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
12
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @module fullscreen/handlers/integrations/contextualballoon
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Registers a `getPositionOptions` correction on the ContextualBalloon plugin so that
|
|
19
|
+
* balloons are offset below the fullscreen toolbar and menu bar.
|
|
20
|
+
*/
|
|
21
|
+
function registerFullscreenBalloonOffsetCorrection(editor, wrapper) {
|
|
22
|
+
if (!editor.plugins.has("ContextualBalloon")) return () => {};
|
|
23
|
+
const contextualBalloon = editor.plugins.get("ContextualBalloon");
|
|
24
|
+
const fullscreenStickyNorth = createFullscreenStickyNorthPosition(wrapper);
|
|
25
|
+
const listener = (evt) => {
|
|
26
|
+
const result = evt.return;
|
|
27
|
+
if (!result?.positions?.includes(BalloonPanelView.defaultPositions.viewportStickyNorth)) return;
|
|
28
|
+
const topBarHeight = getFullscreenTopBarHeight(wrapper);
|
|
29
|
+
if (!topBarHeight) return;
|
|
30
|
+
const viewportOffsetConfig = { ...result.viewportOffsetConfig };
|
|
31
|
+
evt.return = {
|
|
32
|
+
...result,
|
|
33
|
+
positions: [...result.positions, fullscreenStickyNorth],
|
|
34
|
+
viewportOffsetConfig: {
|
|
35
|
+
...viewportOffsetConfig,
|
|
36
|
+
top: (viewportOffsetConfig.top || 0) + topBarHeight
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
contextualBalloon.on("getPositionOptions", listener, { priority: "low" });
|
|
41
|
+
if (contextualBalloon.visibleView) contextualBalloon.updatePosition();
|
|
42
|
+
return () => {
|
|
43
|
+
contextualBalloon.off("getPositionOptions", listener);
|
|
44
|
+
if (contextualBalloon.visibleView) contextualBalloon.updatePosition();
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A drop-in replacement for `BalloonPanelView.defaultPositions.viewportStickyNorth` for fullscreen mode.
|
|
49
|
+
*
|
|
50
|
+
* The original uses `document.body` as the scrollable boundary. In fullscreen the editor sits in a
|
|
51
|
+
* `position: fixed` wrapper that is removed from normal document flow, so the body may shrink to just
|
|
52
|
+
* a few pixels - less than the toolbar height. When that happens the body no longer intersects the
|
|
53
|
+
* constrained viewport and the function returns `null`, causing the balloon to fall back to a position
|
|
54
|
+
* that overlaps the toolbar.
|
|
55
|
+
*/
|
|
56
|
+
function createFullscreenStickyNorthPosition(wrapper) {
|
|
57
|
+
const { stickyVerticalOffset } = BalloonPanelView;
|
|
58
|
+
return (targetRect, balloonRect, viewportRect) => {
|
|
59
|
+
const boundaryRect = new Rect(wrapper).getIntersection(viewportRect.getVisible());
|
|
60
|
+
if (!boundaryRect) return null;
|
|
61
|
+
const visibleBoundaryRect = boundaryRect.getVisible();
|
|
62
|
+
if (!targetRect.getIntersection(visibleBoundaryRect)) return null;
|
|
63
|
+
if (!(visibleBoundaryRect.top - targetRect.top - stickyVerticalOffset < balloonRect.height && visibleBoundaryRect.bottom - targetRect.bottom < balloonRect.height)) return null;
|
|
64
|
+
return {
|
|
65
|
+
top: visibleBoundaryRect.top + stickyVerticalOffset,
|
|
66
|
+
left: targetRect.left + targetRect.width / 2 - balloonRect.width / 2,
|
|
67
|
+
name: "arrowless",
|
|
68
|
+
config: { withArrow: false }
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns the combined height of the toolbar and menu-bar slots inside the fullscreen wrapper.
|
|
74
|
+
*/
|
|
75
|
+
function getFullscreenTopBarHeight(wrapper) {
|
|
76
|
+
const toolbarSlot = wrapper.querySelector("[data-ck-fullscreen=\"toolbar\"]");
|
|
77
|
+
const menuBarSlot = wrapper.querySelector("[data-ck-fullscreen=\"menu-bar\"]");
|
|
78
|
+
return (toolbarSlot ? new Rect(toolbarSlot).height : 0) + (menuBarSlot ? new Rect(menuBarSlot).height : 0);
|
|
79
|
+
}
|
|
80
|
+
|
|
10
81
|
/**
|
|
11
82
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
12
83
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -131,6 +202,10 @@ var FullscreenAbstractEditorHandler = class {
|
|
|
131
202
|
*/
|
|
132
203
|
_forceShowLeftSidebar = false;
|
|
133
204
|
/**
|
|
205
|
+
* A cleanup function returned by `registerFullscreenBalloonOffsetCorrection`.
|
|
206
|
+
*/
|
|
207
|
+
_disableContextualBalloonPositionHandler = () => {};
|
|
208
|
+
/**
|
|
134
209
|
* A callback that hides the document outline header when the source editing mode is enabled.
|
|
135
210
|
* Document outline element itself is hidden by source editing plugin.
|
|
136
211
|
*/
|
|
@@ -277,6 +352,7 @@ var FullscreenAbstractEditorHandler = class {
|
|
|
277
352
|
};
|
|
278
353
|
this._adjustVisibleElements();
|
|
279
354
|
this._setupResizeObserver();
|
|
355
|
+
this._disableContextualBalloonPositionHandler = registerFullscreenBalloonOffsetCorrection(this._editor, this.getWrapper());
|
|
280
356
|
if (this._editor.config.get("fullscreen.onEnterCallback")) this._editor.config.get("fullscreen.onEnterCallback")(this.getWrapper());
|
|
281
357
|
}
|
|
282
358
|
/**
|
|
@@ -312,6 +388,7 @@ var FullscreenAbstractEditorHandler = class {
|
|
|
312
388
|
this._paginationBodyCollection?.destroy();
|
|
313
389
|
}
|
|
314
390
|
if (this._editor.plugins.has("Dialog")) this._unregisterFullscreenDialogPositionAdjustments();
|
|
391
|
+
this._disableContextualBalloonPositionHandler();
|
|
315
392
|
this._keepLeftSidebarHidden = false;
|
|
316
393
|
this._resizeObserver?.destroy();
|
|
317
394
|
}
|
|
@@ -619,6 +696,7 @@ var FullscreenAbstractEditorHandler = class {
|
|
|
619
696
|
if (editableWrapper.scrollWidth > editableWrapper.clientWidth) this._hideRightSidebar();
|
|
620
697
|
} else {
|
|
621
698
|
let actualWidth = [...editableWrapper.children].reduce((acc, child) => acc + child.scrollWidth, 0);
|
|
699
|
+
/* v8 ignore else -- @preserve */
|
|
622
700
|
if (actualWidth + this._sidebarsWidths.right < editableWrapper.clientWidth) {
|
|
623
701
|
this._showRightSidebar();
|
|
624
702
|
actualWidth = [...editableWrapper.children].reduce((acc, child) => acc + child.scrollWidth, 0);
|