new ckeditor

New ckeditor
This commit is contained in:
Francesco Malagrino
2017-03-26 21:10:58 +02:00
parent 87a8e6920e
commit f9caa9759b
4418 changed files with 209667 additions and 2801 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

View 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'
} );

View 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: 'إدخال صفحة جديدة'
} );

View 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'
} );

View 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: 'Вмъкване на нова страница при печат'
} );

View 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: 'পেজ ব্রেক'
} );

View 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
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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: 'Εισαγωγή Τέλους Σελίδας για Εκτύπωση'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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: 'گنجاندن شکستگی پایان برگه'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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: 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું'
} );

View 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: 'הוספת שבירת דף'
} );

View 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: 'पेज ब्रेक इन्सर्ट् करें'
} );

View 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'
} );

View 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'
} );

View 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 '
} );

View 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'
} );

View 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'
} );

View 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: '印刷の為に改ページ挿入'
} );

View 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: 'გვერდის წყვეტა ბეჭდვისთვის'
} );

View 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: 'បន្ថែម​ការ​បំបែក​ទំព័រ​មុន​បោះពុម្ព'
} );

View 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: '인쇄시 페이지 나누기 삽입'
} );

View 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: 'دانانی پشووی پەڕە بۆ چاپکردن'
} );

View 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ą'
} );

View 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'
} );

View 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
} );

View 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: 'Хуудас тусгаарлагч оруулах'
} );

View 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
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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)'
} );

View 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: 'Вставить разрыв страницы для печати'
} );

View 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: 'මුද්‍රණය සඳහා පිටු බිදුමක් ඇතුලත් කරන්න'
} );

View 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č'
} );

View 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'
} );

View 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'
} );

View 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
} );

View 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
} );

View 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'
} );

View 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'
} );

View 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'
} );

View 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: 'Бастыру өчен бит бүлгечен өстәү'
} );

View 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: 'بەت ئايرىغۇچ قىستۇر'
} );

View 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: 'Вставити розрив сторінки'
} );

View 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'
} );

View 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: '插入打印分页符'
} );

View 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: '插入換頁符號以便列印'
} );

View 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;">&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;
}
}
}, { 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
};
}
} )();