@ckeditor/ckeditor5-page-break 29.1.0 → 31.1.0

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.
Files changed (41) hide show
  1. package/build/page-break.js +1 -1
  2. package/build/translations/az.js +1 -0
  3. package/build/translations/cs.js +1 -0
  4. package/build/translations/da.js +1 -0
  5. package/build/translations/de-ch.js +1 -0
  6. package/build/translations/de.js +1 -0
  7. package/build/translations/en-au.js +1 -0
  8. package/build/translations/es.js +1 -0
  9. package/build/translations/et.js +1 -0
  10. package/build/translations/fa.js +1 -0
  11. package/build/translations/fr.js +1 -0
  12. package/build/translations/gl.js +1 -0
  13. package/build/translations/hi.js +1 -0
  14. package/build/translations/hr.js +1 -0
  15. package/build/translations/hu.js +1 -0
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -0
  18. package/build/translations/ko.js +1 -0
  19. package/build/translations/ku.js +1 -0
  20. package/build/translations/lv.js +1 -0
  21. package/build/translations/nl.js +1 -0
  22. package/build/translations/no.js +1 -0
  23. package/build/translations/pl.js +1 -0
  24. package/build/translations/pt-br.js +1 -0
  25. package/build/translations/ro.js +1 -0
  26. package/build/translations/ru.js +1 -0
  27. package/build/translations/sk.js +1 -0
  28. package/build/translations/sr-latn.js +1 -0
  29. package/build/translations/sr.js +1 -0
  30. package/build/translations/th.js +1 -0
  31. package/build/translations/tk.js +1 -0
  32. package/build/translations/tr.js +1 -0
  33. package/build/translations/uk.js +1 -0
  34. package/build/translations/uz.js +1 -0
  35. package/build/translations/vi.js +1 -0
  36. package/build/translations/zh-cn.js +1 -0
  37. package/build/translations/zh.js +1 -0
  38. package/ckeditor5-metadata.json +7 -5
  39. package/lang/translations/uz.po +21 -0
  40. package/package.json +13 -13
  41. package/CHANGELOG.md +0 -42
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
4
  */
