@ckeditor/ckeditor5-fullscreen 45.1.0 → 45.2.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.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var e={21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var r={},o=[],l=0;l<e.length;l++){var a=e[l],c=n.base?a[0]+n.base:a[0],d=r[c]||0,u="".concat(c," ").concat(d);r[c]=d+1;var h=i(u),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=s(p,n);n.byIndex=l,t.splice(l,0,{identifier:u,updater:f,references:1})}o.push(u)}return o}function s(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,s){var r=n(e=e||[],s=s||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var l=i(r[o]);t[l].references--}for(var a=n(e,s),c=0;c<r.length;c++){var d=i(r[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=a}}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,r);else{var l=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(l,a[t]):e.appendChild(l)}}var s={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=s.singletonCounter++,i=s.singleton||(s.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},758:e=>{"use strict";e.exports=function(e){return e[1]}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,s,r){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&o[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),s&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=s):d[4]="".concat(s)),t.push(d))}},t}},998:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(758),s=i.n(n),r=i(935),o=i.n(r)()(s());o.push([e.id,'body.ck-fullscreen,html.ck-fullscreen{--ck-z-fullscreen:10000;overflow:hidden;--ck-z-default:calc(var(--ck-z-fullscreen) + 1);--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:100000}body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog,html.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog{--ckbox-z-index-root:calc(var(--ck-z-dialog) + 1)}body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor,html.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor{--ckbox-z-index-preview:calc(var(--ck-z-dialog) + 1)}body.ck-fullscreen .ck-pagination-view-line,html.ck-fullscreen .ck-pagination-view-line{z-index:calc(var(--ck-z-fullscreen) + 1)}body.ck-fullscreen .page-break__label,html.ck-fullscreen .page-break__label{z-index:calc(var(--ck-z-fullscreen) + 2)}.ck.ck-fullscreen__main-wrapper{background:var(--ck-color-base-foreground);display:flex;flex-direction:column;height:100%;left:0;position:fixed;top:0;width:100%;z-index:var(--ck-z-fullscreen)}.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation{margin-bottom:0;margin-top:0}:not(body>.ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper{position:absolute}.ck-fullscreen__menu-bar .ck.ck-menu-bar{border:none}.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper{--ck-fullscreen-editor-top-margin:28px;--ck-fullscreen-editor-bottom-margin:28px;display:flex;justify-content:flex-start;max-height:100%;overflow:auto}.ck-fullscreen__sidebar{flex-shrink:0;margin-left:10px;margin-top:var(--ck-fullscreen-editor-top-margin);width:300px}.ck-fullscreen__sidebar[data-ck-fullscreen=right-sidebar]{margin-right:auto}.ck-fullscreen__main-wrapper .ck-fullscreen__editable{height:100%;margin-left:auto;margin-top:var(--ck-fullscreen-editor-top-margin)}.ck-fullscreen__main-wrapper .ck-fullscreen__editable:after{content:"";display:block;height:var(--ck-fullscreen-editor-bottom-margin)}.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable){background:#fff;border:1px solid var(--ck-color-base-border);box-shadow:0 2px 3px rgba(0,0,0,.078);box-sizing:border-box;height:fit-content;margin:0;max-width:210.52917mm;min-height:297mm;padding:20mm 12mm;width:210.52917mm}.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area{width:210.52917mm}.ck-fullscreen__left-sidebar{font-family:Helvetica,Arial,sans-serif;--ck-user-avatar-size:28px;align-self:flex-start;background-color:transparent;box-sizing:border-box;display:flex;flex-direction:column;height:100%;margin-top:0;position:sticky;top:0}.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed{--ck-user-avatar-size:32px}.ck-fullscreen__left-sidebar>:first-child{padding-top:var(--ck-fullscreen-editor-top-margin)}.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text,.ck-fullscreen__left-sidebar .ck-user{font-size:.85em}.ck-fullscreen__left-sidebar-item{margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}.ck-fullscreen__left-sidebar-item:last-child{margin-bottom:0}.ck-fullscreen__left-sidebar-header{--ck-fullscreen-presence-list-header-font-size:0.875em;color:var(--ck-document-outline-item-default-color);font-size:var(--ck-fullscreen-presence-list-header-font-size);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-fullscreen__left-sidebar--sticky{position:sticky;top:0}.ck-fullscreen__left-sidebar--sticky>:first-child{padding-top:0}.ck-fullscreen__presence-list{margin-top:var(--ck-spacing-medium)}.ck-fullscreen__left-sidebar-item--no-margin{margin:0}.ck-fullscreen__left-sidebar .ck.ck-document-outline{padding-left:0;padding-right:0;padding-top:0}.ck-fullscreen__document-outline-wrapper{overflow-y:auto;padding-top:0}',""]);const l=o}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var r=t[n]={id:n,exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AbstractEditorHandler:()=>r,Fullscreen:()=>x,FullscreenEditing:()=>c,FullscreenUI:()=>C});var e=i(782),t=i(584),s=i(311);class r{_placeholderMap;_wrapper=null;_document;_annotationsUIsData=null;_paginationBodyCollection=null;_sourceEditingCallback=(e,t,i)=>{this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display=i?"none":""};_hiddenElements=new Map;_savedAncestorsScrollPositions=new Map;_showRevisionViewerCallback=null;_closeRevisionViewerCallback=null;constructor(e){this._placeholderMap=new Map,e.plugins.has("RevisionHistory")&&(this._showRevisionViewerCallback=e.config.get("revisionHistory").showRevisionViewerCallback,this._closeRevisionViewerCallback=e.config.get("revisionHistory").closeRevisionViewerCallback),this._editor=e,this._document=this._editor.sourceElement?this._editor.sourceElement.ownerDocument:t.global.document,this._editor.config.define("fullscreen.container",this._document.body),e.on("destroy",(()=>{this._wrapper&&this.destroy()}))}moveToFullscreen(e,i){const n=(0,t.createElement)(this._document,"div");n.setAttribute("data-ck-fullscreen-placeholder",i),e.replaceWith(n),this.getWrapper().querySelector(`[data-ck-fullscreen="${i}"]`).append(e),this._placeholderMap.set(i,{placeholderElement:n,movedElement:e})}restoreMovedElementLocation(e){if(!this._placeholderMap.has(e))return;const{placeholderElement:t,movedElement:i}=this._placeholderMap.get(e);t.replaceWith(i),t.remove(),this._placeholderMap.delete(e),0===this._placeholderMap.size&&this._destroyContainer()}getWrapper(){return this._wrapper||(this._wrapper=(0,t.createElement)(this._document,"div",{class:"ck ck-fullscreen__main-wrapper"}),this._wrapper.innerHTML='\n\t\t\t\t<div class="ck ck-fullscreen__top-wrapper ck-reset_all">\n\t\t\t\t\t<div class="ck ck-fullscreen__menu-bar" data-ck-fullscreen="menu-bar"></div>\n\t\t\t\t\t<div class="ck ck-fullscreen__toolbar" data-ck-fullscreen="toolbar"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class="ck ck-fullscreen__editable-wrapper">\n\t\t\t\t\t<div class="ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar" data-ck-fullscreen="left-sidebar">\n\t\t\t\t\t\t<div class="ck ck-fullscreen__left-sidebar--sticky" data-ck-fullscreen="left-sidebar-sticky"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="ck ck-fullscreen__editable" data-ck-fullscreen="editable">\n\t\t\t\t\t\t<div class="ck ck-fullscreen__pagination-view" data-ck-fullscreen="pagination-view"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar" data-ck-fullscreen="right-sidebar"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class="ck ck-fullscreen__bottom-wrapper">\n\t\t\t\t\t<div class="ck ck-fullscreen__body-wrapper" data-ck-fullscreen="body-wrapper"></div>\n\t\t\t\t</div>\n\t\t\t',this._editor.config.get("fullscreen.container").appendChild(this._wrapper)),this._wrapper}enable(){if(this._saveAncestorsScrollPositions(this._editor.ui.getEditableElement()),this.defaultOnEnter(),this._editor.config.get("fullscreen.container")===this._document.body&&(this._document.body.classList.add("ck-fullscreen"),this._document.body.parentElement.classList.add("ck-fullscreen")),this._editor.plugins.has("Dialog")&&this._registerFullscreenDialogPositionAdjustments(),this._editor.plugins.has("PresenceListUI")&&this._generatePresenceListContainer(),this._editor.plugins.has("DocumentOutlineUI")&&this._generateDocumentOutlineContainer(),this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled){const e=this._editor.plugins.get("PaginationRenderer");e.setupScrollableAncestor(),this._paginationBodyCollection=new s.BodyCollection(this._editor.locale),this._paginationBodyCollection.attachToDom(),e.linesRepository.setViewCollection(this._paginationBodyCollection),this._editor.once("destroy",(()=>{this._paginationBodyCollection.detachFromDom()})),this.moveToFullscreen(this._paginationBodyCollection.bodyCollectionContainer,"body-wrapper")}this._editor.plugins.has("AnnotationsUIs")&&this._overrideAnnotationsUIs(),this._editor.plugins.has("RevisionHistory")&&(this._editor.plugins.get("RevisionHistory").isRevisionViewerOpen&&this._editor.config.get("revisionHistory.closeRevisionViewerCallback")(),this._overrideRevisionHistoryCallbacks()),this._editor.plugins.has("SourceEditing")&&this._editor.plugins.has("DocumentOutlineUI")&&this._editor.plugins.get("SourceEditing").on("change:isSourceEditingMode",this._sourceEditingCallback);for(const e of this._editor.config.get("fullscreen.container").children)e===this._wrapper||e.classList.contains("ck-body-wrapper")||e.classList.contains("ckbox-wrapper")||"none"===e.style.display||(this._hiddenElements.set(e,e.style.display),e.style.display="none");this._editor.config.get("fullscreen.onEnterCallback")&&this._editor.config.get("fullscreen.onEnterCallback")(this.getWrapper())}disable(){this._editor.config.get("fullscreen.onLeaveCallback")&&this._editor.config.get("fullscreen.onLeaveCallback")(this.getWrapper()),this._document.body.classList.remove("ck-fullscreen"),this._document.body.parentElement.classList.remove("ck-fullscreen"),this._editor.plugins.has("DocumentOutlineUI")&&this._restoreDocumentOutlineDefaultContainer(),this._annotationsUIsData&&this._restoreAnnotationsUIs(),this._editor.plugins.has("RevisionHistory")&&this._restoreRevisionHistoryCallbacks(),this._editor.plugins.has("SourceEditing")&&this._editor.plugins.has("DocumentOutlineUI")&&this._editor.plugins.get("SourceEditing").off("change:isSourceEditingMode",this._sourceEditingCallback);for(const e of this._placeholderMap.keys())this.restoreMovedElementLocation(e);this._destroyContainer(),this._editor.ui.view.toolbar&&this._editor.ui.view.toolbar.switchBehavior(!0===this._editor.config.get("toolbar.shouldNotGroupWhenFull")?"static":"dynamic");for(const[e,t]of this._savedAncestorsScrollPositions)e.scrollTo({left:t.scrollLeft,top:t.scrollTop,behavior:"instant"});if(this._savedAncestorsScrollPositions.clear(),this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled){const e=this._editor.plugins.get("PaginationRenderer");e.setupScrollableAncestor(),e.linesRepository.setViewCollection(this._editor.ui.view.body),this._paginationBodyCollection.detachFromDom(),this._paginationBodyCollection?.destroy()}this._editor.plugins.has("Dialog")&&this._unregisterFullscreenDialogPositionAdjustments()}destroy(){for(const{placeholderElement:e,movedElement:t}of this._placeholderMap.values())e.remove(),t.remove();this._destroyContainer(),this._document.body.classList.remove("ck-fullscreen"),this._document.body.parentElement.classList.remove("ck-fullscreen")}defaultOnEnter(){return this.getWrapper()}_destroyContainer(){if(this._wrapper){this._wrapper.remove(),this._wrapper=null;for(const[e,t]of this._hiddenElements)e.style.display=t;this._hiddenElements.clear()}}_generatePresenceListContainer(){const e=this._editor.t,i=(0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-item"});i.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__left-sidebar-header"></div>\n\t\t\t<div class="ck ck-fullscreen__presence-list" data-ck-fullscreen="presence-list"></div>\n\t\t',i.firstElementChild.innerText=e("Connected users"),document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(i);const n=this._editor.plugins.get("PresenceListUI");this.moveToFullscreen(n.view.element,"presence-list")}_generateDocumentOutlineContainer(){const e=this._editor.t,i=(0,t.createElement)(document,"div",{class:"ck-fullscreen__left-sidebar-item ck-fullscreen__left-sidebar-item--no-margin"});i.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__left-sidebar-header ck-fullscreen__document-outline-header"></div>\n\t\t',i.firstElementChild.innerText=e("Document outline");const n=(0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-item ck-fullscreen__document-outline-wrapper"});n.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__document-outline" data-ck-fullscreen="document-outline"></div>\n\t\t',document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild(n),document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(i);const s=this._editor.plugins.get("DocumentOutlineUI");s.view.documentOutlineContainer=document.querySelector('[data-ck-fullscreen="left-sidebar"]'),this.moveToFullscreen(s.view.element,"document-outline")}_restoreDocumentOutlineDefaultContainer(){const e=this._editor.plugins.get("DocumentOutlineUI");e.view.documentOutlineContainer=e.view.element}_overrideAnnotationsUIs(){const e=this._editor.plugins.get("AnnotationsUIs");this._annotationsUIsData=new Map(e.uisData);const t=new Map;for(const[i,n]of[...this._annotationsUIsData])n.filter!==e.defaultFilter&&t.set(i,n.filter);e.deactivateAll();const i=this._editor.plugins.get("Sidebar");function n(){t.has("wideSidebar")?e.activate("wideSidebar",t.get("wideSidebar")):t.size?e.activate("wideSidebar",(e=>[...t.values()].some((t=>t(e))))):e.switchTo("wideSidebar")}i.container?(n(),this.moveToFullscreen(i.container.firstElementChild,"right-sidebar"),i.setContainer(this.getWrapper().querySelector('[data-ck-fullscreen="right-sidebar"]'))):(i.setContainer(this.getWrapper().querySelector('[data-ck-fullscreen="right-sidebar"]')),n(),this.moveToFullscreen(i.container.firstElementChild,"right-sidebar"))}_restoreAnnotationsUIs(){const e=this._editor.plugins.get("Sidebar"),t=e.context.config.get("sidebar.container");t&&e.setContainer(t);const i=this._editor.plugins.get("AnnotationsUIs");i.deactivateAll();for(const[e,t]of[...this._annotationsUIsData])i.activate(e,t.filter);this._annotationsUIsData=null}_overrideRevisionHistoryCallbacks(){this._editor.config.set("revisionHistory.showRevisionViewerCallback",(async()=>{const e=await this._showRevisionViewerCallback();return this._editor.plugins.has("DocumentOutlineUI")&&(this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display="none"),this.restoreMovedElementLocation("editable"),this.restoreMovedElementLocation("toolbar"),this.restoreMovedElementLocation("right-sidebar"),this._annotationsUIsData&&this._restoreAnnotationsUIs(),this._editor.ui.view.menuBarView&&this._editor.ui.view.menuBarView.disable(),this.moveToFullscreen(e.ui.getEditableElement(),"editable"),this.moveToFullscreen(e.ui.view.toolbar.element,"toolbar"),this.moveToFullscreen(this._editor.config.get("revisionHistory.viewerSidebarContainer"),"right-sidebar"),e})),this._editor.config.set("revisionHistory.closeRevisionViewerCallback",(async()=>{this.restoreMovedElementLocation("toolbar"),this.restoreMovedElementLocation("editable"),this.restoreMovedElementLocation("right-sidebar"),this._editor.plugins.has("DocumentOutlineUI")&&(this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display=""),this.moveToFullscreen(this._editor.ui.getEditableElement(),"editable"),this.moveToFullscreen(this._editor.ui.view.toolbar.element,"toolbar"),await this._closeRevisionViewerCallback(),this._editor.plugins.has("AnnotationsUIs")&&this._overrideAnnotationsUIs(),this._editor.ui.view.menuBarView&&this._editor.ui.view.menuBarView.enable()}))}_restoreRevisionHistoryCallbacks(){this._editor.config.set("revisionHistory.showRevisionViewerCallback",(async()=>this._showRevisionViewerCallback())),this._editor.config.set("revisionHistory.closeRevisionViewerCallback",(async()=>this._closeRevisionViewerCallback()))}_registerFullscreenDialogPositionAdjustments(){const e=this._editor.plugins.get("Dialog");this._setNewDialogPosition(),e.on("change:isOpen",this.updateDialogPositionCallback,{priority:"highest"})}_unregisterFullscreenDialogPositionAdjustments(){const e=this._editor.plugins.get("Dialog"),t=e.view;t&&null===t.position&&(t.position=s.DialogViewPosition.EDITOR_TOP_SIDE),t&&t.updatePosition(),e.off("change:isOpen",this.updateDialogPositionCallback)}updateDialogPositionCallback=this._updateDialogPosition.bind(this);_updateDialogPosition(e,t,i){i&&this._setNewDialogPosition()}_setNewDialogPosition(){const e=this._editor.plugins.get("Dialog").view;if(!e||e.position!==s.DialogViewPosition.EDITOR_TOP_SIDE)return;const i=new t.Rect(this._wrapper).getVisible(),n=new t.Rect(document.querySelector(".ck-fullscreen__editable")).getVisible(),r=new t.Rect(e.element.querySelector(".ck-dialog")).getVisible(),o=new t.Rect(document.querySelector(".ck-fullscreen__editable-wrapper")).excludeScrollbarsAndBorders().getVisible().width-new t.Rect(document.querySelector(".ck-fullscreen__editable-wrapper")).getVisible().width;i&&n&&r&&(e.position=null,e.moveTo(i.left+i.width-r.width-28+o,n.top))}_saveAncestorsScrollPositions(e){let i=e.parentElement;if(i)for(;i;){const e=i.style.overflowY||t.global.window.getComputedStyle(i).overflowY,n=i.style.overflowX||t.global.window.getComputedStyle(i).overflowX;("auto"===e||"scroll"===e||"auto"===n||"scroll"===n||"HTML"===i.tagName)&&this._savedAncestorsScrollPositions.set(i,{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}),i=i.parentElement}}}class o extends r{_editor;constructor(e){super(e),this._editor=e}defaultOnEnter(){const e=this._editor.ui,t=e.view;return this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled&&this.moveToFullscreen(e.getEditableElement().parentElement.querySelector(".ck-pagination-view"),"pagination-view"),this.moveToFullscreen(e.getEditableElement(),"editable"),this.moveToFullscreen(t.toolbar.element,"toolbar"),t.toolbar.switchBehavior(!0===this._editor.config.get("fullscreen.toolbar.shouldNotGroupWhenFull")?"static":"dynamic"),this.getWrapper().setAttribute("dir",t.element.getAttribute("dir")),this.getWrapper().classList.add("ck-rounded-corners"),this._editor.config.get("fullscreen.menuBar.isVisible")&&(t.menuBarView||(t.menuBarView=new s.MenuBarView(this._editor.locale),t.menuBarView.render(),e.initMenuBar(t.menuBarView)),this.moveToFullscreen(t.menuBarView.element,"menu-bar")),this.getWrapper()}}class l extends r{_editor;constructor(e){super(e),this._editor=e}defaultOnEnter(){return this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled&&this.moveToFullscreen(this._editor.ui.getEditableElement().parentElement.querySelector(".ck-pagination-view"),"pagination-view"),this.moveToFullscreen(this._editor.ui.getEditableElement(),"editable"),this.moveToFullscreen(this._editor.ui.view.toolbar.element,"toolbar"),this._editor.ui.view.toolbar.switchBehavior(!0===this._editor.config.get("fullscreen.toolbar.shouldNotGroupWhenFull")?"static":"dynamic"),this._editor.config.get("fullscreen.menuBar.isVisible")&&this.moveToFullscreen(this._editor.ui.view.menuBarView.element,"menu-bar"),this.getWrapper()}}class a extends e.Command{fullscreenHandler;constructor(e){super(e),this.affectsData=!1,this.isEnabled=!0,this.value=!1,!function(e){return"ClassicEditor"===e.constructor.editorName}(e)?!function(e){return"DecoupledEditor"===e.constructor.editorName}(e)?this.fullscreenHandler=new r(e):this.fullscreenHandler=new l(e):this.fullscreenHandler=new o(e)}execute(){this.value?this._disableFullscreenMode():this._enableFullscreenMode()}_enableFullscreenMode(){this.fullscreenHandler.enable(),this.value=!0}_disableFullscreenMode(){this.fullscreenHandler.disable(),this.value=!1}}class c extends e.Plugin{static get pluginName(){return"FullscreenEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("fullscreen.menuBar.isVisible",!0),e.config.define("fullscreen.toolbar.shouldNotGroupWhenFull",!0===e.config.get("toolbar.shouldNotGroupWhenFull"))}init(){this.editor.commands.add("toggleFullscreen",new a(this.editor));const e=this.editor.locale.t;this.editor.keystrokes.set("Ctrl+Shift+F",((e,i)=>{this.editor.execute("toggleFullscreen"),t.env.isBlink||(this.editor.editing.view.document.isFocused=!1,this.editor.ui.view.toolbar.focusTracker.focusedElement=null),this.editor.editing.view.scrollToTheSelection(),this.editor.editing.view.focus(),i()})),this.editor.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Toggle fullscreen mode"),keystroke:"CTRL+SHIFT+F"}],categoryId:"navigation"})}}var d=i(355),u=i(591),h=i.n(u),p=i(639),f=i.n(p),g=i(128),_=i.n(g),m=i(21),v=i.n(m),b=i(51),k=i.n(b),w=i(998),y={attributes:{"data-cke":!0}};y.setAttributes=v(),y.insert=_().bind(null,"head"),y.domAPI=f(),y.insertStyleElement=k();h()(w.A,y);w.A&&w.A.locals&&w.A.locals;const E="toggleFullscreen";class C extends e.Plugin{static get requires(){return[c]}static get pluginName(){return"FullscreenUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("fullscreen",(()=>this._createButton(s.ButtonView))),e.ui.componentFactory.add("menuBar:fullscreen",(()=>this._createButton(s.MenuBarMenuListItemButtonView)))}_createButton(e){const i=this.editor,n=i.t,r=i.commands.get(E),o=new e(i.locale);return o.set({isToggleable:!0}),o.bind("isEnabled").to(r,"isEnabled"),o.bind("isOn").to(r,"value"),o instanceof s.MenuBarMenuListItemButtonView?o.set({role:"menuitemcheckbox",label:n("Fullscreen mode")}):(o.bind("icon").to(r,"value",(e=>e?d.IconFullscreenLeave:d.IconFullscreenEnter)),o.bind("label").to(r,"value",(e=>n(e?"Leave fullscreen mode":"Enter fullscreen mode"))),o.set({tooltip:!0})),this.listenTo(o,"execute",(()=>{i.execute(E),t.env.isBlink||(this.editor.ui.view.toolbar.focusTracker.focusedElement=null),i.editing.view.scrollToTheSelection(),i.editing.view.focus()})),o}}class x extends e.Plugin{static get requires(){return[c,C]}static get pluginName(){return"Fullscreen"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).fullscreen=n})();
5
+ */(()=>{var e={21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(i){e.setAttribute(i,t[i])}))}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},128:e=>{"use strict";var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,i)=>{e.exports=i(237)("./src/ui.js")},355:(e,t,i)=>{e.exports=i(237)("./src/icons.js")},584:(e,t,i)=>{e.exports=i(237)("./src/utils.js")},591:e=>{"use strict";var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var s={},o=[],l=0;l<e.length;l++){var c=e[l],a=n.base?c[0]+n.base:c[0],d=s[a]||0,u="".concat(a," ").concat(d);s[a]=d+1;var h=i(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,n);n.byIndex=l,t.splice(l,0,{identifier:u,updater:f,references:1})}o.push(u)}return o}function r(e,t){var i=t.domAPI(t);i.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var s=n(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<s.length;o++){var l=i(s[o]);t[l].references--}for(var c=n(e,r),a=0;a<s.length;a++){var d=i(s[a]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}s=c}}},639:e=>{"use strict";var t,i=(t=[],function(e,i){return t[e]=i,t.filter(Boolean).join("\n")});function n(e,t,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(e.styleSheet)e.styleSheet.cssText=i(t,s);else{var l=document.createTextNode(s),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(l,c[t]):e.appendChild(l)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,i=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(i,t,!1,e)},remove:function(e){n(i,t,!0,e)}}}},758:e=>{"use strict";e.exports=function(e){return e[1]}},782:(e,t,i)=>{e.exports=i(237)("./src/core.js")},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,s){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(o[c]=!0)}for(var a=0;a<e.length;a++){var d=[].concat(e[a]);n&&o[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},998:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(758),r=i.n(n),s=i(935),o=i.n(s)()(r());o.push([e.id,'body.ck-fullscreen,html.ck-fullscreen{--ck-z-fullscreen:10000;overflow:hidden;--ck-z-default:calc(var(--ck-z-fullscreen) + 1);--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:100000}body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog,html.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog{--ckbox-z-index-root:calc(var(--ck-z-dialog) + 1)}body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor,html.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor{--ckbox-z-index-preview:calc(var(--ck-z-dialog) + 1)}body.ck-fullscreen .ck-pagination-view-line,html.ck-fullscreen .ck-pagination-view-line{z-index:calc(var(--ck-z-fullscreen) + 1)}body.ck-fullscreen .page-break__label,html.ck-fullscreen .page-break__label{z-index:calc(var(--ck-z-fullscreen) + 2)}.ck.ck-fullscreen__main-wrapper{background:var(--ck-color-base-foreground);display:flex;flex-direction:column;height:100%;left:0;position:fixed;top:0;width:100%;z-index:var(--ck-z-fullscreen)}.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation{margin-bottom:0;margin-top:0}:not(body>.ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper{position:absolute}.ck-fullscreen__main-wrapper:not(body>.ck-fullscreen__main-wrapper) .ck-fullscreen__top-wrapper{border-left:1px solid var(--ck-color-base-border);border-radius:var(--ck-border-radius) 0;border-right:1px solid var(--ck-color-base-border);border-top:1px solid var(--ck-color-base-border)}.ck-fullscreen__menu-bar .ck.ck-menu-bar{border:none}.ck.ck-fullscreen__toolbar .ck-toolbar{border-left:0;border-radius:0;border-right:0}.ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper{--ck-fullscreen-editor-top-margin:28px;--ck-fullscreen-editor-bottom-margin:28px;display:flex;justify-content:flex-start;max-height:100%;overflow:auto}.ck-fullscreen__main-wrapper .ck-fullscreen__editable{height:100%;margin-left:auto;margin-top:var(--ck-fullscreen-editor-top-margin)}.ck-fullscreen__main-wrapper .ck-fullscreen__editable:after{content:"";display:block;height:var(--ck-fullscreen-editor-bottom-margin)}.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable){background:#fff;border:1px solid var(--ck-color-base-border);box-shadow:0 2px 3px rgba(0,0,0,.078);box-sizing:border-box;height:fit-content;margin:0;max-width:210.52917mm;min-height:297mm;padding:20mm 12mm;width:210.52917mm}.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck-source-editing-area{width:210.52917mm}.ck-fullscreen__sidebar{margin-left:10px;margin-top:var(--ck-fullscreen-editor-top-margin);width:300px}.ck-fullscreen__left-sidebar{font-family:Helvetica,Arial,sans-serif;--ck-user-avatar-size:28px;align-self:flex-start;background-color:transparent;box-sizing:border-box;display:flex;flex-direction:column;height:100%;margin-top:0;position:sticky;top:0}.ck-fullscreen__left-sidebar>:first-child{min-width:300px;padding-top:var(--ck-fullscreen-editor-top-margin)}.ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed{--ck-user-avatar-size:32px}.ck-fullscreen__left-sidebar .ck-presence-list__users-counter__text,.ck-fullscreen__left-sidebar .ck-user{font-size:.85em}.ck-fullscreen__left-sidebar-item{margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}.ck-fullscreen__left-sidebar-item:first-child{padding-top:0}.ck-fullscreen__left-sidebar-item:last-child{margin-bottom:0}.ck-fullscreen__left-sidebar-header{--ck-fullscreen-presence-list-header-font-size:0.875em;color:var(--ck-document-outline-item-default-color);font-size:var(--ck-fullscreen-presence-list-header-font-size);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-fullscreen__left-sidebar--sticky{position:sticky;top:0}.ck-fullscreen__left-sidebar--sticky>:first-child{padding-top:0}.ck-fullscreen__presence-list{margin-top:var(--ck-spacing-medium)}.ck-fullscreen__left-sidebar-item--no-margin{margin:0}.ck-fullscreen__left-sidebar .ck.ck-document-outline{padding-left:0;padding-right:0;padding-top:0}.ck-fullscreen__document-outline-wrapper{overflow-y:auto;padding-top:0}.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar{margin-right:auto;margin-top:var(--ck-fullscreen-editor-top-margin)}.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar>:first-child{min-width:300px}',""]);const l=o}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AbstractEditorHandler:()=>s,Fullscreen:()=>x,FullscreenEditing:()=>a,FullscreenUI:()=>C});var e=i(782),t=i(584),r=i(311);class s{_placeholderMap;_wrapper=null;_document;_annotationsUIsData=null;_paginationBodyCollection=null;_sourceEditingCallback=(e,t,i)=>{this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display=i?"none":""};_hiddenElements=new Map;_savedAncestorsScrollPositions=new Map;_showRevisionViewerCallback=null;_closeRevisionViewerCallback=null;constructor(e){this._placeholderMap=new Map,e.plugins.has("RevisionHistory")&&(this._showRevisionViewerCallback=e.config.get("revisionHistory").showRevisionViewerCallback,this._closeRevisionViewerCallback=e.config.get("revisionHistory").closeRevisionViewerCallback),this._editor=e,this._document=this._editor.sourceElement?this._editor.sourceElement.ownerDocument:t.global.document,this._editor.config.define("fullscreen.container",this._document.body),e.on("destroy",(()=>{this._wrapper&&this.destroy()}))}moveToFullscreen(e,i){const n=(0,t.createElement)(this._document,"div");n.setAttribute("data-ck-fullscreen-placeholder",i),e.replaceWith(n),this.getWrapper().querySelector(`[data-ck-fullscreen="${i}"]`).append(e),this._placeholderMap.set(i,{placeholderElement:n,movedElement:e})}restoreMovedElementLocation(e){if(!this._placeholderMap.has(e))return;const{placeholderElement:t,movedElement:i}=this._placeholderMap.get(e);t.replaceWith(i),t.remove(),this._placeholderMap.delete(e),0===this._placeholderMap.size&&this._destroyContainer()}getWrapper(){return this._wrapper||(this._wrapper=(0,t.createElement)(this._document,"div",{class:"ck ck-fullscreen__main-wrapper"}),this._wrapper.innerHTML='\n\t\t\t\t<div class="ck ck-fullscreen__top-wrapper ck-reset_all">\n\t\t\t\t\t<div class="ck ck-fullscreen__menu-bar" data-ck-fullscreen="menu-bar"></div>\n\t\t\t\t\t<div class="ck ck-fullscreen__toolbar" data-ck-fullscreen="toolbar"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class="ck ck-fullscreen__editable-wrapper">\n\t\t\t\t\t<div class="ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar" data-ck-fullscreen="left-sidebar"></div>\n\t\t\t\t\t<div class="ck ck-fullscreen__editable" data-ck-fullscreen="editable">\n\t\t\t\t\t\t<div class="ck ck-fullscreen__pagination-view" data-ck-fullscreen="pagination-view"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="ck ck-fullscreen__sidebar ck-fullscreen__right-sidebar" data-ck-fullscreen="right-sidebar"></div>\n\t\t\t\t</div>\n\t\t\t\t<div class="ck ck-fullscreen__bottom-wrapper">\n\t\t\t\t\t<div class="ck ck-fullscreen__body-wrapper" data-ck-fullscreen="body-wrapper"></div>\n\t\t\t\t</div>\n\t\t\t',this._editor.config.get("fullscreen.container").appendChild(this._wrapper)),this._wrapper}enable(){if(this._saveAncestorsScrollPositions(this._editor.ui.getEditableElement()),this.defaultOnEnter(),this._editor.config.get("fullscreen.container")===this._document.body&&(this._document.body.classList.add("ck-fullscreen"),this._document.body.parentElement.classList.add("ck-fullscreen")),this._editor.plugins.has("Dialog")&&this._registerFullscreenDialogPositionAdjustments(),this._editor.plugins.has("PresenceListUI")&&this._generatePresenceListContainer(),this._editor.plugins.has("DocumentOutlineUI")&&this._generateDocumentOutlineContainer(),this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled){const e=this._editor.plugins.get("PaginationRenderer");e.setupScrollableAncestor(),this._paginationBodyCollection=new r.BodyCollection(this._editor.locale),this._paginationBodyCollection.attachToDom(),e.linesRepository.setViewCollection(this._paginationBodyCollection),this._editor.once("destroy",(()=>{this._paginationBodyCollection.detachFromDom()})),this.moveToFullscreen(this._paginationBodyCollection.bodyCollectionContainer,"body-wrapper")}this._editor.plugins.has("AnnotationsUIs")&&this._overrideAnnotationsUIs(),this._editor.plugins.has("RevisionHistory")&&(this._editor.plugins.get("RevisionHistory").isRevisionViewerOpen&&this._editor.config.get("revisionHistory.closeRevisionViewerCallback")(),this._overrideRevisionHistoryCallbacks()),this._editor.plugins.has("SourceEditing")&&this._editor.plugins.has("DocumentOutlineUI")&&this._editor.plugins.get("SourceEditing").on("change:isSourceEditingMode",this._sourceEditingCallback);for(const e of this._editor.config.get("fullscreen.container").children)e===this._wrapper||e.classList.contains("ck-body-wrapper")||e.classList.contains("ckbox-wrapper")||"none"===e.style.display||(this._hiddenElements.set(e,e.style.display),e.style.display="none");this._editor.config.get("fullscreen.onEnterCallback")&&this._editor.config.get("fullscreen.onEnterCallback")(this.getWrapper())}disable(){this._editor.config.get("fullscreen.onLeaveCallback")&&this._editor.config.get("fullscreen.onLeaveCallback")(this.getWrapper()),this._document.body.classList.remove("ck-fullscreen"),this._document.body.parentElement.classList.remove("ck-fullscreen"),this._editor.plugins.has("DocumentOutlineUI")&&this._restoreDocumentOutlineDefaultContainer(),this._annotationsUIsData&&this._restoreAnnotationsUIs(),this._editor.plugins.has("RevisionHistory")&&this._restoreRevisionHistoryCallbacks(),this._editor.plugins.has("SourceEditing")&&this._editor.plugins.has("DocumentOutlineUI")&&this._editor.plugins.get("SourceEditing").off("change:isSourceEditingMode",this._sourceEditingCallback);for(const e of this._placeholderMap.keys())this.restoreMovedElementLocation(e);this._destroyContainer(),this._editor.ui.view.toolbar&&this._editor.ui.view.toolbar.switchBehavior(!0===this._editor.config.get("toolbar.shouldNotGroupWhenFull")?"static":"dynamic");for(const[e,t]of this._savedAncestorsScrollPositions)e.scrollTo({left:t.scrollLeft,top:t.scrollTop,behavior:"instant"});if(this._savedAncestorsScrollPositions.clear(),this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled){const e=this._editor.plugins.get("PaginationRenderer");e.setupScrollableAncestor(),e.linesRepository.setViewCollection(this._editor.ui.view.body),this._paginationBodyCollection.detachFromDom(),this._paginationBodyCollection?.destroy()}this._editor.plugins.has("Dialog")&&this._unregisterFullscreenDialogPositionAdjustments()}destroy(){for(const{placeholderElement:e,movedElement:t}of this._placeholderMap.values())e.remove(),t.remove();this._destroyContainer(),this._document.body.classList.remove("ck-fullscreen"),this._document.body.parentElement.classList.remove("ck-fullscreen")}defaultOnEnter(){return this.getWrapper()}_destroyContainer(){if(this._wrapper){this._wrapper.remove(),this._wrapper=null;for(const[e,t]of this._hiddenElements)e.style.display=t;this._hiddenElements.clear()}}_generatePresenceListContainer(){const e=this._editor.t,i=(0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-item"});i.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__left-sidebar-header"></div>\n\t\t\t<div class="ck ck-fullscreen__presence-list" data-ck-fullscreen="presence-list"></div>\n\t\t',i.firstElementChild.innerText=e("Connected users"),document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]')||document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild((0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-sticky","data-ck-fullscreen":"left-sidebar-sticky"})),document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(i);const n=this._editor.plugins.get("PresenceListUI");this.moveToFullscreen(n.view.element,"presence-list")}_generateDocumentOutlineContainer(){const e=this._editor.t,i=(0,t.createElement)(document,"div",{class:"ck-fullscreen__left-sidebar-item ck-fullscreen__left-sidebar-item--no-margin"});i.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__left-sidebar-header ck-fullscreen__document-outline-header"></div>\n\t\t',i.firstElementChild.innerText=e("Document outline");const n=(0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-item ck-fullscreen__document-outline-wrapper"});n.innerHTML='\n\t\t\t<div class="ck ck-fullscreen__document-outline" data-ck-fullscreen="document-outline"></div>\n\t\t',document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]')||document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild((0,t.createElement)(document,"div",{class:"ck ck-fullscreen__left-sidebar-sticky","data-ck-fullscreen":"left-sidebar-sticky"})),document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild(n),document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(i);const r=this._editor.plugins.get("DocumentOutlineUI");r.view.documentOutlineContainer=document.querySelector('[data-ck-fullscreen="left-sidebar"]'),this.moveToFullscreen(r.view.element,"document-outline")}_restoreDocumentOutlineDefaultContainer(){const e=this._editor.plugins.get("DocumentOutlineUI");e.view.documentOutlineContainer=e.view.element}_overrideAnnotationsUIs(){const e=this._editor.plugins.get("AnnotationsUIs");this._annotationsUIsData=new Map(e.uisData);const t=new Map;for(const[i,n]of[...this._annotationsUIsData])n.filter!==e.defaultFilter&&t.set(i,n.filter);e.deactivateAll();const i=this._editor.plugins.get("Sidebar");function n(){t.has("wideSidebar")?e.activate("wideSidebar",t.get("wideSidebar")):t.size?e.activate("wideSidebar",(e=>[...t.values()].some((t=>t(e))))):e.switchTo("wideSidebar")}i.container?(n(),this.moveToFullscreen(i.container.firstElementChild,"right-sidebar"),i.setContainer(this.getWrapper().querySelector('[data-ck-fullscreen="right-sidebar"]'))):(i.setContainer(this.getWrapper().querySelector('[data-ck-fullscreen="right-sidebar"]')),n(),this.moveToFullscreen(i.container.firstElementChild,"right-sidebar"))}_restoreAnnotationsUIs(){const e=this._editor.plugins.get("Sidebar"),t=e.context.config.get("sidebar.container");t&&e.setContainer(t);const i=this._editor.plugins.get("AnnotationsUIs");i.deactivateAll();for(const[e,t]of[...this._annotationsUIsData])i.activate(e,t.filter);this._annotationsUIsData=null}_overrideRevisionHistoryCallbacks(){this._editor.config.set("revisionHistory.showRevisionViewerCallback",(async()=>{const e=await this._showRevisionViewerCallback();return this._editor.plugins.has("DocumentOutlineUI")&&(this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display="none"),this.restoreMovedElementLocation("editable"),this.restoreMovedElementLocation("toolbar"),this.restoreMovedElementLocation("right-sidebar"),this._annotationsUIsData&&this._restoreAnnotationsUIs(),this._editor.ui.view.menuBarView&&this._editor.ui.view.menuBarView.disable(),this.moveToFullscreen(e.ui.getEditableElement(),"editable"),this.moveToFullscreen(e.ui.view.toolbar.element,"toolbar"),this.moveToFullscreen(this._editor.config.get("revisionHistory.viewerSidebarContainer"),"right-sidebar"),e})),this._editor.config.set("revisionHistory.closeRevisionViewerCallback",(async()=>{this.restoreMovedElementLocation("toolbar"),this.restoreMovedElementLocation("editable"),this.restoreMovedElementLocation("right-sidebar"),this._editor.plugins.has("DocumentOutlineUI")&&(this.getWrapper().querySelector(".ck-fullscreen__document-outline-header").style.display=""),this.moveToFullscreen(this._editor.ui.getEditableElement(),"editable"),this.moveToFullscreen(this._editor.ui.view.toolbar.element,"toolbar"),await this._closeRevisionViewerCallback(),this._editor.plugins.has("AnnotationsUIs")&&this._overrideAnnotationsUIs(),this._editor.ui.view.menuBarView&&this._editor.ui.view.menuBarView.enable()}))}_restoreRevisionHistoryCallbacks(){this._editor.config.set("revisionHistory.showRevisionViewerCallback",(async()=>this._showRevisionViewerCallback())),this._editor.config.set("revisionHistory.closeRevisionViewerCallback",(async()=>this._closeRevisionViewerCallback()))}_registerFullscreenDialogPositionAdjustments(){const e=this._editor.plugins.get("Dialog");this._setNewDialogPosition(),e.on("change:isOpen",this.updateDialogPositionCallback,{priority:"highest"})}_unregisterFullscreenDialogPositionAdjustments(){const e=this._editor.plugins.get("Dialog"),t=e.view;t&&null===t.position&&(t.position=r.DialogViewPosition.EDITOR_TOP_SIDE),t&&t.updatePosition(),e.off("change:isOpen",this.updateDialogPositionCallback)}updateDialogPositionCallback=this._updateDialogPosition.bind(this);_updateDialogPosition(e,t,i){i&&this._setNewDialogPosition()}_setNewDialogPosition(){const e=this._editor.plugins.get("Dialog").view;if(!e||e.position!==r.DialogViewPosition.EDITOR_TOP_SIDE)return;const i=new t.Rect(this._wrapper).getVisible(),n=new t.Rect(document.querySelector(".ck-fullscreen__editable")).getVisible(),s=new t.Rect(e.element.querySelector(".ck-dialog")).getVisible(),o=new t.Rect(document.querySelector(".ck-fullscreen__editable-wrapper")).excludeScrollbarsAndBorders().getVisible().width-new t.Rect(document.querySelector(".ck-fullscreen__editable-wrapper")).getVisible().width;i&&n&&s&&(e.position=null,e.moveTo(i.left+i.width-s.width-28+o,n.top))}_saveAncestorsScrollPositions(e){let i=e.parentElement;if(i)for(;i;){const e=i.style.overflowY||t.global.window.getComputedStyle(i).overflowY,n=i.style.overflowX||t.global.window.getComputedStyle(i).overflowX;("auto"===e||"scroll"===e||"auto"===n||"scroll"===n||"HTML"===i.tagName)&&this._savedAncestorsScrollPositions.set(i,{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}),i=i.parentElement}}}class o extends s{_editor;constructor(e){super(e),this._editor=e}defaultOnEnter(){const e=this._editor.ui,t=e.view;return this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled&&this.moveToFullscreen(e.getEditableElement().parentElement.querySelector(".ck-pagination-view"),"pagination-view"),this.moveToFullscreen(e.getEditableElement(),"editable"),this.moveToFullscreen(t.toolbar.element,"toolbar"),t.toolbar.switchBehavior(!0===this._editor.config.get("fullscreen.toolbar.shouldNotGroupWhenFull")?"static":"dynamic"),this.getWrapper().setAttribute("dir",t.element.getAttribute("dir")),this.getWrapper().classList.add("ck-rounded-corners"),this._editor.config.get("fullscreen.menuBar.isVisible")&&(t.menuBarView||(t.menuBarView=new r.MenuBarView(this._editor.locale),t.menuBarView.render(),e.initMenuBar(t.menuBarView)),this.moveToFullscreen(t.menuBarView.element,"menu-bar")),this.getWrapper()}}class l extends s{_editor;constructor(e){super(e),this._editor=e}defaultOnEnter(){return this._editor.plugins.has("Pagination")&&this._editor.plugins.get("Pagination").isEnabled&&this.moveToFullscreen(this._editor.ui.getEditableElement().parentElement.querySelector(".ck-pagination-view"),"pagination-view"),this.moveToFullscreen(this._editor.ui.getEditableElement(),"editable"),this.moveToFullscreen(this._editor.ui.view.toolbar.element,"toolbar"),this._editor.ui.view.toolbar.switchBehavior(!0===this._editor.config.get("fullscreen.toolbar.shouldNotGroupWhenFull")?"static":"dynamic"),this._editor.config.get("fullscreen.menuBar.isVisible")&&this.moveToFullscreen(this._editor.ui.view.menuBarView.element,"menu-bar"),this.getWrapper()}}class c extends e.Command{fullscreenHandler;constructor(e){super(e),this.affectsData=!1,this.isEnabled=!0,this.value=!1,!function(e){return"ClassicEditor"===e.constructor.editorName}(e)?!function(e){return"DecoupledEditor"===e.constructor.editorName}(e)?this.fullscreenHandler=new s(e):this.fullscreenHandler=new l(e):this.fullscreenHandler=new o(e)}execute(){this.value?this._disableFullscreenMode():this._enableFullscreenMode()}_enableFullscreenMode(){this.fullscreenHandler.enable(),this.value=!0}_disableFullscreenMode(){this.fullscreenHandler.disable(),this.value=!1}}class a extends e.Plugin{static get pluginName(){return"FullscreenEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("fullscreen.menuBar.isVisible",!0),e.config.define("fullscreen.toolbar.shouldNotGroupWhenFull",!0===e.config.get("toolbar.shouldNotGroupWhenFull"))}init(){this.editor.commands.add("toggleFullscreen",new c(this.editor));const e=this.editor.locale.t;this.editor.keystrokes.set("Ctrl+Shift+F",((e,i)=>{this.editor.execute("toggleFullscreen"),t.env.isBlink||(this.editor.editing.view.document.isFocused=!1,this.editor.ui.view.toolbar.focusTracker.focusedElement=null),this.editor.editing.view.scrollToTheSelection(),this.editor.editing.view.focus(),i()})),this.editor.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Toggle fullscreen mode"),keystroke:"CTRL+SHIFT+F"}],categoryId:"navigation"})}}var d=i(355),u=i(591),h=i.n(u),p=i(639),f=i.n(p),_=i(128),g=i.n(_),m=i(21),b=i.n(m),v=i(51),k=i.n(v),w=i(998),y={attributes:{"data-cke":!0}};y.setAttributes=b(),y.insert=g().bind(null,"head"),y.domAPI=f(),y.insertStyleElement=k();h()(w.A,y);w.A&&w.A.locals&&w.A.locals;const E="toggleFullscreen";class C extends e.Plugin{static get requires(){return[a]}static get pluginName(){return"FullscreenUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("fullscreen",(()=>this._createButton(r.ButtonView))),e.ui.componentFactory.add("menuBar:fullscreen",(()=>this._createButton(r.MenuBarMenuListItemButtonView)))}_createButton(e){const i=this.editor,n=i.t,s=i.commands.get(E),o=new e(i.locale);return o.set({isToggleable:!0}),o.bind("isEnabled").to(s,"isEnabled"),o.bind("isOn").to(s,"value"),o instanceof r.MenuBarMenuListItemButtonView?o.set({role:"menuitemcheckbox",label:n("Fullscreen mode")}):(o.bind("icon").to(s,"value",(e=>e?d.IconFullscreenLeave:d.IconFullscreenEnter)),o.bind("label").to(s,"value",(e=>n(e?"Leave fullscreen mode":"Enter fullscreen mode"))),o.set({tooltip:!0})),this.listenTo(o,"execute",(()=>{i.execute(E),t.env.isBlink||(this.editor.ui.view.toolbar.focusTracker.focusedElement=null),i.editing.view.scrollToTheSelection(),i.editing.view.focus()})),o}}class x extends e.Plugin{static get requires(){return[a,C]}static get pluginName(){return"Fullscreen"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).fullscreen=n})();
@@ -44,11 +44,23 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
44
44
  :not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper{
45
45
  position:absolute;
46
46
  }
47
+ .ck-fullscreen__main-wrapper:not(body> .ck-fullscreen__main-wrapper) .ck-fullscreen__top-wrapper{
48
+ border-top:1px solid var(--ck-color-base-border);
49
+ border-left:1px solid var(--ck-color-base-border);
50
+ border-right:1px solid var(--ck-color-base-border);
51
+ border-radius:var(--ck-border-radius) 0;
52
+ }
47
53
 
48
54
  .ck-fullscreen__menu-bar .ck.ck-menu-bar{
49
55
  border:none;
50
56
  }
51
57
 
58
+ .ck.ck-fullscreen__toolbar .ck-toolbar{
59
+ border-left:0;
60
+ border-right:0;
61
+ border-radius:0;
62
+ }
63
+
52
64
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper{
53
65
  --ck-fullscreen-editor-top-margin:28px;
54
66
  --ck-fullscreen-editor-bottom-margin:28px;
@@ -58,17 +70,6 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
58
70
  max-height:100%;
59
71
  }
60
72
 
61
- .ck-fullscreen__sidebar{
62
- width:300px;
63
- margin-top:var(--ck-fullscreen-editor-top-margin);
64
- margin-left:10px;
65
- flex-shrink:0;
66
- }
67
-
68
- .ck-fullscreen__sidebar[data-ck-fullscreen="right-sidebar"]{
69
- margin-right:auto;
70
- }
71
-
72
73
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable{
73
74
  margin-top:var(--ck-fullscreen-editor-top-margin);
74
75
  height:100%;
@@ -98,6 +99,12 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
98
99
  width:calc(210mm + 2px);
99
100
  }
100
101
 
102
+ .ck-fullscreen__sidebar{
103
+ width:300px;
104
+ margin-top:var(--ck-fullscreen-editor-top-margin);
105
+ margin-left:10px;
106
+ }
107
+
101
108
  .ck-fullscreen__left-sidebar{
102
109
  font-family:Helvetica, Arial, sans-serif;
103
110
  --ck-user-avatar-size:28px;
@@ -112,14 +119,15 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
112
119
  flex-direction:column;
113
120
  }
114
121
 
122
+ .ck-fullscreen__left-sidebar > :first-child{
123
+ min-width:300px;
124
+ padding-top:var(--ck-fullscreen-editor-top-margin);
125
+ }
126
+
115
127
  .ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed{
116
128
  --ck-user-avatar-size:32px;
117
129
  }
118
130
 
119
- .ck-fullscreen__left-sidebar> :first-child{
120
- padding-top:var(--ck-fullscreen-editor-top-margin);
121
- }
122
-
123
131
  .ck-fullscreen__left-sidebar .ck-user{
124
132
  font-size:0.85em;
125
133
  }
@@ -133,9 +141,13 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
133
141
  margin-bottom:var(--ck-spacing-medium);
134
142
  }
135
143
 
144
+ .ck-fullscreen__left-sidebar-item:first-child{
145
+ padding-top:0;
146
+ }
147
+
136
148
  .ck-fullscreen__left-sidebar-item:last-child{
137
- margin-bottom:0;
138
- }
149
+ margin-bottom:0;
150
+ }
139
151
 
