summaryrefslogtreecommitdiff
path: root/plugins/pagebreak
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pagebreak')
-rw-r--r--plugins/pagebreak/icons/pagebreak-rtl.pngbin0 -> 628 bytes
-rw-r--r--plugins/pagebreak/icons/pagebreak.pngbin0 -> 603 bytes
-rw-r--r--plugins/pagebreak/lang/af.js8
-rw-r--r--plugins/pagebreak/lang/ar.js8
-rw-r--r--plugins/pagebreak/lang/bg.js8
-rw-r--r--plugins/pagebreak/lang/bn.js8
-rw-r--r--plugins/pagebreak/lang/bs.js8
-rw-r--r--plugins/pagebreak/lang/ca.js8
-rw-r--r--plugins/pagebreak/lang/cs.js8
-rw-r--r--plugins/pagebreak/lang/cy.js8
-rw-r--r--plugins/pagebreak/lang/da.js8
-rw-r--r--plugins/pagebreak/lang/de.js8
-rw-r--r--plugins/pagebreak/lang/el.js8
-rw-r--r--plugins/pagebreak/lang/en-au.js8
-rw-r--r--plugins/pagebreak/lang/en-ca.js8
-rw-r--r--plugins/pagebreak/lang/en-gb.js8
-rw-r--r--plugins/pagebreak/lang/en.js8
-rw-r--r--plugins/pagebreak/lang/eo.js8
-rw-r--r--plugins/pagebreak/lang/es.js8
-rw-r--r--plugins/pagebreak/lang/et.js8
-rw-r--r--plugins/pagebreak/lang/eu.js8
-rw-r--r--plugins/pagebreak/lang/fa.js8
-rw-r--r--plugins/pagebreak/lang/fi.js8
-rw-r--r--plugins/pagebreak/lang/fo.js8
-rw-r--r--plugins/pagebreak/lang/fr-ca.js8
-rw-r--r--plugins/pagebreak/lang/fr.js8
-rw-r--r--plugins/pagebreak/lang/gl.js8
-rw-r--r--plugins/pagebreak/lang/gu.js8
-rw-r--r--plugins/pagebreak/lang/he.js8
-rw-r--r--plugins/pagebreak/lang/hi.js8
-rw-r--r--plugins/pagebreak/lang/hr.js8
-rw-r--r--plugins/pagebreak/lang/hu.js8
-rw-r--r--plugins/pagebreak/lang/is.js8
-rw-r--r--plugins/pagebreak/lang/it.js8
-rw-r--r--plugins/pagebreak/lang/ja.js8
-rw-r--r--plugins/pagebreak/lang/ka.js8
-rw-r--r--plugins/pagebreak/lang/km.js8
-rw-r--r--plugins/pagebreak/lang/ko.js8
-rw-r--r--plugins/pagebreak/lang/ku.js8
-rw-r--r--plugins/pagebreak/lang/lt.js8
-rw-r--r--plugins/pagebreak/lang/lv.js8
-rw-r--r--plugins/pagebreak/lang/mk.js8
-rw-r--r--plugins/pagebreak/lang/mn.js8
-rw-r--r--plugins/pagebreak/lang/ms.js8
-rw-r--r--plugins/pagebreak/lang/nb.js8
-rw-r--r--plugins/pagebreak/lang/nl.js8
-rw-r--r--plugins/pagebreak/lang/no.js8
-rw-r--r--plugins/pagebreak/lang/pl.js8
-rw-r--r--plugins/pagebreak/lang/pt-br.js8
-rw-r--r--plugins/pagebreak/lang/pt.js8
-rw-r--r--plugins/pagebreak/lang/ro.js8
-rw-r--r--plugins/pagebreak/lang/ru.js8
-rw-r--r--plugins/pagebreak/lang/si.js8
-rw-r--r--plugins/pagebreak/lang/sk.js8
-rw-r--r--plugins/pagebreak/lang/sl.js8
-rw-r--r--plugins/pagebreak/lang/sq.js8
-rw-r--r--plugins/pagebreak/lang/sr-latn.js8
-rw-r--r--plugins/pagebreak/lang/sr.js8
-rw-r--r--plugins/pagebreak/lang/sv.js8
-rw-r--r--plugins/pagebreak/lang/th.js8
-rw-r--r--plugins/pagebreak/lang/tr.js8
-rw-r--r--plugins/pagebreak/lang/ug.js8
-rw-r--r--plugins/pagebreak/lang/uk.js8
-rw-r--r--plugins/pagebreak/lang/vi.js8
-rw-r--r--plugins/pagebreak/lang/zh-cn.js8
-rw-r--r--plugins/pagebreak/lang/zh.js8
-rw-r--r--plugins/pagebreak/plugin.js142
67 files changed, 654 insertions, 0 deletions
diff --git a/plugins/pagebreak/icons/pagebreak-rtl.png b/plugins/pagebreak/icons/pagebreak-rtl.png
new file mode 100644
index 0000000..6ad482c
--- /dev/null
+++ b/plugins/pagebreak/icons/pagebreak-rtl.png
Binary files differ
diff --git a/plugins/pagebreak/icons/pagebreak.png b/plugins/pagebreak/icons/pagebreak.png
new file mode 100644
index 0000000..6f9a330
--- /dev/null
+++ b/plugins/pagebreak/icons/pagebreak.png
Binary files differ
diff --git a/plugins/pagebreak/lang/af.js b/plugins/pagebreak/lang/af.js
new file mode 100644
index 0000000..dbeba49
--- /dev/null
+++ b/plugins/pagebreak/lang/af.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'af', {
+ alt: 'Bladsy-einde',
+ toolbar: 'Bladsy-einde invoeg'
+});
diff --git a/plugins/pagebreak/lang/ar.js b/plugins/pagebreak/lang/ar.js
new file mode 100644
index 0000000..8318f34
--- /dev/null
+++ b/plugins/pagebreak/lang/ar.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ar', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'إدخال صفحة جديدة'
+});
diff --git a/plugins/pagebreak/lang/bg.js b/plugins/pagebreak/lang/bg.js
new file mode 100644
index 0000000..26f6cbe
--- /dev/null
+++ b/plugins/pagebreak/lang/bg.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'bg', {
+ alt: 'Разделяне на страници',
+ toolbar: 'Вмъкване на нова страница при печат'
+});
diff --git a/plugins/pagebreak/lang/bn.js b/plugins/pagebreak/lang/bn.js
new file mode 100644
index 0000000..6533d43
--- /dev/null
+++ b/plugins/pagebreak/lang/bn.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'bn', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'পেজ ব্রেক'
+});
diff --git a/plugins/pagebreak/lang/bs.js b/plugins/pagebreak/lang/bs.js
new file mode 100644
index 0000000..14ef84c
--- /dev/null
+++ b/plugins/pagebreak/lang/bs.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'bs', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/ca.js b/plugins/pagebreak/lang/ca.js
new file mode 100644
index 0000000..3417336
--- /dev/null
+++ b/plugins/pagebreak/lang/ca.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ca', {
+ alt: 'Salt de pàgina',
+ toolbar: 'Insereix salt de pàgina'
+});
diff --git a/plugins/pagebreak/lang/cs.js b/plugins/pagebreak/lang/cs.js
new file mode 100644
index 0000000..a827bd8
--- /dev/null
+++ b/plugins/pagebreak/lang/cs.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'cs', {
+ alt: 'Konec stránky',
+ toolbar: 'Vložit konec stránky'
+});
diff --git a/plugins/pagebreak/lang/cy.js b/plugins/pagebreak/lang/cy.js
new file mode 100644
index 0000000..d1f55f9
--- /dev/null
+++ b/plugins/pagebreak/lang/cy.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'cy', {
+ alt: 'Toriad Tudalen',
+ toolbar: 'Mewnosod Toriad Tudalen i Argraffu'
+});
diff --git a/plugins/pagebreak/lang/da.js b/plugins/pagebreak/lang/da.js
new file mode 100644
index 0000000..20596dc
--- /dev/null
+++ b/plugins/pagebreak/lang/da.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'da', {
+ alt: 'Sideskift',
+ toolbar: 'Indsæt sideskift'
+});
diff --git a/plugins/pagebreak/lang/de.js b/plugins/pagebreak/lang/de.js
new file mode 100644
index 0000000..18d4296
--- /dev/null
+++ b/plugins/pagebreak/lang/de.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'de', {
+ alt: 'Seitenumbruch einfügen',
+ toolbar: 'Seitenumbruch einfügen'
+});
diff --git a/plugins/pagebreak/lang/el.js b/plugins/pagebreak/lang/el.js
new file mode 100644
index 0000000..2cccdaa
--- /dev/null
+++ b/plugins/pagebreak/lang/el.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'el', {
+ alt: 'Αλλαγή Σελίδας',
+ toolbar: 'Εισαγωγή τέλους σελίδας'
+});
diff --git a/plugins/pagebreak/lang/en-au.js b/plugins/pagebreak/lang/en-au.js
new file mode 100644
index 0000000..926afc3
--- /dev/null
+++ b/plugins/pagebreak/lang/en-au.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'en-au', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing'
+});
diff --git a/plugins/pagebreak/lang/en-ca.js b/plugins/pagebreak/lang/en-ca.js
new file mode 100644
index 0000000..11746c0
--- /dev/null
+++ b/plugins/pagebreak/lang/en-ca.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'en-ca', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing'
+});
diff --git a/plugins/pagebreak/lang/en-gb.js b/plugins/pagebreak/lang/en-gb.js
new file mode 100644
index 0000000..42caced
--- /dev/null
+++ b/plugins/pagebreak/lang/en-gb.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'en-gb', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing'
+});
diff --git a/plugins/pagebreak/lang/en.js b/plugins/pagebreak/lang/en.js
new file mode 100644
index 0000000..5069343
--- /dev/null
+++ b/plugins/pagebreak/lang/en.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'en', {
+ alt: 'Page Break',
+ toolbar: 'Insert Page Break for Printing'
+});
diff --git a/plugins/pagebreak/lang/eo.js b/plugins/pagebreak/lang/eo.js
new file mode 100644
index 0000000..2d7aca6
--- /dev/null
+++ b/plugins/pagebreak/lang/eo.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'eo', {
+ alt: 'Paĝavanco',
+ toolbar: 'Enmeti Paĝavancon por Presado'
+});
diff --git a/plugins/pagebreak/lang/es.js b/plugins/pagebreak/lang/es.js
new file mode 100644
index 0000000..337668b
--- /dev/null
+++ b/plugins/pagebreak/lang/es.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'es', {
+ alt: 'Salto de página',
+ toolbar: 'Insertar Salto de Página'
+});
diff --git a/plugins/pagebreak/lang/et.js b/plugins/pagebreak/lang/et.js
new file mode 100644
index 0000000..31ba947
--- /dev/null
+++ b/plugins/pagebreak/lang/et.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'et', {
+ alt: 'Lehevahetuskoht',
+ toolbar: 'Lehevahetuskoha sisestamine'
+});
diff --git a/plugins/pagebreak/lang/eu.js b/plugins/pagebreak/lang/eu.js
new file mode 100644
index 0000000..1501ab1
--- /dev/null
+++ b/plugins/pagebreak/lang/eu.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'eu', {
+ alt: 'Orrialde-jauzia',
+ toolbar: 'Txertatu Orrialde-jauzia Inprimatzean'
+});
diff --git a/plugins/pagebreak/lang/fa.js b/plugins/pagebreak/lang/fa.js
new file mode 100644
index 0000000..10f8a46
--- /dev/null
+++ b/plugins/pagebreak/lang/fa.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'fa', {
+ alt: 'شکستن صفحه',
+ toolbar: 'گنجاندن شکستگی پایان برگه'
+});
diff --git a/plugins/pagebreak/lang/fi.js b/plugins/pagebreak/lang/fi.js
new file mode 100644
index 0000000..13ee7b9
--- /dev/null
+++ b/plugins/pagebreak/lang/fi.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'fi', {
+ alt: 'Sivunvaihto',
+ toolbar: 'Lisää sivunvaihto'
+});
diff --git a/plugins/pagebreak/lang/fo.js b/plugins/pagebreak/lang/fo.js
new file mode 100644
index 0000000..8fc8e99
--- /dev/null
+++ b/plugins/pagebreak/lang/fo.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'fo', {
+ alt: 'Síðuskift',
+ toolbar: 'Ger síðuskift'
+});
diff --git a/plugins/pagebreak/lang/fr-ca.js b/plugins/pagebreak/lang/fr-ca.js
new file mode 100644
index 0000000..e2f171b
--- /dev/null
+++ b/plugins/pagebreak/lang/fr-ca.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'fr-ca', {
+ alt: 'Saut de page',
+ toolbar: 'Insérer un saut de page à l\'impression'
+});
diff --git a/plugins/pagebreak/lang/fr.js b/plugins/pagebreak/lang/fr.js
new file mode 100644
index 0000000..4b8d2ed
--- /dev/null
+++ b/plugins/pagebreak/lang/fr.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'fr', {
+ alt: 'Saut de page',
+ toolbar: 'Saut de page'
+});
diff --git a/plugins/pagebreak/lang/gl.js b/plugins/pagebreak/lang/gl.js
new file mode 100644
index 0000000..86f8d84
--- /dev/null
+++ b/plugins/pagebreak/lang/gl.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'gl', {
+ alt: 'Quebra de páxina',
+ toolbar: 'Inserir quebra de páxina'
+});
diff --git a/plugins/pagebreak/lang/gu.js b/plugins/pagebreak/lang/gu.js
new file mode 100644
index 0000000..bff7477
--- /dev/null
+++ b/plugins/pagebreak/lang/gu.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'gu', {
+ alt: 'નવું પાનું',
+ toolbar: 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું'
+});
diff --git a/plugins/pagebreak/lang/he.js b/plugins/pagebreak/lang/he.js
new file mode 100644
index 0000000..3f8e2b6
--- /dev/null
+++ b/plugins/pagebreak/lang/he.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'he', {
+ alt: 'שבירת דף',
+ toolbar: 'הוספת שבירת דף'
+});
diff --git a/plugins/pagebreak/lang/hi.js b/plugins/pagebreak/lang/hi.js
new file mode 100644
index 0000000..58e6150
--- /dev/null
+++ b/plugins/pagebreak/lang/hi.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'hi', {
+ alt: 'पेज ब्रेक',
+ toolbar: 'पेज ब्रेक इन्सर्ट् करें'
+});
diff --git a/plugins/pagebreak/lang/hr.js b/plugins/pagebreak/lang/hr.js
new file mode 100644
index 0000000..568b015
--- /dev/null
+++ b/plugins/pagebreak/lang/hr.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'hr', {
+ alt: 'Prijelom stranice',
+ toolbar: 'Ubaci prijelom stranice'
+});
diff --git a/plugins/pagebreak/lang/hu.js b/plugins/pagebreak/lang/hu.js
new file mode 100644
index 0000000..3a4bc97
--- /dev/null
+++ b/plugins/pagebreak/lang/hu.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'hu', {
+ alt: 'Oldaltörés',
+ toolbar: 'Oldaltörés beillesztése'
+});
diff --git a/plugins/pagebreak/lang/is.js b/plugins/pagebreak/lang/is.js
new file mode 100644
index 0000000..b616972
--- /dev/null
+++ b/plugins/pagebreak/lang/is.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'is', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Setja inn síðuskil'
+});
diff --git a/plugins/pagebreak/lang/it.js b/plugins/pagebreak/lang/it.js
new file mode 100644
index 0000000..7ae1cc0
--- /dev/null
+++ b/plugins/pagebreak/lang/it.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'it', {
+ alt: 'Interruzione di pagina',
+ toolbar: 'Inserisci interruzione di pagina per la stampa'
+});
diff --git a/plugins/pagebreak/lang/ja.js b/plugins/pagebreak/lang/ja.js
new file mode 100644
index 0000000..eea61d8
--- /dev/null
+++ b/plugins/pagebreak/lang/ja.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ja', {
+ alt: 'Page Break', // MISSING
+ toolbar: '改ページ挿入'
+});
diff --git a/plugins/pagebreak/lang/ka.js b/plugins/pagebreak/lang/ka.js
new file mode 100644
index 0000000..c70c45b
--- /dev/null
+++ b/plugins/pagebreak/lang/ka.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ka', {
+ alt: 'გვერდის წყვეტა',
+ toolbar: 'გვერდის წყვეტა ბეჭდვისთვის'
+});
diff --git a/plugins/pagebreak/lang/km.js b/plugins/pagebreak/lang/km.js
new file mode 100644
index 0000000..cc12ac3
--- /dev/null
+++ b/plugins/pagebreak/lang/km.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'km', {
+ alt: 'បំបែក​ទំព័រ',
+ toolbar: 'បន្ថែម​ការ​បំបែក​ទំព័រ​មុន​បោះពុម្ព'
+});
diff --git a/plugins/pagebreak/lang/ko.js b/plugins/pagebreak/lang/ko.js
new file mode 100644
index 0000000..de7fb7a
--- /dev/null
+++ b/plugins/pagebreak/lang/ko.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ko', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/ku.js b/plugins/pagebreak/lang/ku.js
new file mode 100644
index 0000000..9b940e7
--- /dev/null
+++ b/plugins/pagebreak/lang/ku.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ku', {
+ alt: 'پشووی پەڕە',
+ toolbar: 'دانانی پشووی پەڕە بۆ چاپکردن'
+});
diff --git a/plugins/pagebreak/lang/lt.js b/plugins/pagebreak/lang/lt.js
new file mode 100644
index 0000000..807789e
--- /dev/null
+++ b/plugins/pagebreak/lang/lt.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'lt', {
+ alt: 'Puslapio skirtukas',
+ toolbar: 'Įterpti puslapių skirtuką'
+});
diff --git a/plugins/pagebreak/lang/lv.js b/plugins/pagebreak/lang/lv.js
new file mode 100644
index 0000000..039cc02
--- /dev/null
+++ b/plugins/pagebreak/lang/lv.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'lv', {
+ alt: 'Lapas pārnesums',
+ toolbar: 'Ievietot lapas pārtraukumu drukai'
+});
diff --git a/plugins/pagebreak/lang/mk.js b/plugins/pagebreak/lang/mk.js
new file mode 100644
index 0000000..7615be8
--- /dev/null
+++ b/plugins/pagebreak/lang/mk.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'mk', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/mn.js b/plugins/pagebreak/lang/mn.js
new file mode 100644
index 0000000..949df43
--- /dev/null
+++ b/plugins/pagebreak/lang/mn.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'mn', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Хуудас тусгаарлагч оруулах'
+});
diff --git a/plugins/pagebreak/lang/ms.js b/plugins/pagebreak/lang/ms.js
new file mode 100644
index 0000000..fc47c12
--- /dev/null
+++ b/plugins/pagebreak/lang/ms.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ms', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/nb.js b/plugins/pagebreak/lang/nb.js
new file mode 100644
index 0000000..6332860
--- /dev/null
+++ b/plugins/pagebreak/lang/nb.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'nb', {
+ alt: 'Sideskift',
+ toolbar: 'Sett inn sideskift for utskrift'
+});
diff --git a/plugins/pagebreak/lang/nl.js b/plugins/pagebreak/lang/nl.js
new file mode 100644
index 0000000..cb37341
--- /dev/null
+++ b/plugins/pagebreak/lang/nl.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'nl', {
+ alt: 'Pagina-einde',
+ toolbar: 'Pagina-einde invoegen'
+});
diff --git a/plugins/pagebreak/lang/no.js b/plugins/pagebreak/lang/no.js
new file mode 100644
index 0000000..0023ece
--- /dev/null
+++ b/plugins/pagebreak/lang/no.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'no', {
+ alt: 'Sideskift',
+ toolbar: 'Sett inn sideskift for utskrift'
+});
diff --git a/plugins/pagebreak/lang/pl.js b/plugins/pagebreak/lang/pl.js
new file mode 100644
index 0000000..f978e49
--- /dev/null
+++ b/plugins/pagebreak/lang/pl.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'pl', {
+ alt: 'Wstaw podział strony',
+ toolbar: 'Wstaw podział strony'
+});
diff --git a/plugins/pagebreak/lang/pt-br.js b/plugins/pagebreak/lang/pt-br.js
new file mode 100644
index 0000000..bee120d
--- /dev/null
+++ b/plugins/pagebreak/lang/pt-br.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'pt-br', {
+ alt: 'Quebra de Página',
+ toolbar: 'Inserir Quebra de Página'
+});
diff --git a/plugins/pagebreak/lang/pt.js b/plugins/pagebreak/lang/pt.js
new file mode 100644
index 0000000..1de5d11
--- /dev/null
+++ b/plugins/pagebreak/lang/pt.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'pt', {
+ alt: 'Quebra de página',
+ toolbar: 'Inserir Quebra de Página'
+});
diff --git a/plugins/pagebreak/lang/ro.js b/plugins/pagebreak/lang/ro.js
new file mode 100644
index 0000000..82162ff
--- /dev/null
+++ b/plugins/pagebreak/lang/ro.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ro', {
+ alt: 'Page Break',
+ toolbar: 'Inserează separator de pagină (Page Break)'
+});
diff --git a/plugins/pagebreak/lang/ru.js b/plugins/pagebreak/lang/ru.js
new file mode 100644
index 0000000..70b7a7b
--- /dev/null
+++ b/plugins/pagebreak/lang/ru.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ru', {
+ alt: 'Разрыв страницы',
+ toolbar: 'Вставить разрыв страницы для печати'
+});
diff --git a/plugins/pagebreak/lang/si.js b/plugins/pagebreak/lang/si.js
new file mode 100644
index 0000000..a3dac9d
--- /dev/null
+++ b/plugins/pagebreak/lang/si.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'si', {
+ alt: 'පිටු බිදුම',
+ toolbar: 'මුද්‍රණය සඳහා පිටු බිදුමක් ඇතුලත් කරන්න'
+});
diff --git a/plugins/pagebreak/lang/sk.js b/plugins/pagebreak/lang/sk.js
new file mode 100644
index 0000000..8049695
--- /dev/null
+++ b/plugins/pagebreak/lang/sk.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sk', {
+ alt: 'Zalomenie strany',
+ toolbar: 'Vložiť oddeľovač stránky pre tlač'
+});
diff --git a/plugins/pagebreak/lang/sl.js b/plugins/pagebreak/lang/sl.js
new file mode 100644
index 0000000..2c76c91
--- /dev/null
+++ b/plugins/pagebreak/lang/sl.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sl', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Vstavi prelom strani'
+});
diff --git a/plugins/pagebreak/lang/sq.js b/plugins/pagebreak/lang/sq.js
new file mode 100644
index 0000000..4884326
--- /dev/null
+++ b/plugins/pagebreak/lang/sq.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sq', {
+ alt: 'Thyerja e Faqes',
+ toolbar: 'Vendos Thyerje Faqeje për Shtyp'
+});
diff --git a/plugins/pagebreak/lang/sr-latn.js b/plugins/pagebreak/lang/sr-latn.js
new file mode 100644
index 0000000..ba84979
--- /dev/null
+++ b/plugins/pagebreak/lang/sr-latn.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sr-latn', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/sr.js b/plugins/pagebreak/lang/sr.js
new file mode 100644
index 0000000..f29566a
--- /dev/null
+++ b/plugins/pagebreak/lang/sr.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sr', {
+ alt: 'Page Break', // MISSING
+ toolbar: 'Insert Page Break for Printing' // MISSING
+});
diff --git a/plugins/pagebreak/lang/sv.js b/plugins/pagebreak/lang/sv.js
new file mode 100644
index 0000000..37bd4bc
--- /dev/null
+++ b/plugins/pagebreak/lang/sv.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'sv', {
+ alt: 'Sidbrytning',
+ toolbar: 'Infoga sidbrytning'
+});
diff --git a/plugins/pagebreak/lang/th.js b/plugins/pagebreak/lang/th.js
new file mode 100644
index 0000000..9140244
--- /dev/null
+++ b/plugins/pagebreak/lang/th.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'th', {
+ alt: 'ตัวแบ่งหน้า',
+ toolbar: 'แทรกตัวแบ่งหน้า Page Break'
+});
diff --git a/plugins/pagebreak/lang/tr.js b/plugins/pagebreak/lang/tr.js
new file mode 100644
index 0000000..171b91e
--- /dev/null
+++ b/plugins/pagebreak/lang/tr.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'tr', {
+ alt: 'Sayfa Sonu',
+ toolbar: 'Sayfa Sonu Ekle'
+});
diff --git a/plugins/pagebreak/lang/ug.js b/plugins/pagebreak/lang/ug.js
new file mode 100644
index 0000000..6517f32
--- /dev/null
+++ b/plugins/pagebreak/lang/ug.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'ug', {
+ alt: 'بەت ئايرىغۇچ',
+ toolbar: 'بەت ئايرىغۇچ قىستۇر'
+});
diff --git a/plugins/pagebreak/lang/uk.js b/plugins/pagebreak/lang/uk.js
new file mode 100644
index 0000000..8808b6c
--- /dev/null
+++ b/plugins/pagebreak/lang/uk.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'uk', {
+ alt: 'Розрив Сторінки',
+ toolbar: 'Вставити розрив сторінки'
+});
diff --git a/plugins/pagebreak/lang/vi.js b/plugins/pagebreak/lang/vi.js
new file mode 100644
index 0000000..e5d5be1
--- /dev/null
+++ b/plugins/pagebreak/lang/vi.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'vi', {
+ alt: 'Ngắt trang',
+ toolbar: 'Chèn ngắt trang'
+});
diff --git a/plugins/pagebreak/lang/zh-cn.js b/plugins/pagebreak/lang/zh-cn.js
new file mode 100644
index 0000000..98b07be
--- /dev/null
+++ b/plugins/pagebreak/lang/zh-cn.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'zh-cn', {
+ alt: '分页符',
+ toolbar: '插入分页符'
+});
diff --git a/plugins/pagebreak/lang/zh.js b/plugins/pagebreak/lang/zh.js
new file mode 100644
index 0000000..a5fd577
--- /dev/null
+++ b/plugins/pagebreak/lang/zh.js
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'pagebreak', 'zh', {
+ alt: '分頁符號',
+ toolbar: '插入分頁符號'
+});
diff --git a/plugins/pagebreak/plugin.js b/plugins/pagebreak/plugin.js
new file mode 100644
index 0000000..d1976dc
--- /dev/null
+++ b/plugins/pagebreak/plugin.js
@@ -0,0 +1,142 @@
+/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+/**
+ * @fileOverview Horizontal Page Break
+ */
+
+// Register a plugin named "pagebreak".
+CKEDITOR.plugins.add( 'pagebreak', {
+ requires: 'fakeobjects',
+
+ lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
+ icons: 'pagebreak,pagebreak-rtl', // %REMOVE_LINE_CORE%
+ onLoad: function() {
+ var cssStyles = [
+ '{',
+ 'background: url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ') no-repeat center center;',
+ 'clear: both;',
+ 'width:100%; _width:99.9%;',
+ 'border-top: #999999 1px dotted;',
+ 'border-bottom: #999999 1px dotted;',
+ 'padding:0;',
+ 'height: 5px;',
+ 'cursor: default;',
+ '}'
+ ].join( '' ).replace( /;/g, ' !important;' ); // Increase specificity to override other styles, e.g. block outline.
+
+ // Add the style that renders our placeholder.
+ CKEDITOR.addCss( 'div.cke_pagebreak' + cssStyles );
+ },
+ init: function( editor ) {
+ if ( editor.blockless )
+ return;
+
+ // Register the command.
+ editor.addCommand( 'pagebreak', CKEDITOR.plugins.pagebreakCmd );
+
+ // Register the toolbar button.
+ editor.ui.addButton && editor.ui.addButton( 'PageBreak', {
+ label: editor.lang.pagebreak.toolbar,
+ command: 'pagebreak',
+ toolbar: 'insert,70'
+ });
+
+ // Opera needs help to select the page-break.
+ CKEDITOR.env.opera && editor.on( 'contentDom', function() {
+ editor.document.on( 'click', function( evt ) {
+ var target = evt.data.getTarget();
+ if ( target.is( 'div' ) && target.hasClass( 'cke_pagebreak' ) )
+ editor.getSelection().selectElement( target );
+ });
+ });
+ },
+
+ afterInit: function( editor ) {
+ var label = editor.lang.pagebreak.alt;
+
+ // Register a filter to displaying placeholders after mode change.
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+ if ( htmlFilter ) {
+ htmlFilter.addRules({
+ attributes: {
+ 'class': function( value, element ) {
+ var className = value.replace( 'cke_pagebreak', '' );
+ if ( className != value ) {
+ var span = CKEDITOR.htmlParser.fragment.fromHtml( '<span style="display: none;">&nbsp;</span>' ).children[ 0 ];
+ element.children.length = 0;
+ element.add( span );
+ var attrs = element.attributes;
+ delete attrs[ 'aria-label' ];
+ delete attrs.contenteditable;
+ delete attrs.title;
+ }
+ return className;
+ }
+ }
+ }, 5 );
+ }
+
+ if ( dataFilter ) {
+ dataFilter.addRules({
+ elements: {
+ div: function( element ) {
+ var attributes = element.attributes,
+ style = attributes && attributes.style,
+ child = style && element.children.length == 1 && element.children[ 0 ],
+ childStyle = child && ( child.name == 'span' ) && child.attributes.style;
+
+ if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) ) {
+ attributes.contenteditable = "false";
+ attributes[ 'class' ] = "cke_pagebreak";
+ attributes[ 'data-cke-display-name' ] = "pagebreak";
+ attributes[ 'aria-label' ] = label;
+ attributes[ 'title' ] = label;
+
+ element.children.length = 0;
+ }
+ }
+ }
+ });
+ }
+ }
+});
+
+// TODO Much probably there's no need to expose this object as public object.
+
+CKEDITOR.plugins.pagebreakCmd = {
+ exec: function( editor ) {
+ var label = editor.lang.pagebreak.alt;
+
+ // Create read-only element that represents a print break.
+ var pagebreak = CKEDITOR.dom.element.createFromHtml( '<div style="' +
+ 'page-break-after: always;"' +
+ 'contenteditable="false" ' +
+ 'title="' + label + '" ' +
+ 'aria-label="' + label + '" ' +
+ 'data-cke-display-name="pagebreak" ' +
+ 'class="cke_pagebreak">' +
+ '</div>', editor.document );
+
+ editor.insertElement( pagebreak );
+ },
+ context: 'div',
+ allowedContent: {
+ div: {
+ styles: '!page-break-after'
+ },
+ span: {
+ match: function( element ) {
+ var parent = element.parent;
+ return parent && parent.name == 'div' && parent.styles[ 'page-break-after' ];
+ },
+ styles: 'display'
+ }
+ },
+ requiredContent: 'div{page-break-after}'
+};