5
- window.CKEditor5=window.CKEditor5||{},window.CKEditor5.pageBreak=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){e.exports=n(2)("./src/core.js")},function(e,t,n){e.exports=n(2)("./src/widget.js")},function(e,t){e.exports=CKEditor5.dll},function(e,t,n){e.exports=n(2)("./src/ui.js")},function(e,t,n){var r=n(5),a=n(6);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var o={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};r(a,o);e.exports=a.locals||{}},function(e,t,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function s(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],a=0;a<e.length;a++){var o=e[a],c=t.base?o[0]+t.base:o[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=s(u),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:u,updater:h(f,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=o(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var g=null,m=0;function h(e,t){var n,r,a;if(t.singleton){var o=m++;n=g||(g=l(t)),r=f.bind(null,n,o,!1),a=f.bind(null,n,o,!0)}else n=l(t),r=p.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=s(n[r]);i[a].references--}for(var o=c(e,t),l=0;l<n.length;l++){var u=s(n[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}n=o}}}},function(e,t){e.exports='.ck-content .page-break{position:relative;clear:both;padding:5px 0;display:flex;align-items:center;justify-content:center}.ck-content .page-break:after{content:"";position:absolute;border-bottom:2px dashed #c4c4c4;width:100%}.ck-content .page-break__label{position:relative;z-index:1;padding:.3em .6em;display:block;text-transform:uppercase;border:1px solid #c4c4c4;border-radius:2px;font-family:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;font-size:.75em;font-weight:700;color:#333;background:#fff;box-shadow:2px 2px 1px rgba(0,0,0,.15);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media print{.ck-content .page-break{padding:0}.ck-content .page-break:after{display:none}}'},function(e,t,n){"use strict";n.r(t),n.d(t,"PageBreak",(function(){return l})),n.d(t,"PageBreakEditing",(function(){return i})),n.d(t,"PageBreakUI",(function(){return c}));var r=n(0),a=n(1);class o extends r.Command{refresh(){const e=this.editor.model,t=e.schema,n=e.document.selection;this.isEnabled=function(e,t,n){const r=function(e,t){const n=Object(a.findOptimalInsertionRange)(e,t).start.parent;if(n.isEmpty&&!n.is("element","$root"))return n.parent;return n}(e,n);return t.checkChild(r,"pageBreak")}(n,t,e)}execute(){const e=this.editor.model;e.change(t=>{const n=t.createElement("pageBreak");e.insertContent(n);let r=n.nextSibling;!(r&&e.schema.checkChild(r,"$text"))&&e.schema.checkChild(n.parent,"paragraph")&&(r=t.createElement("paragraph"),e.insertContent(r,t.createPositionAfter(n))),r&&t.setSelection(r,0)})}}n(4);class i extends r.Plugin{static get pluginName(){return"PageBreakEditing"}init(){const e=this.editor,t=e.model.schema,n=e.t,r=e.conversion;t.register("pageBreak",{isObject:!0,allowWhere:"$block"}),r.for("dataDowncast").elementToElement({model:"pageBreak",view:(e,{writer:t})=>{const n=t.createContainerElement("div",{class:"page-break",style:"page-break-after: always"}),r=t.createContainerElement("span",{style:"display: none"});return t.insert(t.createPositionAt(n,0),r),n}}),r.for("editingDowncast").elementToElement({model:"pageBreak",view:(e,{writer:t})=>{const r=n("Page break"),o=t.createContainerElement("div"),i=t.createRawElement("span",{class:"page-break__label"},(function(e){e.innerText=n("Page break")}));return t.addClass("page-break",o),t.insert(t.createPositionAt(o,0),i),function(e,t,n){return t.setCustomProperty("pageBreak",!0,e),Object(a.toWidget)(e,t,{label:n})}(o,t,r)}}),r.for("upcast").elementToElement({view:e=>{const t="always"==e.getStyle("page-break-before"),n="always"==e.getStyle("page-break-after");if(t||n){if(1==e.childCount){const t=e.getChild(0);if(!t.is("element","span")||"none"!=t.getStyle("display"))return}else if(e.childCount>1)return;return{name:!0}}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new o(e))}}var s=n(3);class c extends r.Plugin{static get pluginName(){return"PageBreakUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("pageBreak",n=>{const r=e.commands.get("pageBreak"),a=new s.ButtonView(n);return a.set({label:t("Page break"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"/><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"/><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"/></svg>',tooltip:!0}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",()=>{e.execute("pageBreak"),e.editing.view.focus()}),a})}}class l extends r.Plugin{static get requires(){return[i,c,a.Widget]}static get pluginName(){return"PageBreak"}}}]);
5
+ !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Page break":"Page break"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),window.CKEditor5=window.CKEditor5||{},window.CKEditor5.pageBreak=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){e.exports=n(2)("./src/core.js")},function(e,t,n){e.exports=n(2)("./src/widget.js")},function(e,t){e.exports=CKEditor5.dll},function(e,t,n){e.exports=n(2)("./src/ui.js")},function(e,t,n){var r=n(5),a=n(6);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var i={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};r(a,i);e.exports=a.locals||{}},function(e,t,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function s(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],a=0;a<e.length;a++){var i=e[a],c=t.base?i[0]+t.base:i[0],l=n[c]||0,d="".concat(c," ").concat(l);n[c]=l+1;var u=s(d),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==u?(o[u].references++,o[u].updater(f)):o.push({identifier:d,updater:h(f,t),references:1}),r.push(d)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,a=n.media,i=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var g=null,m=0;function h(e,t){var n,r,a;if(t.singleton){var i=m++;n=g||(g=l(t)),r=f.bind(null,n,i,!1),a=f.bind(null,n,i,!0)}else n=l(t),r=p.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=s(n[r]);o[a].references--}for(var i=c(e,t),l=0;l<n.length;l++){var d=s(n[l]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}n=i}}}},function(e,t){e.exports='.ck-content .page-break{position:relative;clear:both;padding:5px 0;display:flex;align-items:center;justify-content:center}.ck-content .page-break:after{content:"";position:absolute;border-bottom:2px dashed #c4c4c4;width:100%}.ck-content .page-break__label{position:relative;z-index:1;padding:.3em .6em;display:block;text-transform:uppercase;border:1px solid #c4c4c4;border-radius:2px;font-family:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;font-size:.75em;font-weight:700;color:#333;background:#fff;box-shadow:2px 2px 1px rgba(0,0,0,.15);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media print{.ck-content .page-break{padding:0}.ck-content .page-break:after{display:none}}'},function(e,t,n){"use strict";n.r(t),n.d(t,"PageBreak",(function(){return l})),n.d(t,"PageBreakEditing",(function(){return o})),n.d(t,"PageBreakUI",(function(){return c}));var r=n(0),a=n(1);class i extends r.Command{refresh(){const e=this.editor.model,t=e.schema,n=e.document.selection;this.isEnabled=function(e,t,n){const r=function(e,t){const n=Object(a.findOptimalInsertionRange)(e,t).start.parent;if(n.isEmpty&&!n.is("element","$root"))return n.parent;return n}(e,n);return t.checkChild(r,"pageBreak")}(n,t,e)}execute(){const e=this.editor.model;e.change(t=>{const n=t.createElement("pageBreak");e.insertContent(n);let r=n.nextSibling;!(r&&e.schema.checkChild(r,"$text"))&&e.schema.checkChild(n.parent,"paragraph")&&(r=t.createElement("paragraph"),e.insertContent(r,t.createPositionAfter(n))),r&&t.setSelection(r,0)})}}n(4);class o extends r.Plugin{static get pluginName(){return"PageBreakEditing"}init(){const e=this.editor,t=e.model.schema,n=e.t,r=e.conversion;t.register("pageBreak",{isObject:!0,allowWhere:"$block"}),r.for("dataDowncast").elementToElement({model:"pageBreak",view:(e,{writer:t})=>{const n=t.createContainerElement("div",{class:"page-break",style:"page-break-after: always"}),r=t.createContainerElement("span",{style:"display: none"});return t.insert(t.createPositionAt(n,0),r),n}}),r.for("editingDowncast").elementToElement({model:"pageBreak",view:(e,{writer:t})=>{const r=n("Page break"),i=t.createContainerElement("div"),o=t.createRawElement("span",{class:"page-break__label"},(function(e){e.innerText=n("Page break")}));return t.addClass("page-break",i),t.insert(t.createPositionAt(i,0),o),function(e,t,n){return t.setCustomProperty("pageBreak",!0,e),Object(a.toWidget)(e,t,{label:n})}(i,t,r)}}),r.for("upcast").elementToElement({view:e=>{const t="always"==e.getStyle("page-break-before"),n="always"==e.getStyle("page-break-after");if(t||n){if(1==e.childCount){const t=e.getChild(0);if(!t.is("element","span")||"none"!=t.getStyle("display"))return}else if(e.childCount>1)return;return{name:!0}}},model:"pageBreak",converterPriority:"high"}),e.commands.add("pageBreak",new i(e))}}var s=n(3);class c extends r.Plugin{static get pluginName(){return"PageBreakUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("pageBreak",n=>{const r=e.commands.get("pageBreak"),a=new s.ButtonView(n);return a.set({label:t("Page break"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"/><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"/><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"/></svg>',tooltip:!0}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",()=>{e.execute("pageBreak"),e.editing.view.focus()}),a})}}class l extends r.Plugin{static get requires(){return[o,c,a.Widget]}static get pluginName(){return"PageBreak"}}}]);
@@ -0,0 +1 @@
1
+ !function(i){const a=i.az=i.az||{};a.dictionary=Object.assign(a.dictionary||{},{"Page break":"Səhifə qırılması"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const c=n.cs=n.cs||{};c.dictionary=Object.assign(c.dictionary||{},{"Page break":"Konec stránky"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.da=i.da||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Sideskift"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i["de-ch"]=i["de-ch"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Seitenumbruch"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.de=i.de||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Seitenumbruch"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const a=n["en-au"]=n["en-au"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Page break":"Page break"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.es=i.es||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Salto de página"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.et=e.et||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Lehekülje murdmine"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"برش صفحه"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.fr=i.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Séparation de page"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.gl=i.gl||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Salto de páxina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.hi=i.hi||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Page break"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.hr=i.hr||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Prijelom stranice"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.hu=i.hu||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Oldaltörés"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.id=i.id||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Henti halaman"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.it=i.it||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Interruzione di pagina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ko=i.ko||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"페이지 나누기"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ku=i.ku||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"کۆتایهێنانی پەڕە"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.lv=i.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Lappuses pārtraukums"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.nl=n.nl||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Pagina einde"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.no=i.no||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Sideskift "})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.pl=i.pl||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Podział strony"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i["pt-br"]=i["pt-br"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Quebra de página"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.ro=n.ro||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Întrerupere de pagină"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ru=i.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Разрыв страницы"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.sk=n.sk||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Zalomenie strany"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n["sr-latn"]=n["sr-latn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Prelom stranice"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.sr=i.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Прелом странице"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.th=i.th||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"ตัวแบ่งหน้า"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.tk=a.tk||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Sahypa arakesmesi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n.tr=n.tr||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"Sayfa sonu"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.uk=i.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Розрив cторінки"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const a=i.uz=i.uz||{};a.dictionary=Object.assign(a.dictionary||{},{"Page break":"Sahifalar uzilishi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.vi=i.vi||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"Ngắt trang"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(n){const i=n["zh-cn"]=n["zh-cn"]||{};i.dictionary=Object.assign(i.dictionary||{},{"Page break":"分页符"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(i){const n=i.zh=i.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Page break":"換頁"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -6,11 +6,13 @@
6
6
  "description": "Allows for inserting a page break into the rich-text editor so you can structure your content better for print.",
7
7
  "docs": "features/page-break.html",
8
8
  "path": "src/pagebreak.js",
9
- "uiComponents": [ {
10
- "type": "Button",
11
- "name": "pageBreak",
12
- "iconPath": "theme/icons/pagebreak.svg"
13
- } ],
9
+ "uiComponents": [
10
+ {
11
+ "type": "Button",
12
+ "name": "pageBreak",
13
+ "iconPath": "theme/icons/pagebreak.svg"
14
+ }
15
+ ],
14
16
  "htmlOutput": [
15
17
  {
16
18
  "elements": "div",
@@ -0,0 +1,21 @@
1
+ # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
16
+ "Language: uz\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Page break"
20
+ msgid "Page break"
21
+ msgstr "Sahifalar uzilishi"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-page-break",
3
- "version": "29.1.0",
3
+ "version": "31.1.0",
4
4
  "description": "Page break feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,20 +12,20 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^29.1.0"
15
+ "ckeditor5": "^31.1.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-cloud-services": "^29.1.0",
19
- "@ckeditor/ckeditor5-core": "^29.1.0",
20
- "@ckeditor/ckeditor5-dev-utils": "^25.3.0",
21
- "@ckeditor/ckeditor5-easy-image": "^29.1.0",
22
- "@ckeditor/ckeditor5-editor-classic": "^29.1.0",
23
- "@ckeditor/ckeditor5-engine": "^29.1.0",
24
- "@ckeditor/ckeditor5-image": "^29.1.0",
25
- "@ckeditor/ckeditor5-paragraph": "^29.1.0",
26
- "@ckeditor/ckeditor5-theme-lark": "^29.1.0",
27
- "@ckeditor/ckeditor5-ui": "^29.1.0",
28
- "@ckeditor/ckeditor5-widget": "^29.1.0",
18
+ "@ckeditor/ckeditor5-cloud-services": "^31.1.0",
19
+ "@ckeditor/ckeditor5-core": "^31.1.0",
20
+ "@ckeditor/ckeditor5-dev-utils": "^26.0.0",
21
+ "@ckeditor/ckeditor5-easy-image": "^31.1.0",
22
+ "@ckeditor/ckeditor5-editor-classic": "^31.1.0",
23
+ "@ckeditor/ckeditor5-engine": "^31.1.0",
24
+ "@ckeditor/ckeditor5-image": "^31.1.0",
25
+ "@ckeditor/ckeditor5-paragraph": "^31.1.0",
26
+ "@ckeditor/ckeditor5-theme-lark": "^31.1.0",
27
+ "@ckeditor/ckeditor5-ui": "^31.1.0",
28
+ "@ckeditor/ckeditor5-widget": "^31.1.0",
29
29
  "webpack": "^4.43.0",
30
30
  "webpack-cli": "^3.3.11"
31
31
  },
package/CHANGELOG.md DELETED
@@ -1,42 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
-
6
- Changes for the past releases are available below.
7
-
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-page-break/compare/v18.0.0...v19.0.0) (2020-04-29)
9
-
10
- ### Other changes
11
-
12
- * Updated translations. ([f9c3375](https://github.com/ckeditor/ckeditor5-page-break/commit/f9c3375))
13
-
14
-
15
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-page-break/compare/v17.0.0...v18.0.0) (2020-03-19)
16
-
17
- ### Other changes
18
-
19
- * Updated translations. ([081969b](https://github.com/ckeditor/ckeditor5-page-break/commit/081969b))
20
-
21
-
22
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-page-break/compare/v16.0.0...v17.0.0) (2020-02-19)
23
-
24
- ### Bug fixes
25
-
26
- * Focus the editor before executing toolbar buttons' command. See [ckeditor/ckeditor5#353](https://github.com/ckeditor/ckeditor5/issues/353). ([03364dd](https://github.com/ckeditor/ckeditor5-page-break/commit/03364dd))
27
-
28
- ### Other changes
29
-
30
- * Updated translations. ([797d806](https://github.com/ckeditor/ckeditor5-page-break/commit/797d806))
31
-
32
-
33
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-page-break/compare/v15.0.0...v16.0.0) (2019-12-04)
34
-
35
- ### Other changes
36
-
37
- * Updated translations. ([b4d4be1](https://github.com/ckeditor/ckeditor5-page-break/commit/b4d4be1))
38
-
39
-
40
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-page-break/tree/v15.0.0) (2019-10-23)
41
-
42
- The initial release.