new ckeditor
New ckeditor
This commit is contained in:
BIN
ckeditor/plugins/pagebreak/icons/hidpi/pagebreak-rtl.png
Normal file
BIN
ckeditor/plugins/pagebreak/icons/hidpi/pagebreak-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 807 B |
BIN
ckeditor/plugins/pagebreak/icons/hidpi/pagebreak.png
Normal file
BIN
ckeditor/plugins/pagebreak/icons/hidpi/pagebreak.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 809 B |
BIN
ckeditor/plugins/pagebreak/icons/pagebreak-rtl.png
Normal file
BIN
ckeditor/plugins/pagebreak/icons/pagebreak-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 468 B |
BIN
ckeditor/plugins/pagebreak/icons/pagebreak.png
Normal file
BIN
ckeditor/plugins/pagebreak/icons/pagebreak.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 459 B |
BIN
ckeditor/plugins/pagebreak/images/pagebreak.gif
Normal file
BIN
ckeditor/plugins/pagebreak/images/pagebreak.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 B |
8
ckeditor/plugins/pagebreak/lang/af.js
Normal file
8
ckeditor/plugins/pagebreak/lang/af.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'af', {
|
||||
alt: 'Bladsy-einde',
|
||||
toolbar: 'Bladsy-einde invoeg'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ar.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ar.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ar', {
|
||||
alt: 'فاصل الصفحة',
|
||||
toolbar: 'إدخال صفحة جديدة'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/az.js
Normal file
8
ckeditor/plugins/pagebreak/lang/az.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'az', {
|
||||
alt: 'Vərəq ayırıcı nişanı',
|
||||
toolbar: 'Vərəqin çapı üçün ayırıcı nişanı qoy'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/bg.js
Normal file
8
ckeditor/plugins/pagebreak/lang/bg.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'bg', {
|
||||
alt: 'Разделяне на страници',
|
||||
toolbar: 'Вмъкване на нова страница при печат'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/bn.js
Normal file
8
ckeditor/plugins/pagebreak/lang/bn.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'bn', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'পেজ ব্রেক'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/bs.js
Normal file
8
ckeditor/plugins/pagebreak/lang/bs.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'bs', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing' // MISSING
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ca.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ca.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ca', {
|
||||
alt: 'Salt de pàgina',
|
||||
toolbar: 'Insereix salt de pàgina'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/cs.js
Normal file
8
ckeditor/plugins/pagebreak/lang/cs.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'cs', {
|
||||
alt: 'Konec stránky',
|
||||
toolbar: 'Vložit konec stránky'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/cy.js
Normal file
8
ckeditor/plugins/pagebreak/lang/cy.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'cy', {
|
||||
alt: 'Toriad Tudalen',
|
||||
toolbar: 'Mewnosod Toriad Tudalen i Argraffu'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/da.js
Normal file
8
ckeditor/plugins/pagebreak/lang/da.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'da', {
|
||||
alt: 'Sideskift',
|
||||
toolbar: 'Indsæt sideskift'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/de-ch.js
Normal file
8
ckeditor/plugins/pagebreak/lang/de-ch.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'de-ch', {
|
||||
alt: 'Seitenumbruch',
|
||||
toolbar: 'Seitenumbruch zum Drucken einfügen'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/de.js
Normal file
8
ckeditor/plugins/pagebreak/lang/de.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'de', {
|
||||
alt: 'Seitenumbruch',
|
||||
toolbar: 'Seitenumbruch zum Drucken einfügen'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/el.js
Normal file
8
ckeditor/plugins/pagebreak/lang/el.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'el', {
|
||||
alt: 'Αλλαγή Σελίδας',
|
||||
toolbar: 'Εισαγωγή Τέλους Σελίδας για Εκτύπωση'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/en-au.js
Normal file
8
ckeditor/plugins/pagebreak/lang/en-au.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'en-au', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/en-ca.js
Normal file
8
ckeditor/plugins/pagebreak/lang/en-ca.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'en-ca', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/en-gb.js
Normal file
8
ckeditor/plugins/pagebreak/lang/en-gb.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'en-gb', {
|
||||
alt: 'Page Break',
|
||||
toolbar: 'Insert Page Break for Printing'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/en.js
Normal file
8
ckeditor/plugins/pagebreak/lang/en.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'en', {
|
||||
alt: 'Page Break',
|
||||
toolbar: 'Insert Page Break for Printing'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/eo.js
Normal file
8
ckeditor/plugins/pagebreak/lang/eo.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'eo', {
|
||||
alt: 'Paĝavanco',
|
||||
toolbar: 'Enmeti Paĝavancon por Presado'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/es.js
Normal file
8
ckeditor/plugins/pagebreak/lang/es.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'es', {
|
||||
alt: 'Salto de página',
|
||||
toolbar: 'Insertar Salto de Página'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/et.js
Normal file
8
ckeditor/plugins/pagebreak/lang/et.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'et', {
|
||||
alt: 'Lehevahetuskoht',
|
||||
toolbar: 'Lehevahetuskoha sisestamine'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/eu.js
Normal file
8
ckeditor/plugins/pagebreak/lang/eu.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'eu', {
|
||||
alt: 'Orrialde-jauzia',
|
||||
toolbar: 'Txertatu orrialde-jauzia inprimatzean'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/fa.js
Normal file
8
ckeditor/plugins/pagebreak/lang/fa.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'fa', {
|
||||
alt: 'شکستن صفحه',
|
||||
toolbar: 'گنجاندن شکستگی پایان برگه'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/fi.js
Normal file
8
ckeditor/plugins/pagebreak/lang/fi.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'fi', {
|
||||
alt: 'Sivunvaihto',
|
||||
toolbar: 'Lisää sivunvaihto'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/fo.js
Normal file
8
ckeditor/plugins/pagebreak/lang/fo.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'fo', {
|
||||
alt: 'Síðuskift',
|
||||
toolbar: 'Ger síðuskift'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/fr-ca.js
Normal file
8
ckeditor/plugins/pagebreak/lang/fr-ca.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'fr-ca', {
|
||||
alt: 'Saut de page',
|
||||
toolbar: 'Insérer un saut de page à l\'impression'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/fr.js
Normal file
8
ckeditor/plugins/pagebreak/lang/fr.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'fr', {
|
||||
alt: 'Saut de page',
|
||||
toolbar: 'Insérer un saut de page pour l\'impression'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/gl.js
Normal file
8
ckeditor/plugins/pagebreak/lang/gl.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'gl', {
|
||||
alt: 'Quebra de páxina',
|
||||
toolbar: 'Inserir quebra de páxina'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/gu.js
Normal file
8
ckeditor/plugins/pagebreak/lang/gu.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'gu', {
|
||||
alt: 'નવું પાનું',
|
||||
toolbar: 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/he.js
Normal file
8
ckeditor/plugins/pagebreak/lang/he.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'he', {
|
||||
alt: 'שבירת דף',
|
||||
toolbar: 'הוספת שבירת דף'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/hi.js
Normal file
8
ckeditor/plugins/pagebreak/lang/hi.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'hi', {
|
||||
alt: 'पेज ब्रेक',
|
||||
toolbar: 'पेज ब्रेक इन्सर्ट् करें'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/hr.js
Normal file
8
ckeditor/plugins/pagebreak/lang/hr.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'hr', {
|
||||
alt: 'Prijelom stranice',
|
||||
toolbar: 'Ubaci prijelom stranice'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/hu.js
Normal file
8
ckeditor/plugins/pagebreak/lang/hu.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'hu', {
|
||||
alt: 'Oldaltörés',
|
||||
toolbar: 'Oldaltörés beillesztése'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/id.js
Normal file
8
ckeditor/plugins/pagebreak/lang/id.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'id', {
|
||||
alt: 'Halaman Istirahat',
|
||||
toolbar: 'Sisip Halaman Istirahat untuk Pencetakan '
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/is.js
Normal file
8
ckeditor/plugins/pagebreak/lang/is.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'is', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Setja inn síðuskil'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/it.js
Normal file
8
ckeditor/plugins/pagebreak/lang/it.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'it', {
|
||||
alt: 'Interruzione di pagina',
|
||||
toolbar: 'Inserisci interruzione di pagina per la stampa'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ja.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ja.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ja', {
|
||||
alt: '改ページ',
|
||||
toolbar: '印刷の為に改ページ挿入'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ka.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ka.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ka', {
|
||||
alt: 'გვერდის წყვეტა',
|
||||
toolbar: 'გვერდის წყვეტა ბეჭდვისთვის'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/km.js
Normal file
8
ckeditor/plugins/pagebreak/lang/km.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'km', {
|
||||
alt: 'បំបែកទំព័រ',
|
||||
toolbar: 'បន្ថែមការបំបែកទំព័រមុនបោះពុម្ព'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ko.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ko.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ko', {
|
||||
alt: '페이지 나누기',
|
||||
toolbar: '인쇄시 페이지 나누기 삽입'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ku.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ku.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ku', {
|
||||
alt: 'پشووی پەڕە',
|
||||
toolbar: 'دانانی پشووی پەڕە بۆ چاپکردن'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/lt.js
Normal file
8
ckeditor/plugins/pagebreak/lang/lt.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'lt', {
|
||||
alt: 'Puslapio skirtukas',
|
||||
toolbar: 'Įterpti puslapių skirtuką'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/lv.js
Normal file
8
ckeditor/plugins/pagebreak/lang/lv.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'lv', {
|
||||
alt: 'Lapas pārnesums',
|
||||
toolbar: 'Ievietot lapas pārtraukumu drukai'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/mk.js
Normal file
8
ckeditor/plugins/pagebreak/lang/mk.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'mk', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing' // MISSING
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/mn.js
Normal file
8
ckeditor/plugins/pagebreak/lang/mn.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'mn', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Хуудас тусгаарлагч оруулах'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ms.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ms.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ms', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing' // MISSING
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/nb.js
Normal file
8
ckeditor/plugins/pagebreak/lang/nb.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'nb', {
|
||||
alt: 'Sideskift',
|
||||
toolbar: 'Sett inn sideskift for utskrift'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/nl.js
Normal file
8
ckeditor/plugins/pagebreak/lang/nl.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'nl', {
|
||||
alt: 'Pagina-einde',
|
||||
toolbar: 'Pagina-einde invoegen'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/no.js
Normal file
8
ckeditor/plugins/pagebreak/lang/no.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'no', {
|
||||
alt: 'Sideskift',
|
||||
toolbar: 'Sett inn sideskift for utskrift'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/oc.js
Normal file
8
ckeditor/plugins/pagebreak/lang/oc.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'oc', {
|
||||
alt: 'Saut de pagina',
|
||||
toolbar: 'Inserir un saut de pagina per l\'impression'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/pl.js
Normal file
8
ckeditor/plugins/pagebreak/lang/pl.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'pl', {
|
||||
alt: 'Wstaw podział strony',
|
||||
toolbar: 'Wstaw podział strony'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/pt-br.js
Normal file
8
ckeditor/plugins/pagebreak/lang/pt-br.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'pt-br', {
|
||||
alt: 'Quebra de Página',
|
||||
toolbar: 'Inserir Quebra de Página'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/pt.js
Normal file
8
ckeditor/plugins/pagebreak/lang/pt.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'pt', {
|
||||
alt: 'Quebra de página',
|
||||
toolbar: 'Inserir quebra de página'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ro.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ro.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ro', {
|
||||
alt: 'Page Break',
|
||||
toolbar: 'Inserează separator de pagină (Page Break)'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ru.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ru.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ru', {
|
||||
alt: 'Разрыв страницы',
|
||||
toolbar: 'Вставить разрыв страницы для печати'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/si.js
Normal file
8
ckeditor/plugins/pagebreak/lang/si.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'si', {
|
||||
alt: 'පිටු බිදුම',
|
||||
toolbar: 'මුද්රණය සඳහා පිටු බිදුමක් ඇතුලත් කරන්න'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sk.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sk.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sk', {
|
||||
alt: 'Zalomenie strany',
|
||||
toolbar: 'Vložiť oddeľovač stránky pre tlač'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sl.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sl.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sl', {
|
||||
alt: 'Prelom strani',
|
||||
toolbar: 'Vstavi prelom strani'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sq.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sq.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sq', {
|
||||
alt: 'Thyerja e Faqes',
|
||||
toolbar: 'Vendos Thyerje Faqeje për Shtyp'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sr-latn.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sr-latn.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sr-latn', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing' // MISSING
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sr.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sr.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sr', {
|
||||
alt: 'Page Break', // MISSING
|
||||
toolbar: 'Insert Page Break for Printing' // MISSING
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/sv.js
Normal file
8
ckeditor/plugins/pagebreak/lang/sv.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'sv', {
|
||||
alt: 'Sidbrytning',
|
||||
toolbar: 'Infoga sidbrytning för utskrift'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/th.js
Normal file
8
ckeditor/plugins/pagebreak/lang/th.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'th', {
|
||||
alt: 'ตัวแบ่งหน้า',
|
||||
toolbar: 'แทรกตัวแบ่งหน้า Page Break'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/tr.js
Normal file
8
ckeditor/plugins/pagebreak/lang/tr.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'tr', {
|
||||
alt: 'Sayfa Sonu',
|
||||
toolbar: 'Sayfa Sonu Ekle'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/tt.js
Normal file
8
ckeditor/plugins/pagebreak/lang/tt.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'tt', {
|
||||
alt: 'Бит бүлгече',
|
||||
toolbar: 'Бастыру өчен бит бүлгечен өстәү'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/ug.js
Normal file
8
ckeditor/plugins/pagebreak/lang/ug.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'ug', {
|
||||
alt: 'بەت ئايرىغۇچ',
|
||||
toolbar: 'بەت ئايرىغۇچ قىستۇر'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/uk.js
Normal file
8
ckeditor/plugins/pagebreak/lang/uk.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'uk', {
|
||||
alt: 'Розрив Сторінки',
|
||||
toolbar: 'Вставити розрив сторінки'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/vi.js
Normal file
8
ckeditor/plugins/pagebreak/lang/vi.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'vi', {
|
||||
alt: 'Ngắt trang',
|
||||
toolbar: 'Chèn ngắt trang'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/zh-cn.js
Normal file
8
ckeditor/plugins/pagebreak/lang/zh-cn.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'zh-cn', {
|
||||
alt: '分页符',
|
||||
toolbar: '插入打印分页符'
|
||||
} );
|
||||
8
ckeditor/plugins/pagebreak/lang/zh.js
Normal file
8
ckeditor/plugins/pagebreak/lang/zh.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pagebreak', 'zh', {
|
||||
alt: '換頁',
|
||||
toolbar: '插入換頁符號以便列印'
|
||||
} );
|
||||
160
ckeditor/plugins/pagebreak/plugin.js
Normal file
160
ckeditor/plugins/pagebreak/plugin.js
Normal file
@@ -0,0 +1,160 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @fileOverview Horizontal Page Break
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
( function() {
|
||||
// Register a plugin named "pagebreak".
|
||||
CKEDITOR.plugins.add( 'pagebreak', {
|
||||
requires: 'fakeobjects',
|
||||
// jscs:disable maximumLineLength
|
||||
lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
||||
// jscs:enable maximumLineLength
|
||||
icons: 'pagebreak,pagebreak-rtl', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
onLoad: function() {
|
||||
var cssStyles = (
|
||||
'background:url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ') no-repeat center center;' +
|
||||
'clear:both;' +
|
||||
'width:100%;' +
|
||||
'border-top:#999 1px dotted;' +
|
||||
'border-bottom:#999 1px dotted;' +
|
||||
'padding:0;' +
|
||||
'height:7px;' +
|
||||
'cursor:default;'
|
||||
).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'
|
||||
} );
|
||||
|
||||
// Webkit based browsers needs help to select the page-break.
|
||||
CKEDITOR.env.webkit && 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 ) {
|
||||
// Register a filter to displaying placeholders after mode change.
|
||||
var dataProcessor = editor.dataProcessor,
|
||||
dataFilter = dataProcessor && dataProcessor.dataFilter,
|
||||
htmlFilter = dataProcessor && dataProcessor.htmlFilter,
|
||||
styleRegex = /page-break-after\s*:\s*always/i,
|
||||
childStyleRegex = /display\s*:\s*none/i;
|
||||
|
||||
function upcastPageBreak( element ) {
|
||||
CKEDITOR.tools.extend( element.attributes, attributesSet( editor.lang.pagebreak.alt ), true );
|
||||
|
||||
element.children.length = 0;
|
||||
}
|
||||
|
||||
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;"> </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;
|
||||
}
|
||||
}
|
||||
}, { applyToAll: true, priority: 5 } );
|
||||
}
|
||||
|
||||
if ( dataFilter ) {
|
||||
dataFilter.addRules( {
|
||||
elements: {
|
||||
div: function( element ) {
|
||||
// The "internal form" of a pagebreak is pasted from clipboard.
|
||||
// ACF may have distorted the HTML because "internal form" is
|
||||
// different than "data form". Make sure that element remains valid
|
||||
// by re-upcasting it (#11133).
|
||||
if ( element.attributes[ 'data-cke-pagebreak' ] )
|
||||
upcastPageBreak( element );
|
||||
|
||||
// Check for "data form" of the pagebreak. If both element and
|
||||
// descendants match, convert them to internal form.
|
||||
else if ( styleRegex.test( element.attributes.style ) ) {
|
||||
var child = element.children[ 0 ];
|
||||
|
||||
if ( child && child.name == 'span' && childStyleRegex.test( child.attributes.style ) )
|
||||
upcastPageBreak( element );
|
||||
}
|
||||
}
|
||||
}
|
||||
} );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
// TODO Much probably there's no need to expose this object as public object.
|
||||
CKEDITOR.plugins.pagebreakCmd = {
|
||||
exec: function( editor ) {
|
||||
// Create read-only element that represents a print break.
|
||||
var pagebreak = editor.document.createElement( 'div', {
|
||||
attributes: attributesSet( editor.lang.pagebreak.alt )
|
||||
} );
|
||||
|
||||
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 && parent.styles[ 'page-break-after' ];
|
||||
},
|
||||
styles: 'display'
|
||||
}
|
||||
},
|
||||
requiredContent: 'div{page-break-after}'
|
||||
};
|
||||
|
||||
// Returns an object representing all the attributes
|
||||
// of the "internal form" of the pagebreak element.
|
||||
function attributesSet( label ) {
|
||||
return {
|
||||
'aria-label': label,
|
||||
'class': 'cke_pagebreak',
|
||||
contenteditable: 'false',
|
||||
'data-cke-display-name': 'pagebreak',
|
||||
'data-cke-pagebreak': 1,
|
||||
style: 'page-break-after: always',
|
||||
title: label
|
||||
};
|
||||
}
|
||||
} )();
|
||||
Reference in New Issue
Block a user