140
152
  .ck-fullscreen__left-sidebar-header{
141
153
  --ck-fullscreen-presence-list-header-font-size:0.875em;
@@ -152,7 +164,7 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
152
164
  top:0;
153
165
  }
154
166
 
155
- .ck-fullscreen__left-sidebar--sticky> :first-child{
167
+ .ck-fullscreen__left-sidebar--sticky > :first-child{
156
168
  padding-top:0;
157
169
  }
158
170
 
@@ -173,4 +185,13 @@ html.ck-fullscreen .page-break__label, body.ck-fullscreen .page-break__label{
173
185
  .ck-fullscreen__document-outline-wrapper{
174
186
  padding-top:0;
175
187
  overflow-y:auto;
176
- }
188
+ }
189
+
190
+ .ck-fullscreen__sidebar.ck-fullscreen__right-sidebar{
191
+ margin-top:var(--ck-fullscreen-editor-top-margin);
192
+ margin-right:auto;
193
+ }
194
+
195
+ .ck-fullscreen__sidebar.ck-fullscreen__right-sidebar> :first-child{
196
+ min-width:300px;
197
+ }
package/dist/index.css CHANGED
@@ -76,11 +76,23 @@ Fullscreen layout:
76
76
  :not(body> .ck-fullscreen__main-wrapper).ck-fullscreen__main-wrapper {
77
77
  position: absolute;
78
78
  }
79
+ .ck-fullscreen__main-wrapper:not(body> .ck-fullscreen__main-wrapper) .ck-fullscreen__top-wrapper {
80
+ border-top: 1px solid var(--ck-color-base-border);
81
+ border-left: 1px solid var(--ck-color-base-border);
82
+ border-right: 1px solid var(--ck-color-base-border);
83
+ border-radius: var(--ck-border-radius) 0;
84
+ }
79
85
 
80
86
  .ck-fullscreen__menu-bar .ck.ck-menu-bar {
81
87
  border: none;
82
88
  }
83
89
 
90
+ .ck.ck-fullscreen__toolbar .ck-toolbar {
91
+ border-left: 0;
92
+ border-right: 0;
93
+ border-radius: 0;
94
+ }
95
+
84
96
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable-wrapper {
85
97
  --ck-fullscreen-editor-top-margin: 28px;
86
98
  --ck-fullscreen-editor-bottom-margin: 28px;
@@ -90,17 +102,6 @@ Fullscreen layout:
90
102
  max-height: 100%;
91
103
  }
92
104
 
93
- .ck-fullscreen__sidebar {
94
- width: 300px;
95
- margin-top: var(--ck-fullscreen-editor-top-margin);
96
- margin-left: 10px;
97
- flex-shrink: 0;
98
- }
99
-
100
- .ck-fullscreen__sidebar[data-ck-fullscreen="right-sidebar"] {
101
- margin-right: auto;
102
- }
103
-
104
105
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable {
105
106
  margin-top: var(--ck-fullscreen-editor-top-margin);
106
107
  height: 100%;
@@ -115,11 +116,14 @@ Fullscreen layout:
115
116
 
116
117
  .ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
117
118
  box-sizing: border-box;
118
- width: calc(210mm + 2px); /* Make sure the border is taken into account. */
119
- max-width: calc(210mm + 2px); /* Make sure the border is taken into account. */
119
+ /* Make sure the border is taken into account. */
120
+ width: calc(210mm + 2px);
121
+ /* Make sure the border is taken into account. */
122
+ max-width: calc(210mm + 2px);
120
123
  min-height: 297mm;
121
124
  height: fit-content;
122
- margin: 0; /* Reset margins that may be present on editable. We add them in other places. */
125
+ /* Reset margins that may be present on editable. We add them in other places. */
126
+ margin: 0;
123
127
  padding: 20mm 12mm;
124
128
  border: 1px var(--ck-color-base-border) solid;
125
129
  background: hsl(0, 0%, 100%);
@@ -130,6 +134,12 @@ Fullscreen layout:
130
134
  width: calc(210mm + 2px);
131
135
  }
132
136
 
137
+ .ck-fullscreen__sidebar {
138
+ width: 300px;
139
+ margin-top: var(--ck-fullscreen-editor-top-margin);
140
+ margin-left: 10px;
141
+ }
142
+
133
143
  .ck-fullscreen__left-sidebar {
134
144
  font-family: Helvetica, Arial, sans-serif;
135
145
  --ck-user-avatar-size: 28px;
@@ -144,14 +154,17 @@ Fullscreen layout:
144
154
  flex-direction: column;
145
155
  }
146
156
 
157
+ .ck-fullscreen__left-sidebar > :first-child {
158
+ /* Set minimal width if there is any item in the sidebar. */
159
+ min-width: 300px;
160
+ /* We have to use padding-top instead of margin-top because margin is scrollable. */
161
+ padding-top: var(--ck-fullscreen-editor-top-margin);
162
+ }
163
+
147
164
  .ck-fullscreen__left-sidebar .ck.ck-presence-list--collapsed {
148
165
  --ck-user-avatar-size: 32px;
149
166
  }
150
167
 
151
- .ck-fullscreen__left-sidebar> :first-child {
152
- padding-top: var(--ck-fullscreen-editor-top-margin);
153
- }
154
-
155
168
  .ck-fullscreen__left-sidebar .ck-user {
156
169
  font-size: 0.85em;
157
170
  }
@@ -163,11 +176,17 @@ Fullscreen layout:
163
176
  .ck-fullscreen__left-sidebar-item {
164
177
  padding: var(--ck-spacing-medium);
165
178
  margin-bottom: var(--ck-spacing-medium);
179
+
180
+ /* First header should not have top padding. */
166
181
  }
167
182
 
183
+ .ck-fullscreen__left-sidebar-item:first-child {
184
+ padding-top: 0;
185
+ }
186
+
168
187
  .ck-fullscreen__left-sidebar-item:last-child {
169
- margin-bottom: 0;
170
- }
188
+ margin-bottom: 0;
189
+ }
171
190
 
