new ckeditor
New ckeditor
This commit is contained in:
BIN
ckeditor/plugins/preview/icons/hidpi/preview-rtl.png
Normal file
BIN
ckeditor/plugins/preview/icons/hidpi/preview-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
ckeditor/plugins/preview/icons/hidpi/preview.png
Normal file
BIN
ckeditor/plugins/preview/icons/hidpi/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
ckeditor/plugins/preview/icons/preview-rtl.png
Normal file
BIN
ckeditor/plugins/preview/icons/preview-rtl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 625 B |
BIN
ckeditor/plugins/preview/icons/preview.png
Normal file
BIN
ckeditor/plugins/preview/icons/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 632 B |
7
ckeditor/plugins/preview/lang/af.js
Normal file
7
ckeditor/plugins/preview/lang/af.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'af', {
|
||||
preview: 'Voorbeeld'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ar.js
Normal file
7
ckeditor/plugins/preview/lang/ar.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ar', {
|
||||
preview: 'معاينة الصفحة'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/az.js
Normal file
7
ckeditor/plugins/preview/lang/az.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'az', {
|
||||
preview: 'Öncədən baxılması'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/bg.js
Normal file
7
ckeditor/plugins/preview/lang/bg.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'bg', {
|
||||
preview: 'Преглед'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/bn.js
Normal file
7
ckeditor/plugins/preview/lang/bn.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'bn', {
|
||||
preview: 'প্রাকদর্শন'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/bs.js
Normal file
7
ckeditor/plugins/preview/lang/bs.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'bs', {
|
||||
preview: 'Prikaži'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ca.js
Normal file
7
ckeditor/plugins/preview/lang/ca.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ca', {
|
||||
preview: 'Visualització prèvia'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/cs.js
Normal file
7
ckeditor/plugins/preview/lang/cs.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'cs', {
|
||||
preview: 'Náhled'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/cy.js
Normal file
7
ckeditor/plugins/preview/lang/cy.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'cy', {
|
||||
preview: 'Rhagolwg'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/da.js
Normal file
7
ckeditor/plugins/preview/lang/da.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'da', {
|
||||
preview: 'Vis eksempel'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/de-ch.js
Normal file
7
ckeditor/plugins/preview/lang/de-ch.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'de-ch', {
|
||||
preview: 'Vorschau'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/de.js
Normal file
7
ckeditor/plugins/preview/lang/de.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'de', {
|
||||
preview: 'Vorschau'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/el.js
Normal file
7
ckeditor/plugins/preview/lang/el.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'el', {
|
||||
preview: 'Προεπισκόπιση'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/en-au.js
Normal file
7
ckeditor/plugins/preview/lang/en-au.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'en-au', {
|
||||
preview: 'Preview'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/en-ca.js
Normal file
7
ckeditor/plugins/preview/lang/en-ca.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'en-ca', {
|
||||
preview: 'Preview'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/en-gb.js
Normal file
7
ckeditor/plugins/preview/lang/en-gb.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'en-gb', {
|
||||
preview: 'Preview'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/en.js
Normal file
7
ckeditor/plugins/preview/lang/en.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'en', {
|
||||
preview: 'Preview'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/eo.js
Normal file
7
ckeditor/plugins/preview/lang/eo.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'eo', {
|
||||
preview: 'Vidigi Aspekton'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/es.js
Normal file
7
ckeditor/plugins/preview/lang/es.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'es', {
|
||||
preview: 'Vista Previa'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/et.js
Normal file
7
ckeditor/plugins/preview/lang/et.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'et', {
|
||||
preview: 'Eelvaade'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/eu.js
Normal file
7
ckeditor/plugins/preview/lang/eu.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'eu', {
|
||||
preview: 'Aurrebista'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/fa.js
Normal file
7
ckeditor/plugins/preview/lang/fa.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'fa', {
|
||||
preview: 'پیشنمایش'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/fi.js
Normal file
7
ckeditor/plugins/preview/lang/fi.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'fi', {
|
||||
preview: 'Esikatsele'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/fo.js
Normal file
7
ckeditor/plugins/preview/lang/fo.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'fo', {
|
||||
preview: 'Frumsýning'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/fr-ca.js
Normal file
7
ckeditor/plugins/preview/lang/fr-ca.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'fr-ca', {
|
||||
preview: 'Prévisualiser'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/fr.js
Normal file
7
ckeditor/plugins/preview/lang/fr.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'fr', {
|
||||
preview: 'Aperçu'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/gl.js
Normal file
7
ckeditor/plugins/preview/lang/gl.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'gl', {
|
||||
preview: 'Vista previa'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/gu.js
Normal file
7
ckeditor/plugins/preview/lang/gu.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'gu', {
|
||||
preview: 'પૂર્વદર્શન'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/he.js
Normal file
7
ckeditor/plugins/preview/lang/he.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'he', {
|
||||
preview: 'תצוגה מקדימה'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/hi.js
Normal file
7
ckeditor/plugins/preview/lang/hi.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'hi', {
|
||||
preview: 'प्रीव्यू'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/hr.js
Normal file
7
ckeditor/plugins/preview/lang/hr.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'hr', {
|
||||
preview: 'Pregledaj'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/hu.js
Normal file
7
ckeditor/plugins/preview/lang/hu.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'hu', {
|
||||
preview: 'Előnézet'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/id.js
Normal file
7
ckeditor/plugins/preview/lang/id.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'id', {
|
||||
preview: 'Pratinjau'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/is.js
Normal file
7
ckeditor/plugins/preview/lang/is.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'is', {
|
||||
preview: 'Forskoða'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/it.js
Normal file
7
ckeditor/plugins/preview/lang/it.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'it', {
|
||||
preview: 'Anteprima'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ja.js
Normal file
7
ckeditor/plugins/preview/lang/ja.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ja', {
|
||||
preview: 'プレビュー'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ka.js
Normal file
7
ckeditor/plugins/preview/lang/ka.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ka', {
|
||||
preview: 'გადახედვა'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/km.js
Normal file
7
ckeditor/plugins/preview/lang/km.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'km', {
|
||||
preview: 'មើលជាមុន'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ko.js
Normal file
7
ckeditor/plugins/preview/lang/ko.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ko', {
|
||||
preview: '미리보기'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ku.js
Normal file
7
ckeditor/plugins/preview/lang/ku.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ku', {
|
||||
preview: 'پێشبینین'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/lt.js
Normal file
7
ckeditor/plugins/preview/lang/lt.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'lt', {
|
||||
preview: 'Peržiūra'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/lv.js
Normal file
7
ckeditor/plugins/preview/lang/lv.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'lv', {
|
||||
preview: 'Priekšskatīt'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/mk.js
Normal file
7
ckeditor/plugins/preview/lang/mk.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'mk', {
|
||||
preview: 'Preview' // MISSING
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/mn.js
Normal file
7
ckeditor/plugins/preview/lang/mn.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'mn', {
|
||||
preview: 'Уридчлан харах'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ms.js
Normal file
7
ckeditor/plugins/preview/lang/ms.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ms', {
|
||||
preview: 'Prebiu'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/nb.js
Normal file
7
ckeditor/plugins/preview/lang/nb.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'nb', {
|
||||
preview: 'Forhåndsvis'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/nl.js
Normal file
7
ckeditor/plugins/preview/lang/nl.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'nl', {
|
||||
preview: 'Voorbeeld'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/no.js
Normal file
7
ckeditor/plugins/preview/lang/no.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'no', {
|
||||
preview: 'Forhåndsvis'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/oc.js
Normal file
7
ckeditor/plugins/preview/lang/oc.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'oc', {
|
||||
preview: 'Previsualizar'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/pl.js
Normal file
7
ckeditor/plugins/preview/lang/pl.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'pl', {
|
||||
preview: 'Podgląd'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/pt-br.js
Normal file
7
ckeditor/plugins/preview/lang/pt-br.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'pt-br', {
|
||||
preview: 'Visualizar'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/pt.js
Normal file
7
ckeditor/plugins/preview/lang/pt.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'pt', {
|
||||
preview: 'Pré-visualizar'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ro.js
Normal file
7
ckeditor/plugins/preview/lang/ro.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ro', {
|
||||
preview: 'Previzualizare'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ru.js
Normal file
7
ckeditor/plugins/preview/lang/ru.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ru', {
|
||||
preview: 'Предварительный просмотр'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/si.js
Normal file
7
ckeditor/plugins/preview/lang/si.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'si', {
|
||||
preview: 'නැවත '
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sk.js
Normal file
7
ckeditor/plugins/preview/lang/sk.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sk', {
|
||||
preview: 'Náhľad'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sl.js
Normal file
7
ckeditor/plugins/preview/lang/sl.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sl', {
|
||||
preview: 'Predogled'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sq.js
Normal file
7
ckeditor/plugins/preview/lang/sq.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sq', {
|
||||
preview: 'Parashiko'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sr-latn.js
Normal file
7
ckeditor/plugins/preview/lang/sr-latn.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sr-latn', {
|
||||
preview: 'Izgled stranice'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sr.js
Normal file
7
ckeditor/plugins/preview/lang/sr.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sr', {
|
||||
preview: 'Изглед странице'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/sv.js
Normal file
7
ckeditor/plugins/preview/lang/sv.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'sv', {
|
||||
preview: 'Förhandsgranska'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/th.js
Normal file
7
ckeditor/plugins/preview/lang/th.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'th', {
|
||||
preview: 'ดูหน้าเอกสารตัวอย่าง'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/tr.js
Normal file
7
ckeditor/plugins/preview/lang/tr.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'tr', {
|
||||
preview: 'Ön İzleme'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/tt.js
Normal file
7
ckeditor/plugins/preview/lang/tt.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'tt', {
|
||||
preview: 'Карап алу'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/ug.js
Normal file
7
ckeditor/plugins/preview/lang/ug.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'ug', {
|
||||
preview: 'ئالدىن كۆزەت'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/uk.js
Normal file
7
ckeditor/plugins/preview/lang/uk.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'uk', {
|
||||
preview: 'Попередній перегляд'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/vi.js
Normal file
7
ckeditor/plugins/preview/lang/vi.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'vi', {
|
||||
preview: 'Xem trước'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/zh-cn.js
Normal file
7
ckeditor/plugins/preview/lang/zh-cn.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'zh-cn', {
|
||||
preview: '预览'
|
||||
} );
|
||||
7
ckeditor/plugins/preview/lang/zh.js
Normal file
7
ckeditor/plugins/preview/lang/zh.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'preview', 'zh', {
|
||||
preview: '預覽'
|
||||
} );
|
||||
145
ckeditor/plugins/preview/plugin.js
Normal file
145
ckeditor/plugins/preview/plugin.js
Normal file
@@ -0,0 +1,145 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @fileOverview Preview plugin.
|
||||
*/
|
||||
|
||||
( function() {
|
||||
var pluginPath;
|
||||
|
||||
var previewCmd = { modes: { wysiwyg: 1, source: 1 },
|
||||
canUndo: false,
|
||||
readOnly: 1,
|
||||
exec: function( editor ) {
|
||||
var sHTML,
|
||||
config = editor.config,
|
||||
baseTag = config.baseHref ? '<base href="' + config.baseHref + '"/>' : '',
|
||||
eventData;
|
||||
|
||||
if ( config.fullPage )
|
||||
sHTML = editor.getData().replace( /<head>/, '$&' + baseTag ).replace( /[^>]*(?=<\/title>)/, '$& — ' + editor.lang.preview.preview );
|
||||
else {
|
||||
var bodyHtml = '<body ',
|
||||
body = editor.document && editor.document.getBody();
|
||||
|
||||
if ( body ) {
|
||||
if ( body.getAttribute( 'id' ) )
|
||||
bodyHtml += 'id="' + body.getAttribute( 'id' ) + '" ';
|
||||
if ( body.getAttribute( 'class' ) )
|
||||
bodyHtml += 'class="' + body.getAttribute( 'class' ) + '" ';
|
||||
}
|
||||
|
||||
bodyHtml += '>';
|
||||
|
||||
sHTML = editor.config.docType + '<html dir="' + editor.config.contentsLangDirection + '">' +
|
||||
'<head>' +
|
||||
baseTag +
|
||||
'<title>' + editor.lang.preview.preview + '</title>' +
|
||||
CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
|
||||
'</head>' + bodyHtml +
|
||||
editor.getData() +
|
||||
'</body></html>';
|
||||
}
|
||||
|
||||
var iWidth = 640,
|
||||
// 800 * 0.8,
|
||||
iHeight = 420,
|
||||
// 600 * 0.7,
|
||||
iLeft = 80; // (800 - 0.8 * 800) /2 = 800 * 0.1.
|
||||
try {
|
||||
var screen = window.screen;
|
||||
iWidth = Math.round( screen.width * 0.8 );
|
||||
iHeight = Math.round( screen.height * 0.7 );
|
||||
iLeft = Math.round( screen.width * 0.1 );
|
||||
} catch ( e ) {}
|
||||
|
||||
// (#9907) Allow data manipulation before preview is displayed.
|
||||
// Also don't open the preview window when event cancelled.
|
||||
if ( editor.fire( 'contentPreview', eventData = { dataValue: sHTML } ) === false )
|
||||
return false;
|
||||
|
||||
var sOpenUrl = '',
|
||||
ieLocation;
|
||||
|
||||
if ( CKEDITOR.env.ie ) {
|
||||
window._cke_htmlToLoad = eventData.dataValue;
|
||||
ieLocation = 'javascript:void( (function(){' + // jshint ignore:line
|
||||
'document.open();' +
|
||||
// Support for custom document.domain.
|
||||
// Strip comments and replace parent with window.opener in the function body.
|
||||
( '(' + CKEDITOR.tools.fixDomain + ')();' ).replace( /\/\/.*?\n/g, '' ).replace( /parent\./g, 'window.opener.' ) +
|
||||
'document.write( window.opener._cke_htmlToLoad );' +
|
||||
'document.close();' +
|
||||
'window.opener._cke_htmlToLoad = null;' +
|
||||
'})() )';
|
||||
// For IE we should use window.location rather than setting url in window.open. (#11146)
|
||||
sOpenUrl = '';
|
||||
}
|
||||
|
||||
// With Firefox only, we need to open a special preview page, so
|
||||
// anchors will work properly on it. (#9047)
|
||||
if ( CKEDITOR.env.gecko ) {
|
||||
window._cke_htmlToLoad = eventData.dataValue;
|
||||
sOpenUrl = CKEDITOR.getUrl( pluginPath + 'preview.html' );
|
||||
}
|
||||
|
||||
var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' +
|
||||
iWidth + ',height=' + iHeight + ',left=' + iLeft );
|
||||
|
||||
// For IE we want to assign whole js stored in ieLocation, but in case of
|
||||
// popup blocker activation oWindow variable will be null. (#11597)
|
||||
if ( CKEDITOR.env.ie && oWindow )
|
||||
oWindow.location = ieLocation;
|
||||
|
||||
if ( !CKEDITOR.env.ie && !CKEDITOR.env.gecko ) {
|
||||
var doc = oWindow.document;
|
||||
doc.open();
|
||||
doc.write( eventData.dataValue );
|
||||
doc.close();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
var pluginName = 'preview';
|
||||
|
||||
// Register a plugin named "preview".
|
||||
CKEDITOR.plugins.add( pluginName, {
|
||||
// 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: 'preview,preview-rtl', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
init: function( editor ) {
|
||||
|
||||
// Preview is not used for the inline creator.
|
||||
if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE )
|
||||
return;
|
||||
|
||||
pluginPath = this.path;
|
||||
|
||||
editor.addCommand( pluginName, previewCmd );
|
||||
editor.ui.addButton && editor.ui.addButton( 'Preview', {
|
||||
label: editor.lang.preview.preview,
|
||||
command: pluginName,
|
||||
toolbar: 'document,40'
|
||||
} );
|
||||
}
|
||||
} );
|
||||
} )();
|
||||
|
||||
/**
|
||||
* Event fired when executing `preview` command, which allows additional data manipulation.
|
||||
* With this event, the raw HTML content of the preview window to be displayed can be altered
|
||||
* or modified.
|
||||
*
|
||||
* @event contentPreview
|
||||
* @member CKEDITOR
|
||||
* @param {CKEDITOR.editor} editor This editor instance.
|
||||
* @param data
|
||||
* @param {String} data.dataValue The data that will go to the preview.
|
||||
*/
|
||||
13
ckeditor/plugins/preview/preview.html
Normal file
13
ckeditor/plugins/preview/preview.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<script>
|
||||
|
||||
// Prevent from DOM clobbering.
|
||||
if ( typeof window.opener._cke_htmlToLoad == 'string' ) {
|
||||
var doc = document;
|
||||
doc.open();
|
||||
doc.write( window.opener._cke_htmlToLoad );
|
||||
doc.close();
|
||||
|
||||
delete window.opener._cke_htmlToLoad;
|
||||
}
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user