172
191
  .ck-fullscreen__left-sidebar-header {
173
192
  --ck-fullscreen-presence-list-header-font-size: 0.875em;
@@ -184,7 +203,7 @@ Fullscreen layout:
184
203
  top: 0;
185
204
  }
186
205
 
187
- .ck-fullscreen__left-sidebar--sticky> :first-child {
206
+ .ck-fullscreen__left-sidebar--sticky > :first-child {
188
207
  padding-top: 0;
189
208
  }
190
209
 
@@ -207,4 +226,14 @@ Fullscreen layout:
207
226
  overflow-y: auto;
208
227
  }
209
228
 
229
+ .ck-fullscreen__sidebar.ck-fullscreen__right-sidebar {
230
+ margin-top: var(--ck-fullscreen-editor-top-margin);
231
+ margin-right: auto;
232
+ }
233
+
234
+ .ck-fullscreen__sidebar.ck-fullscreen__right-sidebar> :first-child {
235
+ /* Set minimal width if there is any item in the sidebar. */
236
+ min-width: 300px;
237
+ }
238
+
210
239
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/fullscreen.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,KAAA,CAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,IAAA,CAAA,IAAA,CAAA,OAAA,CAAA,MAAA,CAAA,EAAA,CAAA,KAAA,CAAA,EAAA,CAAA,GAAA,CAAA,MAAA;ACCA,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CDAC;AAChF,IAAA,CAAA,EAAA,CAAA,UAAA;ACCA,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC;AACnB,CDAC,CAAA,CAAA,EAAA,CAAA,CAAA,CA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AAc;ACDhB,CDEC;;AAGD,CAAA,EAAA,CAAA,oBAAA,CAAA,IAAA,CAAA;ACFA,CDGC,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,MAAA,CAAoC;AACrC;;AAEA,CAAA,EAAA,CAAA,gBAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,EAAA,CAAA,MAAA,CAAA;ACFA,CDGC,MAAA,CAAA,CAAA,CAAS;AACV;;AAEA,CAAA,EAAA,CAAA,gBAAA,CAAA,OAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,QAAA,CAAA,OAAA,CAAA;ACFA,CDGC,OAAA,CAAA,GAAA,CAAA,CAAA,CAAc;ACFf,CDGC,OAAA,CAAA,IAAA,CAAA,CAAA,CAAe;ACFhB,CDGC,OAAA,CAAA,KAAA,CAAA,CAAA,CAAgB;AACjB;;AAEA,CAAA,EAAA,CAAA,oBAAA,CAAA,OAAA,CAAA,OAAA,CAAA;ACFA,CDGC,OAAA,CAAA,GAAA,CAAA,CAAA,CAAc;ACFf,CDGC,QAAA,CAAA,CAAA,CAAA,CAAA,IAAgB;AACjB;;ACDA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, 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-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\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</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\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\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__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\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\twidth: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmax-width: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmin-height: 297mm;\n\theight: fit-content;\n\tmargin: 0; /* Reset margins that may be present on editable. We add them in other places. */\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__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\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\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> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\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\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\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 * Copyright (c) 2003-2025, 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}\nhtml.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog, body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor, body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ck-pagination-view-line, body.ck-fullscreen .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\nhtml.ck-fullscreen .page-break__label, body.ck-fullscreen .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/*\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</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\n.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\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\n.ck-fullscreen__menu-bar .ck.ck-menu-bar {\n\tborder: none;\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__sidebar {\n\twidth: 300px;\n\tmargin-top: var(--ck-fullscreen-editor-top-margin);\n\tmargin-left: 10px;\n\tflex-shrink: 0;\n}\n\n.ck-fullscreen__sidebar[data-ck-fullscreen=\"right-sidebar\"] {\n\tmargin-right: auto;\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\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\n\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\tbox-sizing: border-box;\n\twidth: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmax-width: calc(210mm + 2px); /* Make sure the border is taken into account. */\n\tmin-height: 297mm;\n\theight: fit-content;\n\tmargin: 0; /* Reset margins that may be present on editable. We add them in other places. */\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__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\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\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> :first-child {\n\tpadding-top: var(--ck-fullscreen-editor-top-margin);\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\n.ck-fullscreen__left-sidebar-item:last-child {\n\tmargin-bottom: 0;\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\n.ck-fullscreen__left-sidebar--sticky> :first-child {\n\t\tpadding-top: 0;\n\t}\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/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/fullscreen.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,KAAA,CAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,IAAA,CAAA,IAAA,CAAA,OAAA,CAAA,MAAA,CAAA,EAAA,CAAA,KAAA,CAAA,EAAA,CAAA,GAAA,CAAA,MAAA;ACCA,OAAO,C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A,CAAA;ACFA,CDGC,OAAA,CAAA,GAAA,CAAA,CAAA,CAAc;ACFf,CDGC,QAAA,CAAA,CAAA,CAAA,CAAA,IAAgB;AACjB;;AAEA,CAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,iBAAA,CAAA,OAAA,CAAA;ACFA,CDGC,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,CAAA,GAAA,CAAA,MAAA,CAAkD;ACFnD,CDGC,MAAA,CAAA,KAAA,CAAA,CAAA,IAAkB;AAMnB;;AAJC,CAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,CAAA,CAAA,KAAA,CAAA,KAAA,CAAA;ACDD,CAAC,CDEC,CAAA,CAAA,CAAA,GAAA,CAAA,OAAA,CAAA,KAAA,CAAA,EAAA,CAAA,KAAA,CAAA,EAAA,CAAA,GAAA,CAAA,IAAA,CAAA,EAAA,CAAA,GAAA,CAAA,OAAA,CAAA,CAAA,CAA2D;ACD7D,CAAC,CDEC,GAAA,CAAA,KAAA,CAAA,CAAA,KAAgB;ACDlB,CDEC;;ACAD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, 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-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\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</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: 300px;\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\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t> :first-child {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 300px;\n\t\t/* We have to use padding-top instead of margin-top because margin is scrollable. */\n\t\tpadding-top: var(--ck-fullscreen-editor-top-margin);\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&> :first-child {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 300px;\n\t}\n}\n","/*\n * Copyright (c) 2003-2025, 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}\nhtml.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog, body.ck-fullscreen .ckbox-reset:not(#n)>.ckbox--dialog {\n\t\t--ckbox-z-index-root: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor, body.ck-fullscreen .ckbox:not(#n) .ckbox-img-editor {\n\t\t--ckbox-z-index-preview: calc(var(--ck-z-dialog) + 1);\n\t}\nhtml.ck-fullscreen .ck-pagination-view-line, body.ck-fullscreen .ck-pagination-view-line {\n\t\tz-index: calc(var(--ck-z-fullscreen) + 1);\n\t}\nhtml.ck-fullscreen .page-break__label, body.ck-fullscreen .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/*\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</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\n.ck.ck-fullscreen__main-wrapper .ck.ck-revision-history-ui__changes-navigation {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 0px;\n\t}\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.ck-fullscreen__main-wrapper:not(body> .ck-fullscreen__main-wrapper) .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.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\n.ck-fullscreen__main-wrapper .ck-fullscreen__editable::after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\theight: var(--ck-fullscreen-editor-bottom-margin);\n\t}\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: 300px;\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\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.ck-fullscreen__left-sidebar > :first-child {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 300px;\n\t\t/* We have to use padding-top instead of margin-top because margin is scrollable. */\n\t\tpadding-top: var(--ck-fullscreen-editor-top-margin);\n\t}\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}\n\n.ck-fullscreen__left-sidebar-item:first-child {\n\t\tpadding-top: 0;\n\t}\n\n.ck-fullscreen__left-sidebar-item:last-child {\n\t\tmargin-bottom: 0;\n\t}\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\n.ck-fullscreen__left-sidebar--sticky > :first-child {\n\t\tpadding-top: 0;\n\t}\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\n.ck-fullscreen__sidebar.ck-fullscreen__right-sidebar> :first-child {\n\t\t/* Set minimal width if there is any item in the sidebar. */\n\t\tmin-width: 300px;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.js CHANGED
@@ -161,9 +161,7 @@ const DIALOG_OFFSET = 28;
161
161
  <div class="ck ck-fullscreen__toolbar" data-ck-fullscreen="toolbar"></div>
162
162
  </div>
163
163
  <div class="ck ck-fullscreen__editable-wrapper">
164
- <div class="ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar" data-ck-fullscreen="left-sidebar">
165
- <div class="ck ck-fullscreen__left-sidebar--sticky" data-ck-fullscreen="left-sidebar-sticky"></div>
166
- </div>
164
+ <div class="ck ck-fullscreen__sidebar ck-fullscreen__left-sidebar" data-ck-fullscreen="left-sidebar"></div>
167
165
  <div class="ck ck-fullscreen__editable" data-ck-fullscreen="editable">
168
166
  <div class="ck ck-fullscreen__pagination-view" data-ck-fullscreen="pagination-view"></div>
169
167
  </div>
@@ -344,6 +342,12 @@ const DIALOG_OFFSET = 28;
344
342
  <div class="ck ck-fullscreen__presence-list" data-ck-fullscreen="presence-list"></div>
345
343
  `;
346
344
  presenceListElement.firstElementChild.innerText = t('Connected users');
345
+ if (!document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]')) {
346
+ document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild(createElement(document, 'div', {
347
+ class: 'ck ck-fullscreen__left-sidebar-sticky',
348
+ 'data-ck-fullscreen': 'left-sidebar-sticky'
349
+ }));
350
+ }
347
351
  document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(presenceListElement);
348
352
  const presenceListUI = this._editor.plugins.get('PresenceListUI');
349
353
  this.moveToFullscreen(presenceListUI.view.element, 'presence-list');
@@ -366,6 +370,12 @@ const DIALOG_OFFSET = 28;
366
370
  documentOutlineBodyWrapper.innerHTML = `
367
371
  <div class="ck ck-fullscreen__document-outline" data-ck-fullscreen="document-outline"></div>
368
372
  `;
373
+ if (!document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]')) {
374
+ document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild(createElement(document, 'div', {
375
+ class: 'ck ck-fullscreen__left-sidebar-sticky',
376
+ 'data-ck-fullscreen': 'left-sidebar-sticky'
377
+ }));
378
+ }
369
379
  document.querySelector('[data-ck-fullscreen="left-sidebar"]').appendChild(documentOutlineBodyWrapper);
370
380
  document.querySelector('[data-ck-fullscreen="left-sidebar-sticky"]').appendChild(documentOutlineHeaderElement);
371
381
  const documentOutlineUI = this._editor.plugins.get('DocumentOutlineUI');