'
- },
- {
- type: 'html',
- id: 'editing_area',
- style: 'width:100%;height:100%',
- html: '',
- focus: function() {
- var iframe = this.getInputElement(),
- doc = iframe.getFrameDocument(),
- body = doc.getBody();
-
- // Frame content may not loaded at the moment.
- if ( !body || body.isReadOnly() )
- iframe.setCustomData( 'pendingFocus', 1 );
- else
- body.focus();
- },
- setup: function() {
- var dialog = this.getDialog();
- var htmlToLoad = '' +
- '' +
- '' +
- '';
-
- var src =
- CKEDITOR.env.air ?
- 'javascript:void(0)' : // jshint ignore:line
- CKEDITOR.env.ie ?
- 'javascript:void((function(){' + encodeURIComponent( // jshint ignore:line
- 'document.open();' +
- '(' + CKEDITOR.tools.fixDomain + ')();' +
- 'document.close();'
- ) + '})())"'
- : '';
-
- var iframe = CKEDITOR.dom.element.createFromHtml( '' );
-
- iframe.on( 'load', function( e ) {
- e.removeListener();
-
- var doc = iframe.getFrameDocument();
- doc.write( htmlToLoad );
-
- editor.focusManager.add( doc.getBody() );
-
- if ( CKEDITOR.env.air )
- onPasteFrameLoad.call( this, doc.getWindow().$ );
- }, dialog );
-
- iframe.setCustomData( 'dialog', dialog );
-
- var container = this.getElement();
- container.setHtml( '' );
- container.append( iframe );
-
- // IE need a redirect on focus to make
- // the cursor blinking inside iframe. (#5461)
- if ( CKEDITOR.env.ie ) {
- var focusGrabber = CKEDITOR.dom.element.createFromHtml( '' );
- focusGrabber.on( 'focus', function() {
- // Since fixDomain is called in src attribute,
- // IE needs some slight delay to correctly move focus.
- setTimeout( function() {
- iframe.$.contentWindow.focus();
- } );
- } );
- container.append( focusGrabber );
-
- // Override focus handler on field.
- this.focus = function() {
- focusGrabber.focus();
- this.fire( 'focus' );
- };
- }
-
- this.getInputElement = function() {
- return iframe;
- };
-
- // Force container to scale in IE.
- if ( CKEDITOR.env.ie ) {
- container.setStyle( 'display', 'block' );
- container.setStyle( 'height', ( iframe.$.offsetHeight + 2 ) + 'px' );
- }
- },
- commit: function() {
- var editor = this.getDialog().getParentEditor(),
- body = this.getInputElement().getFrameDocument().getBody(),
- bogus = body.getBogus(),
- html;
- bogus && bogus.remove();
-
- // Saving the contents so changes until paste is complete will not take place (#7500)
- html = body.getHtml();
-
- // Opera needs some time to think about what has happened and what it should do now.
- setTimeout( function() {
- editor.fire( 'pasteDialogCommit', html );
- }, 0 );
- }
- }
- ]
- } ]
- };
-} );
-
-/**
- * Internal event to pass paste dialog's data to the listeners.
- *
- * @private
- * @event pasteDialogCommit
- * @member CKEDITOR.editor
- * @param {CKEDITOR.editor} editor This editor instance.
- */
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy-rtl.png
deleted file mode 100644
index ef724460c1..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy.png
deleted file mode 100644
index ef724460c1..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/copy.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut-rtl.png
deleted file mode 100644
index 0b71965366..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut.png
deleted file mode 100644
index 0b71965366..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/cut.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy-rtl.png
deleted file mode 100644
index 29026cc0aa..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy.png
deleted file mode 100644
index 29026cc0aa..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/copy.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut-rtl.png
deleted file mode 100644
index bfec0cfb9e..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut.png
deleted file mode 100644
index bfec0cfb9e..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/cut.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste-rtl.png
deleted file mode 100644
index f18dac3749..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste.png
deleted file mode 100644
index f18dac3749..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/hidpi/paste.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste-rtl.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste-rtl.png
deleted file mode 100644
index b2bfef2037..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste-rtl.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste.png b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste.png
deleted file mode 100644
index b2bfef2037..0000000000
Binary files a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/icons/paste.png and /dev/null differ
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/af.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/af.js
deleted file mode 100644
index e52967cb01..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/af.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'af', {
- copy: 'Kopiëer',
- copyError: 'U blaaier se sekuriteitsinstelling belet die kopiëringsaksie. Gebruik die sleutelbordkombinasie (Ctrl/Cmd+C).',
- cut: 'Knip',
- cutError: 'U blaaier se sekuriteitsinstelling belet die outomatiese knip-aksie. Gebruik die sleutelbordkombinasie (Ctrl/Cmd+X).',
- paste: 'Plak',
- pasteArea: 'Plak-area',
- pasteMsg: 'Plak die teks in die volgende teks-area met die sleutelbordkombinasie (Ctrl/Cmd+V) en druk OK.',
- securityMsg: 'Weens u blaaier se sekuriteitsinstelling is data op die knipbord nie toeganklik nie. U kan dit eers weer in hierdie venster plak.',
- title: 'Byvoeg'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ar.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ar.js
deleted file mode 100644
index 0779e7aee6..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ar.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ar', {
- copy: 'نسخ',
- copyError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع عمليات النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+C).',
- cut: 'قص',
- cutError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+X).',
- paste: 'لصق',
- pasteArea: 'منطقة اللصق',
- pasteMsg: 'الصق داخل الصندوق بإستخدام زرائر (Ctrl/Cmd+V) في لوحة المفاتيح، ثم اضغط زر موافق.',
- securityMsg: 'نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذلك يجب عليك لصق المحتوى مرة أخرى في هذه النافذة.',
- title: 'لصق'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bg.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bg.js
deleted file mode 100644
index af8c3fe58b..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bg.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'bg', {
- copy: 'Копирай',
- copyError: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl/Cmd+C).',
- cut: 'Отрежи',
- cutError: 'Настройките за сигурност на Вашия браузър не позволяват на редактора автоматично да изъплни действията за отрязване. Моля ползвайте клавиатурните команди за целта (ctrl+x).',
- paste: 'Вмъкни',
- pasteArea: 'Зона за вмъкване',
- pasteMsg: 'Вмъкнете тук съдъжанието с клавиатуарата (Ctrl/Cmd+V) и натиснете OK.',
- securityMsg: 'Заради настройките за сигурност на Вашия браузър, редакторът не може да прочете данните от клипборда коректно.',
- title: 'Вмъкни'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bn.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bn.js
deleted file mode 100644
index 3cf2afb24a..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'bn', {
- copy: 'কপি',
- copyError: 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+C)।',
- cut: 'কাট',
- cutError: 'আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl/Cmd+X)।',
- paste: 'পেস্ট',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (Ctrl/Cmd+V) পেস্ট করুন এবং OK চাপ দিন',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'পেস্ট'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bs.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bs.js
deleted file mode 100644
index 1a9c7eb3e6..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/bs.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'bs', {
- copy: 'Kopiraj',
- copyError: 'Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+C).',
- cut: 'Izreži',
- cutError: 'Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+X).',
- paste: 'Zalijepi',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'Zalijepi'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ca.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ca.js
deleted file mode 100644
index 9e4df37dd2..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ca', {
- copy: 'Copiar',
- copyError: 'La configuració de seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl/Cmd+C).',
- cut: 'Retallar',
- cutError: 'La configuració de seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl/Cmd+X).',
- paste: 'Enganxar',
- pasteArea: 'Àrea d\'enganxat',
- pasteMsg: 'Si us plau, enganxi dins del següent camp utilitzant el teclat (Ctrl/Cmd+V) i premi OK.',
- securityMsg: 'A causa de la configuració de seguretat del vostre navegador, l\'editor no pot accedir a les dades del porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.',
- title: 'Enganxar'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cs.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cs.js
deleted file mode 100644
index 92b5e54962..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cs.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'cs', {
- copy: 'Kopírovat',
- copyError: 'Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+C).',
- cut: 'Vyjmout',
- cutError: 'Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+X).',
- paste: 'Vložit',
- pasteArea: 'Oblast vkládání',
- pasteMsg: 'Do následujícího pole vložte požadovaný obsah pomocí klávesnice (Ctrl/Cmd+V) a stiskněte OK.',
- securityMsg: 'Z důvodů nastavení bezpečnosti vašeho prohlížeče nemůže editor přistupovat přímo do schránky. Obsah schránky prosím vložte znovu do tohoto okna.',
- title: 'Vložit'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cy.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cy.js
deleted file mode 100644
index e7f8137d3a..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/cy.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'cy', {
- copy: 'Copïo',
- copyError: '\'Dyw gosodiadau diogelwch eich porwr ddim yn caniatàu\'r golygydd i gynnal \'gweithredoedd copïo\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+C).',
- cut: 'Torri',
- cutError: 'Nid yw gosodiadau diogelwch eich porwr yn caniatàu\'r golygydd i gynnal \'gweithredoedd torri\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+X).',
- paste: 'Gludo',
- pasteArea: 'Ardal Gludo',
- pasteMsg: 'Gludwch i mewn i\'r blwch canlynol gan ddefnyddio\'r bysellfwrdd (Ctrl/Cmd+V) a phwyso Iawn.',
- securityMsg: 'Oherwydd gosodiadau diogelwch eich porwr, \'dyw\'r porwr ddim yn gallu ennill mynediad i\'r data ar y clipfwrdd yn uniongyrchol. Mae angen i chi ei ludo eto i\'r ffenestr hon.',
- title: 'Gludo'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/da.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/da.js
deleted file mode 100644
index 684305c873..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/da.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'da', {
- copy: 'Kopiér',
- copyError: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.
Brug i stedet tastaturet til at kopiere teksten (Ctrl/Cmd+C).',
- cut: 'Klip',
- cutError: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.
Brug i stedet tastaturet til at klippe teksten (Ctrl/Cmd+X).',
- paste: 'Indsæt',
- pasteArea: 'Indsæt område',
- pasteMsg: 'Indsæt i feltet herunder (Ctrl/Cmd+V) og klik på OK.',
- securityMsg: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.
Du skal indsætte udklipsholderens indhold i dette vindue igen.',
- title: 'Indsæt'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/de.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/de.js
deleted file mode 100644
index f7624593b4..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/de.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'de', {
- copy: 'Kopieren',
- copyError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).',
- cut: 'Ausschneiden',
- cutError: 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).',
- paste: 'Einfügen',
- pasteArea: 'Einfügebereich',
- pasteMsg: 'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit Strg+V) ein und bestätigen Sie mit OK.',
- securityMsg: 'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.',
- title: 'Einfügen'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/el.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/el.js
deleted file mode 100644
index fcedde5e8b..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/el.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'el', {
- copy: 'Αντιγραφή',
- copyError: 'Οι ρυθμίσεις ασφαλείας του περιηγητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Παρακαλώ χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+C).',
- cut: 'Αποκοπή',
- cutError: 'Οι ρυθμίσεις ασφαλείας του περιηγητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Παρακαλώ χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+X).',
- paste: 'Επικόλληση',
- pasteArea: 'Περιοχή Επικόλλησης',
- pasteMsg: 'Παρακαλώ επικολλήστε στο ακόλουθο κουτί χρησιμοποιώντας το πληκτρολόγιο (Ctrl/Cmd+V) και πατήστε OK.',
- securityMsg: 'Λόγων των ρυθμίσεων ασφάλειας του περιηγητή σας, ο επεξεργαστής δεν μπορεί να έχει πρόσβαση στην μνήμη επικόλλησης. Χρειάζεται να επικολλήσετε ξανά σε αυτό το παράθυρο.',
- title: 'Επικόλληση'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-au.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-au.js
deleted file mode 100644
index 1921e7d4b5..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-au.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'en-au', {
- copy: 'Copy',
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
- cut: 'Cut',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
- paste: 'Paste',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
- title: 'Paste'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-ca.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-ca.js
deleted file mode 100644
index 8548ecf220..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'en-ca', {
- copy: 'Copy',
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
- cut: 'Cut',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
- paste: 'Paste',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
- title: 'Paste'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-gb.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-gb.js
deleted file mode 100644
index e081843032..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en-gb.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'en-gb', {
- copy: 'Copy',
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
- cut: 'Cut',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
- paste: 'Paste',
- pasteArea: 'Paste Area',
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
- title: 'Paste'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en.js
deleted file mode 100644
index 1666af2f16..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/en.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'en', {
- copy: 'Copy',
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
- cut: 'Cut',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
- paste: 'Paste',
- pasteArea: 'Paste Area',
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
- title: 'Paste'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eo.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eo.js
deleted file mode 100644
index c0ffcffba7..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'eo', {
- copy: 'Kopii',
- copyError: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-C).',
- cut: 'Eltondi',
- cutError: 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-X).',
- paste: 'Interglui',
- pasteArea: 'Intergluoareo',
- pasteMsg: 'Bonvolu glui la tekston en la jenan areon per uzado de la klavaro (Ctrl/Cmd+V) kaj premu OK',
- securityMsg: 'Pro la sekurecagordo de via TTT-legilo, la redaktilo ne povas rekte atingi viajn datenojn en la poŝo. Bonvolu denove interglui la datenojn en tiun fenestron.',
- title: 'Interglui'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/es.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/es.js
deleted file mode 100644
index 3894ebd544..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/es.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'es', {
- copy: 'Copiar',
- copyError: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado.\r\nPor favor use el teclado (Ctrl/Cmd+C).',
- cut: 'Cortar',
- cutError: 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado.\r\nPor favor use el teclado (Ctrl/Cmd+X).',
- paste: 'Pegar',
- pasteArea: 'Zona de pegado',
- pasteMsg: 'Por favor pegue dentro del cuadro utilizando el teclado (Ctrl/Cmd+V);\r\nluego presione Aceptar.',
- securityMsg: 'Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles.\r\nEs necesario que lo pegue de nuevo en esta ventana.',
- title: 'Pegar'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/et.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/et.js
deleted file mode 100644
index 91ee499f67..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/et.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'et', {
- copy: 'Kopeeri',
- copyError: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).',
- cut: 'Lõika',
- cutError: 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).',
- paste: 'Aseta',
- pasteArea: 'Asetamise ala',
- pasteMsg: 'Palun aseta tekst järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+V) ja vajuta seejärel OK.',
- securityMsg: 'Sinu veebisirvija turvaseadete tõttu ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead asetama need uuesti siia aknasse.',
- title: 'Asetamine'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eu.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eu.js
deleted file mode 100644
index 07f0b2c258..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/eu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'eu', {
- copy: 'Kopiatu',
- copyError: 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl/Cmd+C).',
- cut: 'Ebaki',
- cutError: 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl/Cmd+X).',
- paste: 'Itsatsi',
- pasteArea: 'Itsasteko Area',
- pasteMsg: 'Mesedez teklatua erabilita (Ctrl/Cmd+V) ondorego eremuan testua itsatsi eta OK sakatu.',
- securityMsg: 'Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.',
- title: 'Itsatsi'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fa.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fa.js
deleted file mode 100644
index ab92155b8e..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fa.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fa', {
- copy: 'رونوشت',
- copyError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).',
- cut: 'برش',
- cutError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).',
- paste: 'چسباندن',
- pasteArea: 'محل چسباندن',
- pasteMsg: 'لطفا متن را با کلیدهای (Ctrl/Cmd+V) در این جعبهٴ متنی بچسبانید و پذیرش را بزنید.',
- securityMsg: 'به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمیتواند دسترسی مستقیم به دادههای clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.',
- title: 'چسباندن'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fi.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fi.js
deleted file mode 100644
index 079c7713fc..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fi', {
- copy: 'Kopioi',
- copyError: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).',
- cut: 'Leikkaa',
- cutError: 'Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).',
- paste: 'Liitä',
- pasteArea: 'Leikealue',
- pasteMsg: 'Liitä painamalla (Ctrl+V) ja painamalla OK.',
- securityMsg: 'Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.',
- title: 'Liitä'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fo.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fo.js
deleted file mode 100644
index 87c98402d6..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fo', {
- copy: 'Avrita',
- copyError: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (Ctrl/Cmd+C).',
- cut: 'Kvett',
- cutError: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. Vinarliga nýt knappaborðið til at kvetta tekstin (Ctrl/Cmd+X).',
- paste: 'Innrita',
- pasteArea: 'Avritingarumráði',
- pasteMsg: 'Vinarliga koyr tekstin í hendan rútin við knappaborðinum (Ctrl/Cmd+V) og klikk á Góðtak.',
- securityMsg: 'Trygdaruppseting alnótskagans forðar tekstviðgeranum í beinleiðis atgongd til avritingarminnið. Tygum mugu royna aftur í hesum rútinum.',
- title: 'Innrita'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr-ca.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr-ca.js
deleted file mode 100644
index 910cad6f16..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr-ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fr-ca', {
- copy: 'Copier',
- copyError: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+C).',
- cut: 'Couper',
- cutError: 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+X).',
- paste: 'Coller',
- pasteArea: 'Coller la zone',
- pasteMsg: 'Veuillez coller dans la zone ci-dessous en utilisant le clavier (Ctrl/Cmd+V) et appuyer sur OK.',
- securityMsg: 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.',
- title: 'Coller'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr.js
deleted file mode 100644
index 0fb634ed44..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/fr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fr', {
- copy: 'Copier',
- copyError: 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement des opérations de copie. Veuillez utiliser le raccourci clavier (Ctrl/Cmd+C).',
- cut: 'Couper',
- cutError: 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement l\'opération "couper". Veuillez utiliser le raccourci clavier (Ctrl/Cmd+X).',
- paste: 'Coller',
- pasteArea: 'Coller la zone',
- pasteMsg: 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (Ctrl/Cmd+V) et cliquez sur OK.',
- securityMsg: 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur n\'est pas en mesure d\'accéder directement à vos données contenues dans le presse-papier. Vous devriez réessayer de coller les données dans la fenêtre.',
- title: 'Coller'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gl.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gl.js
deleted file mode 100644
index 3cf9e34a22..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'gl', {
- copy: 'Copiar',
- copyError: 'Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de copia. Use o teclado para iso (Ctrl/Cmd+C).',
- cut: 'Cortar',
- cutError: 'Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de corte. Use o teclado para iso (Ctrl/Cmd+X).',
- paste: 'Pegar',
- pasteArea: 'Zona de pegado',
- pasteMsg: 'Pegue dentro do seguinte cadro usando o teclado (Ctrl/Cmd+V) e prema en Aceptar',
- securityMsg: 'Por mor da configuración de seguranza do seu navegador, o editor non ten acceso ao portapapeis. É necesario pegalo novamente nesta xanela.',
- title: 'Pegar'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gu.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gu.js
deleted file mode 100644
index 2e2d6a90eb..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/gu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'gu', {
- copy: 'નકલ',
- copyError: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કોપી કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+C) का प्रयोग करें।',
- cut: 'કાપવું',
- cutError: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસ કટ કરવાની પરવાનગી નથી આપતી. (Ctrl/Cmd+X) નો ઉપયોગ કરો.',
- paste: 'પેસ્ટ',
- pasteArea: 'પેસ્ટ કરવાની જગ્યા',
- pasteMsg: 'Ctrl/Cmd+V નો પ્રયોગ કરી પેસ્ટ કરો',
- securityMsg: 'તમારા બ્રાઉઝર ની સુરક્ષિત સેટિંગસના કારણે,એડિટર તમારા કિલ્પબોર્ડ ડેટા ને કોપી નથી કરી શકતો. તમારે આ વિન્ડોમાં ફરીથી પેસ્ટ કરવું પડશે.',
- title: 'પેસ્ટ'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/he.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/he.js
deleted file mode 100644
index 726da40c69..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/he.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'he', {
- copy: 'העתקה',
- copyError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+C).',
- cut: 'גזירה',
- cutError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+X).',
- paste: 'הדבקה',
- pasteArea: 'איזור הדבקה',
- pasteMsg: 'נא להדביק בתוך הקופסה באמצעות (Ctrl/Cmd+V) וללחוץ על אישור.',
- securityMsg: 'עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (Clipboard) בצורה ישירה. נא להדביק שוב בחלון זה.',
- title: 'הדבקה'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hi.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hi.js
deleted file mode 100644
index f9876385ac..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'hi', {
- copy: 'कॉपी',
- copyError: 'आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+C) का प्रयोग करें।',
- cut: 'कट',
- cutError: 'आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl/Cmd+X) का प्रयोग करें।',
- paste: 'पेस्ट',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Ctrl/Cmd+V का प्रयोग करके पेस्ट करें और ठीक है करें.',
- securityMsg: 'आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.',
- title: 'पेस्ट'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hr.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hr.js
deleted file mode 100644
index 21e6f34c85..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'hr', {
- copy: 'Kopiraj',
- copyError: 'Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+C).',
- cut: 'Izreži',
- cutError: 'Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+X).',
- paste: 'Zalijepi',
- pasteArea: 'Prostor za ljepljenje',
- pasteMsg: 'Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (Ctrl/Cmd+V) i kliknite OK.',
- securityMsg: 'Zbog sigurnosnih postavki Vašeg pretraživača, editor nema direktan pristup Vašem međuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.',
- title: 'Zalijepi'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hu.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hu.js
deleted file mode 100644
index d71eb7ca87..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/hu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'hu', {
- copy: 'Másolás',
- copyError: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).',
- cut: 'Kivágás',
- cutError: 'A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).',
- paste: 'Beillesztés',
- pasteArea: 'Beszúrás mező',
- pasteMsg: 'Másolja be az alábbi mezőbe a Ctrl/Cmd+V billentyűk lenyomásával, majd nyomjon Rendben-t.',
- securityMsg: 'A böngésző biztonsági beállításai miatt a szerkesztő nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.',
- title: 'Beillesztés'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/id.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/id.js
deleted file mode 100644
index 8c6a4abd9b..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/id.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'id', {
- copy: 'Salin',
- copyError: 'Pengaturan keamanan peramban anda tidak mengizinkan editor untuk mengeksekusi operasi menyalin secara otomatis. Mohon gunakan papan tuts (Ctrl/Cmd+C)',
- cut: 'Potong',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING
- paste: 'Tempel',
- pasteArea: 'Area Tempel',
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'Tempel'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/is.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/is.js
deleted file mode 100644
index e534daaef8..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/is.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'is', {
- copy: 'Afrita',
- copyError: 'Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl/Cmd+C).',
- cut: 'Klippa',
- cutError: 'Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl/Cmd+X).',
- paste: 'Líma',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Límdu í svæðið hér að neðan og (Ctrl/Cmd+V) og smelltu á OK.',
- securityMsg: 'Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.',
- title: 'Líma'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/it.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/it.js
deleted file mode 100644
index 56a9bf2b95..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/it.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'it', {
- copy: 'Copia',
- copyError: 'Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+C).',
- cut: 'Taglia',
- cutError: 'Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+X).',
- paste: 'Incolla',
- pasteArea: 'Incolla',
- pasteMsg: 'Incolla il testo all\'interno dell\'area sottostante usando la scorciatoia di tastiere (Ctrl/Cmd+V) e premi OK.',
- securityMsg: 'A causa delle impostazioni di sicurezza del browser,l\'editor non è in grado di accedere direttamente agli appunti. E\' pertanto necessario incollarli di nuovo in questa finestra.',
- title: 'Incolla'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ja.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ja.js
deleted file mode 100644
index 5050f9beb7..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ja.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ja', {
- copy: 'コピー',
- copyError: 'ブラウザーのセキュリティ設定によりエディタのコピー操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。',
- cut: '切り取り',
- cutError: 'ブラウザーのセキュリティ設定によりエディタの切り取り操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+X)を使用してください。',
- paste: '貼り付け',
- pasteArea: '貼り付け場所',
- pasteMsg: 'キーボード(Ctrl/Cmd+V)を使用して、次の入力エリア内で貼り付けて、OKを押してください。',
- securityMsg: 'ブラウザのセキュリティ設定により、エディタはクリップボードデータに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。',
- title: '貼り付け'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ka.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ka.js
deleted file mode 100644
index 62e9c4e3a0..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ka.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ka', {
- copy: 'ასლი',
- copyError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ასლის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+C).',
- cut: 'ამოჭრა',
- cutError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ამოჭრის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+X).',
- paste: 'ჩასმა',
- pasteArea: 'ჩასმის არე',
- pasteMsg: 'ჩასვით ამ არის შიგნით კლავიატურის გამოყენებით (Ctrl/Cmd+V) და დააჭირეთ OK-ს',
- securityMsg: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა clipboard-ის მონაცემების წვდომის უფლებას. კიდევ უნდა ჩასვათ ტექსტი ამ ფანჯარაში.',
- title: 'ჩასმა'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/km.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/km.js
deleted file mode 100644
index 9eaa1e1295..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/km.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'km', {
- copy: 'ចម្លង',
- copyError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+C)។',
- cut: 'កាត់យក',
- cutError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះមិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+X) ។',
- paste: 'បិទភ្ជាប់',
- pasteArea: 'តំបន់បិទភ្ជាប់',
- pasteMsg: 'សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី (Ctrl/Cmd+V) ហើយចុច OK ។',
- securityMsg: 'ព្រោះតែការកំណត់សុវត្ថិភាព ប្រអប់សរសេរមិនអាចចាប់យកទិន្នន័យពីក្តារតម្បៀតខ្ទាស់អ្នកដោយផ្ទាល់បានទេ។ អ្នកត្រូវចំលងដាក់វាម្តងទៀត ក្នុងផ្ទាំងនេះ។',
- title: 'បិទភ្ជាប់'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ko.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ko.js
deleted file mode 100644
index f68c2482bf..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ko.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ko', {
- copy: '복사하기',
- copyError: '브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+C).',
- cut: '잘라내기',
- cutError: '브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+X).',
- paste: '붙여넣기',
- pasteArea: '범위 붙여넣기',
- pasteMsg: '키보드의 (Ctrl/Cmd+V) 를 이용해서 상자안에 붙여넣고 OK 를 누르세요.',
- securityMsg: '브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.',
- title: '붙여넣기'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ku.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ku.js
deleted file mode 100644
index 20c581cca7..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ku.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ku', {
- copy: 'لەبەرگرتنەوە',
- copyError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بەسەرنووسەکە لە لکاندنی دەقی خۆکارارنە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+C).',
- cut: 'بڕین',
- cutError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بە سەرنووسەکە لەبڕینی خۆکارانە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+X).',
- paste: 'لکاندن',
- pasteArea: 'ناوچەی لکاندن',
- pasteMsg: 'تکایە بیلکێنە لەناوەوەی ئەم سنوقە لەڕێی تەختەکلیلەکەت بە بەکارهێنانی کلیلی (Ctrl/Cmd+V) دووای کلیکی باشە بکە.',
- securityMsg: 'بەهۆی شێوەپێدانی پارێزی وێبگەڕەکەت، سەرنووسەکه ناتوانێت دەستبگەیەنێت بەهەڵگیراوەکە ڕاستەوخۆ. بۆیه پێویسته دووباره بیلکێنیت لەم پەنجەرەیه.',
- title: 'لکاندن'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lt.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lt.js
deleted file mode 100644
index 998f6cbb73..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lt.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'lt', {
- copy: 'Kopijuoti',
- copyError: 'Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti kopijavimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl/Cmd+C).',
- cut: 'Iškirpti',
- cutError: 'Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti iškirpimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl/Cmd+X).',
- paste: 'Įdėti',
- pasteArea: 'Įkelti dalį',
- pasteMsg: 'Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (Ctrl/Cmd+V) ir paspauskite mygtuką OK.',
- securityMsg: 'Dėl jūsų naršyklės saugumo nustatymų, redaktorius negali tiesiogiai pasiekti laikinosios atminties. Jums reikia nukopijuoti dar kartą į šį langą.',
- title: 'Įdėti'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lv.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lv.js
deleted file mode 100644
index 0f114616bc..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/lv.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'lv', {
- copy: 'Kopēt',
- copyError: 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj redaktoram automātiski veikt kopēšanas darbību. Lūdzu, izmantojiet (Ctrl/Cmd+C), lai veiktu šo darbību.',
- cut: 'Izgriezt',
- cutError: 'Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj redaktoram automātiski veikt izgriezšanas darbību. Lūdzu, izmantojiet (Ctrl/Cmd+X), lai veiktu šo darbību.',
- paste: 'Ielīmēt',
- pasteArea: 'Ielīmēšanas zona',
- pasteMsg: 'Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (Ctrl/Cmd+V) un apstipriniet ar Darīts!.',
- securityMsg: 'Jūsu pārlūka drošības uzstādījumu dēļ, nav iespējams tieši piekļūt jūsu starpliktuvei. Jums jāielīmē atkārtoti šajā logā.',
- title: 'Ievietot'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mk.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mk.js
deleted file mode 100644
index 9f0f07e7ac..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'mk', {
- copy: 'Copy', // MISSING
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', // MISSING
- cut: 'Cut', // MISSING
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING
- paste: 'Paste', // MISSING
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'Paste' // MISSING
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mn.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mn.js
deleted file mode 100644
index c1309f7c89..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/mn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'mn', {
- copy: 'Хуулах',
- copyError: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+C) товчны хослолыг ашиглана уу.',
- cut: 'Хайчлах',
- cutError: 'Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl/Cmd+X) товчны хослолыг ашиглана уу.',
- paste: 'Буулгах',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: '(Ctrl/Cmd+V) товчийг ашиглан paste хийнэ үү. Мөн OK дар.',
- securityMsg: 'Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.',
- title: 'Буулгах'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ms.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ms.js
deleted file mode 100644
index 8c465d3508..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ms.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ms', {
- copy: 'Salin',
- copyError: 'Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+C).',
- cut: 'Potong',
- cutError: 'Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+X).',
- paste: 'Tampal',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'Tampal'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nb.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nb.js
deleted file mode 100644
index fbc67fe5b9..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nb.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'nb', {
- copy: 'Kopier',
- copyError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk tastatursnarveien (Ctrl/Cmd+C).',
- cut: 'Klipp ut',
- cutError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk utklipping av tekst. Vennligst bruk tastatursnarveien (Ctrl/Cmd+X).',
- paste: 'Lim inn',
- pasteArea: 'Innlimingsområde',
- pasteMsg: 'Vennligst lim inn i følgende boks med tastaturet (Ctrl/Cmd+V) og trykk OK.',
- securityMsg: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må derfor lime det inn på nytt i dette vinduet.',
- title: 'Lim inn'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nl.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nl.js
deleted file mode 100644
index d58eec3da1..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/nl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'nl', {
- copy: 'Kopiëren',
- copyError: 'De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl/Cmd+C van het toetsenbord.',
- cut: 'Knippen',
- cutError: 'De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl/Cmd+X van het toetsenbord.',
- paste: 'Plakken',
- pasteArea: 'Plakgebied',
- pasteMsg: 'Plak de tekst in het volgende vak gebruikmakend van uw toetsenbord (Ctrl/Cmd+V) en klik op OK.',
- securityMsg: 'Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.',
- title: 'Plakken'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/no.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/no.js
deleted file mode 100644
index ea3ea16f0c..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/no.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'no', {
- copy: 'Kopier',
- copyError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snarveien (Ctrl/Cmd+C).',
- cut: 'Klipp ut',
- cutError: 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk utklipping av tekst. Vennligst bruk snarveien (Ctrl/Cmd+X).',
- paste: 'Lim inn',
- pasteArea: 'Innlimingsområde',
- pasteMsg: 'Vennligst lim inn i følgende boks med tastaturet (Ctrl/Cmd+V) og trykk OK.',
- securityMsg: 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må derfor lime det inn på nytt i dette vinduet.',
- title: 'Lim inn'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pl.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pl.js
deleted file mode 100644
index 82f9a59cfc..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'pl', {
- copy: 'Kopiuj',
- copyError: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.',
- cut: 'Wytnij',
- cutError: 'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.',
- paste: 'Wklej',
- pasteArea: 'Obszar wklejania',
- pasteMsg: 'Wklej tekst w poniższym polu, używając skrótu klawiaturowego (Ctrl/Cmd+V), i kliknij OK.',
- securityMsg: 'Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę ponownie wkleić dane w tym oknie.',
- title: 'Wklej'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt-br.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt-br.js
deleted file mode 100644
index cc1d5c29d5..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt-br.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'pt-br', {
- copy: 'Copiar',
- copyError: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).',
- cut: 'Recortar',
- cutError: 'As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).',
- paste: 'Colar',
- pasteArea: 'Área para Colar',
- pasteMsg: 'Transfira o link usado na caixa usando o teclado com (Ctrl/Cmd+V) e OK.',
- securityMsg: 'As configurações de segurança do seu navegador não permitem que o editor acesse os dados da área de transferência diretamente. Por favor cole o conteúdo manualmente nesta janela.',
- title: 'Colar'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt.js
deleted file mode 100644
index 65601160a1..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/pt.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'pt', {
- copy: 'Copiar',
- copyError: 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl/Cmd+C).',
- cut: 'Cortar',
- cutError: 'A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl/Cmd+X).',
- paste: 'Colar',
- pasteArea: 'Colar área',
- pasteMsg: 'Por favor, cole dentro da seguinte caixa usando o teclado (Ctrl/Cmd+V) e prima OK.',
- securityMsg: 'Devido ás definições de segurança do teu browser, o editor não pode aceder ao clipboard diretamente. É necessário que voltes a colar as informações nesta janela.',
- title: 'Colar'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ro.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ro.js
deleted file mode 100644
index 7db3d9830b..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ro.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ro', {
- copy: 'Copiază',
- copyError: 'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de copiere. Vă rugăm folosiţi tastatura (Ctrl/Cmd+C).',
- cut: 'Taie',
- cutError: 'Setările de securitate ale navigatorului (browser) pe care îl folosiţi nu permit editorului să execute automat operaţiunea de tăiere. Vă rugăm folosiţi tastatura (Ctrl/Cmd+X).',
- paste: 'Adaugă',
- pasteArea: 'Suprafața de adăugare',
- pasteMsg: 'Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (Ctrl/Cmd+V) şi apăsaţi OK',
- securityMsg: 'Din cauza setărilor de securitate ale programului dvs. cu care navigaţi pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui să adăugaţi din nou datele în această fereastră.',
- title: 'Adaugă'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ru.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ru.js
deleted file mode 100644
index 8f423b37d3..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ru.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ru', {
- copy: 'Копировать',
- copyError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по копированию текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+C).',
- cut: 'Вырезать',
- cutError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по вырезке текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+X).',
- paste: 'Вставить',
- pasteArea: 'Зона для вставки',
- pasteMsg: 'Пожалуйста, вставьте текст в зону ниже, используя клавиатуру (Ctrl/Cmd+V) и нажмите кнопку "OK".',
- securityMsg: 'Настройки безопасности вашего браузера не разрешают редактору напрямую обращаться к буферу обмена. Вы должны вставить текст снова в это окно.',
- title: 'Вставить'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/si.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/si.js
deleted file mode 100644
index 17890124bd..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/si.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'si', {
- copy: 'පිටපත් කරන්න',
- copyError: 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).', // MISSING
- cut: 'කපාගන්න',
- cutError: 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).', // MISSING
- paste: 'අලවන්න',
- pasteArea: 'අලවන ප්රදේශ',
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'අලවන්න'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sk.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sk.js
deleted file mode 100644
index edccb6ba21..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sk', {
- copy: 'Kopírovať',
- copyError: 'Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu kopírovania. Prosím, použite na to klávesnicu (Ctrl/Cmd+C).',
- cut: 'Vystrihnúť',
- cutError: 'Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu vystrihnutia. Prosím, použite na to klávesnicu (Ctrl/Cmd+X).',
- paste: 'Vložiť',
- pasteArea: 'Miesto pre vloženie',
- pasteMsg: 'Prosím, vložte nasledovný rámček použitím klávesnice (Ctrl/Cmd+V) a stlačte OK.',
- securityMsg: 'Kvôli vašim bezpečnostným nastaveniam prehliadača editor nie je schopný pristupovať k vašej schránke na kopírovanie priamo. Vložte to preto do tohto okna.',
- title: 'Vložiť'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sl.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sl.js
deleted file mode 100644
index 3d3b77dfe8..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sl', {
- copy: 'Kopiraj',
- copyError: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+C).',
- cut: 'Izreži',
- cutError: 'Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+X).',
- paste: 'Prilepi',
- pasteArea: 'Prilepi Prostor',
- pasteMsg: 'Prosim prilepite v sleči okvir s pomočjo tipkovnice (Ctrl/Cmd+V) in pritisnite V redu.',
- securityMsg: 'Zaradi varnostnih nastavitev vašega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.',
- title: 'Prilepi'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sq.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sq.js
deleted file mode 100644
index 137148c4e9..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sq.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sq', {
- copy: 'Kopjo',
- copyError: 'Të dhënat e sigurisë së shfletuesit tuaj nuk lejojnë që redaktuesi automatikisht të kryej veprimin e kopjimit. Ju lutemi shfrytëzoni tastierën për këtë veprim (Ctrl/Cmd+C).',
- cut: 'Preje',
- cutError: 'Të dhënat e sigurisë së shfletuesit tuaj nuk lejojnë që redaktuesi automatikisht të kryej veprimin e prerjes. Ju lutemi shfrytëzoni tastierën për këtë veprim (Ctrl/Cmd+X).',
- paste: 'Hidhe',
- pasteArea: 'Hapësira Hedhëse',
- pasteMsg: 'Ju lutemi hidhni brenda kutizës në vijim duke shfrytëzuar tastierën (Ctrl/Cmd+V) dhe shtypni Mirë.',
- securityMsg: 'Për shkak të dhënave të sigurisë së shfletuesit tuaj, redaktuesi nuk është në gjendje të i qaset drejtpërdrejtë të dhanve të tabelës suaj të punës. Ju duhet të hidhni atë përsëri në këtë dritare.',
- title: 'Hidhe'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr-latn.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr-latn.js
deleted file mode 100644
index 57eb2a66ff..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr-latn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sr-latn', {
- copy: 'Kopiraj',
- copyError: 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+C).',
- cut: 'Iseci',
- cutError: 'Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+X).',
- paste: 'Zalepi',
- pasteArea: 'Prostor za lepljenje',
- pasteMsg: 'Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (Ctrl/Cmd+V) i da pritisnete OK.',
- securityMsg: 'Zbog sigurnosnih postavki vašeg pregledača, editor nije u mogućnosti da direktno pristupi podacima u klipbordu. Potrebno je da zalepite još jednom u ovom prozoru.',
- title: 'Zalepi'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr.js
deleted file mode 100644
index f3d7c6da8e..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sr', {
- copy: 'Копирај',
- copyError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).',
- cut: 'Исеци',
- cutError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).',
- paste: 'Залепи',
- pasteArea: 'Залепи зону',
- pasteMsg: 'Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (Ctrl/Cmd+V) и да притиснете OK.',
- securityMsg: 'Због сигурносних подешавања претраживача, едитор не може да приступи оставу. Требате да га поново залепите у овом прозору.',
- title: 'Залепи'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sv.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sv.js
deleted file mode 100644
index 5f0229d52c..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/sv.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sv', {
- copy: 'Kopiera',
- copyError: 'Säkerhetsinställningar i Er webbläsare tillåter inte åtgärden kopiera. Använd (Ctrl/Cmd+C) istället.',
- cut: 'Klipp ut',
- cutError: 'Säkerhetsinställningar i Er webbläsare tillåter inte åtgärden klipp ut. Använd (Ctrl/Cmd+X) istället.',
- paste: 'Klistra in',
- pasteArea: 'Paste Area',
- pasteMsg: 'Var god och klistra in Er text i rutan nedan genom att använda (Ctrl/Cmd+V) klicka sen på OK.',
- securityMsg: 'På grund av din webbläsares säkerhetsinställningar kan verktyget inte få åtkomst till urklippsdatan. Var god och använd detta fönster istället.',
- title: 'Klistra in'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/th.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/th.js
deleted file mode 100644
index 3731c36705..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/th.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'th', {
- copy: 'สำเนา',
- copyError: 'ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว C พร้อมกัน).',
- cut: 'ตัด',
- cutError: 'ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl/Cmd และตัว X พร้อมกัน).',
- paste: 'วาง',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (Ctrl/Cmd และ V)พร้อมๆกัน และกด OK.',
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'วาง'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tr.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tr.js
deleted file mode 100644
index 889106d64a..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'tr', {
- copy: 'Kopyala',
- copyError: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl/Cmd+C) tuşlarını kullanın.',
- cut: 'Kes',
- cutError: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl/Cmd+X) tuşlarını kullanın.',
- paste: 'Yapıştır',
- pasteArea: 'Yapıştırma Alanı',
- pasteMsg: 'Lütfen aşağıdaki kutunun içine yapıştırın. (Ctrl/Cmd+V) ve Tamam butonunu tıklayın.',
- securityMsg: 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya erişimine izin vermiyor. Bu pencere içine tekrar yapıştırmalısınız..',
- title: 'Yapıştır'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tt.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tt.js
deleted file mode 100644
index fb9afa1702..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/tt.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'tt', {
- copy: 'Күчермәләү',
- copyError: 'Браузерыгызның иминлек үзлекләре автоматик рәвештә күчермәләү үтәүне тыя. Тиз төймәләрне (Ctrl/Cmd+C) кулланыгыз.',
- cut: 'Кисеп алу',
- cutError: 'Браузерыгызның иминлек үзлекләре автоматик рәвештә күчермәләү үтәүне тыя. Тиз төймәләрне (Ctrl/Cmd+C) кулланыгыз.',
- paste: 'Өстәү',
- pasteArea: 'Өстәү мәйданы',
- pasteMsg: 'Please paste inside the following box using the keyboard (Ctrl/Cmd+V) and hit OK', // MISSING
- securityMsg: 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
- title: 'Өстәү'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ug.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ug.js
deleted file mode 100644
index db51718bff..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/ug.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ug', {
- copy: 'نەشر ھوقۇقىغا ئىگە بەلگىسى',
- copyError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كۆچۈر مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+C) ئارقىلىق تاماملاڭ',
- cut: 'كەس',
- cutError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كەس مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+X) ئارقىلىق تاماملاڭ',
- paste: 'چاپلا',
- pasteArea: 'چاپلاش دائىرىسى',
- pasteMsg: 'ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+V) نى ئىشلىتىپ مەزمۇننى تۆۋەندىكى رامكىغا كۆچۈرۈڭ، ئاندىن جەزملەنى بېسىڭ',
- securityMsg: 'توركۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى سەۋەبىدىن بۇ تەھرىرلىگۈچ چاپلاش تاختىسىدىكى مەزمۇننى بىۋاستە زىيارەت قىلالمايدۇ، بۇ كۆزنەكتە قايتا بىر قېتىم چاپلىشىڭىز كېرەك.',
- title: 'چاپلا'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/uk.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/uk.js
deleted file mode 100644
index 65ee571499..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/uk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'uk', {
- copy: 'Копіювати',
- copyError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).',
- cut: 'Вирізати',
- cutError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)',
- paste: 'Вставити',
- pasteArea: 'Область вставки',
- pasteMsg: 'Будь ласка, вставте інформацію з буфера обміну в цю область, користуючись комбінацією клавіш (Ctrl/Cmd+V), та натисніть OK.',
- securityMsg: 'Редактор не може отримати прямий доступ до буферу обміну у зв\'язку з налаштуваннями Вашого браузера. Вам потрібно вставити інформацію в це вікно.',
- title: 'Вставити'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/vi.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/vi.js
deleted file mode 100644
index f8083d8a04..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/vi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'vi', {
- copy: 'Sao chép',
- copyError: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+C).',
- cut: 'Cắt',
- cutError: 'Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+X).',
- paste: 'Dán',
- pasteArea: 'Khu vực dán',
- pasteMsg: 'Hãy dán nội dung vào trong khung bên dưới, sử dụng tổ hợp phím (Ctrl/Cmd+V) và nhấn vào nút Đồng ý.',
- securityMsg: 'Do thiết lập bảo mật của trình duyệt nên trình biên tập không thể truy cập trực tiếp vào nội dung đã sao chép. Bạn cần phải dán lại nội dung vào cửa sổ này.',
- title: 'Dán'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh-cn.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh-cn.js
deleted file mode 100644
index 44cd18606e..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh-cn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'zh-cn', {
- copy: '复制',
- copyError: '您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl/Cmd+C)来完成。',
- cut: '剪切',
- cutError: '您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl/Cmd+X)来完成。',
- paste: '粘贴',
- pasteArea: '粘贴区域',
- pasteMsg: '请使用键盘快捷键(Ctrl/Cmd+V)把内容粘贴到下面的方框里,再按 确定',
- securityMsg: '因为您的浏览器的安全设置原因,本编辑器不能直接访问您的剪贴板内容,你需要在本窗口重新粘贴一次。',
- title: '粘贴'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh.js
deleted file mode 100644
index c7476332c2..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/lang/zh.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'zh', {
- copy: '複製',
- copyError: '瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用鍵盤快捷鍵 (Ctrl/Cmd+C) 複製。',
- cut: '剪下',
- cutError: '瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用鏐盤快捷鍵 (Ctrl/Cmd+X) 剪下。',
- paste: '貼上',
- pasteArea: '貼上區',
- pasteMsg: '請使用鍵盤快捷鍵 (Ctrl/Cmd+V) 貼到下方區域中並按下「確定」。',
- securityMsg: '因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。',
- title: '貼上'
-} );
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/plugin.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/plugin.js
deleted file mode 100644
index 5644db3336..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/clipboard/plugin.js
+++ /dev/null
@@ -1,1250 +0,0 @@
-/* global alert */
-
-/**
- * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or http://ckeditor.com/license
- */
-
-/**
- * @ignore
- * File overview: Clipboard support.
- */
-
-//
-// EXECUTION FLOWS:
-// -- CTRL+C
-// * browser's default behaviour
-// -- CTRL+V
-// * listen onKey (onkeydown)
-// * simulate 'beforepaste' for non-IEs on editable
-// * simulate 'paste' for Fx2/Opera on editable
-// * listen 'onpaste' on editable ('onbeforepaste' for IE)
-// * fire 'beforePaste' on editor
-// * !canceled && getClipboardDataByPastebin
-// * fire 'paste' on editor
-// * !canceled && fire 'afterPaste' on editor
-// -- CTRL+X
-// * listen onKey (onkeydown)
-// * fire 'saveSnapshot' on editor
-// * browser's default behaviour
-// * deferred second 'saveSnapshot' event
-// -- Copy command
-// * tryToCutCopy
-// * execCommand
-// * !success && alert
-// -- Cut command
-// * fixCut
-// * tryToCutCopy
-// * execCommand
-// * !success && alert
-// -- Paste command
-// * fire 'paste' on editable ('beforepaste' for IE)
-// * !canceled && execCommand 'paste'
-// * !success && fire 'pasteDialog' on editor
-// -- Paste from native context menu & menubar
-// (Fx & Webkits are handled in 'paste' default listner.
-// Opera cannot be handled at all because it doesn't fire any events
-// Special treatment is needed for IE, for which is this part of doc)
-// * listen 'onpaste'
-// * cancel native event
-// * fire 'beforePaste' on editor
-// * !canceled && getClipboardDataByPastebin
-// * execIECommand( 'paste' ) -> this fires another 'paste' event, so cancel it
-// * fire 'paste' on editor
-// * !canceled && fire 'afterPaste' on editor
-//
-//
-// PASTE EVENT - PREPROCESSING:
-// -- Possible dataValue types: auto, text, html.
-// -- Possible dataValue contents:
-// * text (possible \n\r)
-// * htmlified text (text + br,div,p - no presentional markup & attrs - depends on browser)
-// * html
-// -- Possible flags:
-// * htmlified - if true then content is a HTML even if no markup inside. This flag is set
-// for content from editable pastebins, because they 'htmlify' pasted content.
-//
-// -- Type: auto:
-// * content: htmlified text -> filter, unify text markup (brs, ps, divs), set type: text
-// * content: html -> filter, set type: html
-// -- Type: text:
-// * content: htmlified text -> filter, unify text markup
-// * content: html -> filter, strip presentional markup, unify text markup
-// -- Type: html:
-// * content: htmlified text -> filter, unify text markup
-// * content: html -> filter
-//
-// -- Phases:
-// * filtering (priorities 3-5) - e.g. pastefromword filters
-// * content type sniffing (priority 6)
-// * markup transformations for text (priority 6)
-//
-
-'use strict';
-
-( function() {
- // Register the plugin.
- CKEDITOR.plugins.add( 'clipboard', {
- requires: 'dialog',
- // jscs:disable maximumLineLength
- lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
- // jscs:enable maximumLineLength
- icons: 'copy,copy-rtl,cut,cut-rtl,paste,paste-rtl', // %REMOVE_LINE_CORE%
- hidpi: true, // %REMOVE_LINE_CORE%
- init: function( editor ) {
- var textificationFilter;
-
- initClipboard( editor );
-
- CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) );
-
- editor.on( 'paste', function( evt ) {
- var data = evt.data.dataValue,
- blockElements = CKEDITOR.dtd.$block;
-
- // Filter webkit garbage.
- if ( data.indexOf( 'Apple-' ) > -1 ) {
- // Replace special webkit's with simple space, because webkit
- // produces them even for normal spaces.
- data = data.replace( / <\/span>/gi, ' ' );
-
- // Strip around white-spaces when not in forced 'html' content type.
- // This spans are created only when pasting plain text into Webkit,
- // but for safety reasons remove them always.
- if ( evt.data.type != 'html' ) {
- data = data.replace( /]*>([^<]*)<\/span>/gi, function( all, spaces ) {
- // Replace tabs with 4 spaces like Fx does.
- return spaces.replace( /\t/g, ' ' );
- } );
- }
-
- // This br is produced only when copying & pasting HTML content.
- if ( data.indexOf( ' ' ) > -1 ) {
- evt.data.startsWithEOL = 1;
- evt.data.preSniffing = 'html'; // Mark as not text.
- data = data.replace( / /, '' );
- }
-
- // Remove all other classes.
- data = data.replace( /(<[^>]+) class="Apple-[^"]*"/gi, '$1' );
- }
-
- // Strip editable that was copied from inside. (#9534)
- if ( data.match( /^<[^<]+cke_(editable|contents)/i ) ) {
- var tmp,
- editable_wrapper,
- wrapper = new CKEDITOR.dom.element( 'div' );
-
- wrapper.setHtml( data );
- // Verify for sure and check for nested editor UI parts. (#9675)
- while ( wrapper.getChildCount() == 1 &&
- ( tmp = wrapper.getFirst() ) &&
- tmp.type == CKEDITOR.NODE_ELEMENT && // Make sure first-child is element.
- ( tmp.hasClass( 'cke_editable' ) || tmp.hasClass( 'cke_contents' ) ) ) {
- wrapper = editable_wrapper = tmp;
- }
-
- // If editable wrapper was found strip it and bogus (added on FF).
- if ( editable_wrapper )
- data = editable_wrapper.getHtml().replace( / $/i, '' );
- }
-
- if ( CKEDITOR.env.ie ) {
- //
->
(br.cke-pasted-remove will be removed later)
- data = data.replace( /^ (?: |\r\n)?<(\w+)/g, function( match, elementName ) {
- if ( elementName.toLowerCase() in blockElements ) {
- evt.data.preSniffing = 'html'; // Mark as not a text.
- return '<' + elementName;
- }
- return match;
- } );
- } else if ( CKEDITOR.env.webkit ) {
- //
->
- // We don't mark br, because this situation can happen for htmlified text too.
- data = data.replace( /<\/(\w+)>
<\/div>$/, function( match, elementName ) {
- if ( elementName in blockElements ) {
- evt.data.endsWithEOL = 1;
- return '' + elementName + '>';
- }
- return match;
- } );
- } else if ( CKEDITOR.env.gecko ) {
- // Firefox adds bogus when user pasted text followed by space(s).
- data = data.replace( /(\s) $/, '$1' );
- }
-
- evt.data.dataValue = data;
- }, null, null, 3 );
-
- editor.on( 'paste', function( evt ) {
- var dataObj = evt.data,
- type = dataObj.type,
- data = dataObj.dataValue,
- trueType,
- // Default is 'html'.
- defaultType = editor.config.clipboard_defaultContentType || 'html';
-
- // If forced type is 'html' we don't need to know true data type.
- if ( type == 'html' || dataObj.preSniffing == 'html' )
- trueType = 'html';
- else
- trueType = recogniseContentType( data );
-
- // Unify text markup.
- if ( trueType == 'htmlifiedtext' )
- data = htmlifiedTextHtmlification( editor.config, data );
- // Strip presentional markup & unify text markup.
- else if ( type == 'text' && trueType == 'html' ) {
- // Init filter only if needed and cache it.
- data = htmlTextification( editor.config, data, textificationFilter || ( textificationFilter = getTextificationFilter( editor ) ) );
- }
-
- if ( dataObj.startsWithEOL )
- data = ' ' + data;
- if ( dataObj.endsWithEOL )
- data += ' ';
-
- if ( type == 'auto' )
- type = ( trueType == 'html' || defaultType == 'html' ) ? 'html' : 'text';
-
- dataObj.type = type;
- dataObj.dataValue = data;
- delete dataObj.preSniffing;
- delete dataObj.startsWithEOL;
- delete dataObj.endsWithEOL;
- }, null, null, 6 );
-
- // Inserts processed data into the editor at the end of the
- // events chain.
- editor.on( 'paste', function( evt ) {
- var data = evt.data;
-
- editor.insertHtml( data.dataValue, data.type );
-
- // Deferr 'afterPaste' so all other listeners for 'paste' will be fired first.
- setTimeout( function() {
- editor.fire( 'afterPaste' );
- }, 0 );
- }, null, null, 1000 );
-
- editor.on( 'pasteDialog', function( evt ) {
- // TODO it's possible that this setTimeout is not needed any more,
- // because of changes introduced in the same commit as this comment.
- // Editor.getClipboardData adds listner to the dialog's events which are
- // fired after a while (not like 'showDialog').
- setTimeout( function() {
- // Open default paste dialog.
- editor.openDialog( 'paste', evt.data );
- }, 0 );
- } );
- }
- } );
-
- function initClipboard( editor ) {
- var preventBeforePasteEvent = 0,
- preventPasteEvent = 0,
- inReadOnly = 0,
- // Safari doesn't like 'beforepaste' event - it sometimes doesn't
- // properly handles ctrl+c. Probably some race-condition between events.
- // Chrome and Firefox works well with both events, so better to use 'paste'
- // which will handle pasting from e.g. browsers' menu bars.
- // IE7/8 doesn't like 'paste' event for which it's throwing random errors.
- mainPasteEvent = CKEDITOR.env.ie ? 'beforepaste' : 'paste';
-
- addListeners();
- addButtonsCommands();
-
- /**
- * Gets clipboard data by directly accessing the clipboard (IE only) or opening paste dialog.
- *
- * editor.getClipboardData( { title: 'Get my data' }, function( data ) {
- * if ( data )
- * alert( data.type + ' ' + data.dataValue );
- * } );
- *
- * @member CKEDITOR.editor
- * @param {Object} options
- * @param {String} [options.title] Title of paste dialog.
- * @param {Function} callback Function that will be executed with `data.type` and `data.dataValue`
- * or `null` if none of the capturing method succeeded.
- */
- editor.getClipboardData = function( options, callback ) {
- var beforePasteNotCanceled = false,
- dataType = 'auto',
- dialogCommited = false;
-
- // Options are optional - args shift.
- if ( !callback ) {
- callback = options;
- options = null;
- }
-
- // Listen with maximum priority to handle content before everyone else.
- // This callback will handle paste event that will be fired if direct
- // access to the clipboard succeed in IE.
- editor.on( 'paste', onPaste, null, null, 0 );
-
- // Listen at the end of listeners chain to see if event wasn't canceled
- // and to retrieve modified data.type.
- editor.on( 'beforePaste', onBeforePaste, null, null, 1000 );
-
- // getClipboardDataDirectly() will fire 'beforePaste' synchronously, so we can
- // check if it was canceled and if any listener modified data.type.
-
- // If command didn't succeed (only IE allows to access clipboard and only if
- // user agrees) open and handle paste dialog.
- if ( getClipboardDataDirectly() === false ) {
- // Direct access to the clipboard wasn't successful so remove listener.
- editor.removeListener( 'paste', onPaste );
-
- // If beforePaste was canceled do not open dialog.
- // Add listeners only if dialog really opened. 'pasteDialog' can be canceled.
- if ( beforePasteNotCanceled && editor.fire( 'pasteDialog', onDialogOpen ) ) {
- editor.on( 'pasteDialogCommit', onDialogCommit );
-
- // 'dialogHide' will be fired after 'pasteDialogCommit'.
- editor.on( 'dialogHide', function( evt ) {
- evt.removeListener();
- evt.data.removeListener( 'pasteDialogCommit', onDialogCommit );
-
- // Because Opera has to wait a while in pasteDialog we have to wait here.
- setTimeout( function() {
- // Notify even if user canceled dialog (clicked 'cancel', ESC, etc).
- if ( !dialogCommited )
- callback( null );
- }, 10 );
- } );
- } else {
- callback( null );
- }
- }
-
- function onPaste( evt ) {
- evt.removeListener();
- evt.cancel();
- callback( evt.data );
- }
-
- function onBeforePaste( evt ) {
- evt.removeListener();
- beforePasteNotCanceled = true;
- dataType = evt.data.type;
- }
-
- function onDialogCommit( evt ) {
- evt.removeListener();
- // Cancel pasteDialogCommit so paste dialog won't automatically fire
- // 'paste' evt by itself.
- evt.cancel();
- dialogCommited = true;
- callback( { type: dataType, dataValue: evt.data } );
- }
-
- function onDialogOpen() {
- this.customTitle = ( options && options.title );
- }
- };
-
- function addButtonsCommands() {
- addButtonCommand( 'Cut', 'cut', createCutCopyCmd( 'cut' ), 10, 1 );
- addButtonCommand( 'Copy', 'copy', createCutCopyCmd( 'copy' ), 20, 4 );
- addButtonCommand( 'Paste', 'paste', createPasteCmd(), 30, 8 );
-
- function addButtonCommand( buttonName, commandName, command, toolbarOrder, ctxMenuOrder ) {
- var lang = editor.lang.clipboard[ commandName ];
-
- editor.addCommand( commandName, command );
- editor.ui.addButton && editor.ui.addButton( buttonName, {
- label: lang,
- command: commandName,
- toolbar: 'clipboard,' + toolbarOrder
- } );
-
- // If the "menu" plugin is loaded, register the menu item.
- if ( editor.addMenuItems ) {
- editor.addMenuItem( commandName, {
- label: lang,
- command: commandName,
- group: 'clipboard',
- order: ctxMenuOrder
- } );
- }
- }
- }
-
- function addListeners() {
- editor.on( 'key', onKey );
- editor.on( 'contentDom', addListenersToEditable );
-
- // For improved performance, we're checking the readOnly state on selectionChange instead of hooking a key event for that.
- editor.on( 'selectionChange', function( evt ) {
- inReadOnly = evt.data.selection.getRanges()[ 0 ].checkReadOnly();
- setToolbarStates();
- } );
-
- // If the "contextmenu" plugin is loaded, register the listeners.
- if ( editor.contextMenu ) {
- editor.contextMenu.addListener( function( element, selection ) {
- inReadOnly = selection.getRanges()[ 0 ].checkReadOnly();
- return {
- cut: stateFromNamedCommand( 'cut' ),
- copy: stateFromNamedCommand( 'copy' ),
- paste: stateFromNamedCommand( 'paste' )
- };
- } );
- }
- }
-
- // Add events listeners to editable.
- function addListenersToEditable() {
- var editable = editor.editable();
-
- // We'll be catching all pasted content in one line, regardless of whether
- // it's introduced by a document command execution (e.g. toolbar buttons) or
- // user paste behaviors (e.g. CTRL+V).
- editable.on( mainPasteEvent, function( evt ) {
- if ( CKEDITOR.env.ie && preventBeforePasteEvent )
- return;
-
- // If you've just asked yourself why preventPasteEventNow() is not here, but
- // in listener for CTRL+V and exec method of 'paste' command
- // you've asked the same question we did.
- //
- // THE ANSWER:
- //
- // First thing to notice - this answer makes sense only for IE,
- // because other browsers don't listen for 'paste' event.
- //
- // What would happen if we move preventPasteEventNow() here?
- // For:
- // * CTRL+V - IE fires 'beforepaste', so we prevent 'paste' and pasteDataFromClipboard(). OK.
- // * editor.execCommand( 'paste' ) - we fire 'beforepaste', so we prevent
- // 'paste' and pasteDataFromClipboard() and doc.execCommand( 'Paste' ). OK.
- // * native context menu - IE fires 'beforepaste', so we prevent 'paste', but unfortunately
- // on IE we fail with pasteDataFromClipboard() here, because of... we don't know why, but
- // we just fail, so... we paste nothing. FAIL.
- // * native menu bar - the same as for native context menu.
- //
- // But don't you know any way to distinguish first two cases from last two?
- // Only one - special flag set in CTRL+V handler and exec method of 'paste'
- // command. And that's what we did using preventPasteEventNow().
-
- pasteDataFromClipboard( evt );
- } );
-
- // It's not possible to clearly handle all four paste methods (ctrl+v, native menu bar
- // native context menu, editor's command) in one 'paste/beforepaste' event in IE.
- //
- // For ctrl+v & editor's command it's easy to handle pasting in 'beforepaste' listener,
- // so we do this. For another two methods it's better to use 'paste' event.
- //
- // 'paste' is always being fired after 'beforepaste' (except of weird one on opening native
- // context menu), so for two methods handled in 'beforepaste' we're canceling 'paste'
- // using preventPasteEvent state.
- //
- // 'paste' event in IE is being fired before getClipboardDataByPastebin executes its callback.
- //
- // QUESTION: Why didn't you handle all 4 paste methods in handler for 'paste'?
- // Wouldn't this just be simpler?
- // ANSWER: Then we would have to evt.data.preventDefault() only for native
- // context menu and menu bar pastes. The same with execIECommand().
- // That would force us to mark CTRL+V and editor's paste command with
- // special flag, other than preventPasteEvent. But we still would have to
- // have preventPasteEvent for the second event fired by execIECommand.
- // Code would be longer and not cleaner.
- CKEDITOR.env.ie && editable.on( 'paste', function( evt ) {
- if ( preventPasteEvent )
- return;
- // Cancel next 'paste' event fired by execIECommand( 'paste' )
- // at the end of this callback.
- preventPasteEventNow();
-
- // Prevent native paste.
- evt.data.preventDefault();
-
- pasteDataFromClipboard( evt );
-
- // Force IE to paste content into pastebin so pasteDataFromClipboard will work.
- if ( !execIECommand( 'paste' ) )
- editor.openDialog( 'paste' );
- } );
-
- // [IE] Dismiss the (wrong) 'beforepaste' event fired on context/toolbar menu open. (#7953)
- if ( CKEDITOR.env.ie ) {
- editable.on( 'contextmenu', preventBeforePasteEventNow, null, null, 0 );
-
- editable.on( 'beforepaste', function( evt ) {
- // Do not prevent event on CTRL+V and SHIFT+INS because it blocks paste (#11970).
- if ( evt.data && !evt.data.$.ctrlKey && !evt.data.$.shiftKey )
- preventBeforePasteEventNow();
- }, null, null, 0 );
-
- }
-
- editable.on( 'beforecut', function() {
- !preventBeforePasteEvent && fixCut( editor );
- } );
-
- var mouseupTimeout;
-
- // Use editor.document instead of editable in non-IEs for observing mouseup
- // since editable won't fire the event if selection process started within
- // iframe and ended out of the editor (#9851).
- editable.attachListener( CKEDITOR.env.ie ? editable : editor.document.getDocumentElement(), 'mouseup', function() {
- mouseupTimeout = setTimeout( function() {
- setToolbarStates();
- }, 0 );
- } );
-
- // Make sure that deferred mouseup callback isn't executed after editor instance
- // had been destroyed. This may happen when editor.destroy() is called in parallel
- // with mouseup event (i.e. a button with onclick callback) (#10219).
- editor.on( 'destroy', function() {
- clearTimeout( mouseupTimeout );
- } );
-
- editable.on( 'keyup', setToolbarStates );
- }
-
- // Create object representing Cut or Copy commands.
- function createCutCopyCmd( type ) {
- return {
- type: type,
- canUndo: type == 'cut', // We can't undo copy to clipboard.
- startDisabled: true,
- exec: function() {
- // Attempts to execute the Cut and Copy operations.
- function tryToCutCopy( type ) {
- if ( CKEDITOR.env.ie )
- return execIECommand( type );
-
- // non-IEs part
- try {
- // Other browsers throw an error if the command is disabled.
- return editor.document.$.execCommand( type, false, null );
- } catch ( e ) {
- return false;
- }
- }
-
- this.type == 'cut' && fixCut();
-
- var success = tryToCutCopy( this.type );
-
- if ( !success ) {
- alert( editor.lang.clipboard[ this.type + 'Error' ] ); // Show cutError or copyError.
- }
-
- return success;
- }
- };
- }
-
- function createPasteCmd() {
- return {
- // Snapshots are done manually by editable.insertXXX methods.
- canUndo: false,
- async: true,
-
- exec: function( editor, data ) {
- var fire = function( data, withBeforePaste ) {
- data && firePasteEvents( data.type, data.dataValue, !!withBeforePaste );
-
- editor.fire( 'afterCommandExec', {
- name: 'paste',
- command: cmd,
- returnValue: !!data
- } );
- },
- cmd = this;
-
- // Check data precisely - don't open dialog on empty string.
- if ( typeof data == 'string' )
- fire( { type: 'auto', dataValue: data }, 1 );
- else
- editor.getClipboardData( fire );
- }
- };
- }
-
- function preventPasteEventNow() {
- preventPasteEvent = 1;
- // For safety reason we should wait longer than 0/1ms.
- // We don't know how long execution of quite complex getClipboardData will take
- // and in for example 'paste' listner execCommand() (which fires 'paste') is called
- // after getClipboardData finishes.
- // Luckily, it's impossible to immediately fire another 'paste' event we want to handle,
- // because we only handle there native context menu and menu bar.
- setTimeout( function() {
- preventPasteEvent = 0;
- }, 100 );
- }
-
- function preventBeforePasteEventNow() {
- preventBeforePasteEvent = 1;
- setTimeout( function() {
- preventBeforePasteEvent = 0;
- }, 10 );
- }
-
- // Tries to execute any of the paste, cut or copy commands in IE. Returns a
- // boolean indicating that the operation succeeded.
- // @param {String} command *LOWER CASED* name of command ('paste', 'cut', 'copy').
- function execIECommand( command ) {
- var doc = editor.document,
- body = doc.getBody(),
- enabled = false,
- onExec = function() {
- enabled = true;
- };
-
- // The following seems to be the only reliable way to detect that
- // clipboard commands are enabled in IE. It will fire the
- // onpaste/oncut/oncopy events only if the security settings allowed
- // the command to execute.
- body.on( command, onExec );
-
- // IE7: document.execCommand has problem to paste into positioned element.
- ( CKEDITOR.env.version > 7 ? doc.$ : doc.$.selection.createRange() ).execCommand( command );
-
- body.removeListener( command, onExec );
-
- return enabled;
- }
-
- function firePasteEvents( type, data, withBeforePaste ) {
- var eventData = { type: type };
-
- if ( withBeforePaste ) {
- // Fire 'beforePaste' event so clipboard flavor get customized
- // by other plugins.
- if ( editor.fire( 'beforePaste', eventData ) === false )
- return false; // Event canceled
- }
-
- // The very last guard to make sure the paste has successfully happened.
- // This check should be done after firing 'beforePaste' because for native paste
- // 'beforePaste' is by default fired even for empty clipboard.
- if ( !data )
- return false;
-
- // Reuse eventData.type because the default one could be changed by beforePaste listeners.
- eventData.dataValue = data;
-
- return editor.fire( 'paste', eventData );
- }
-
- // Cutting off control type element in IE standards breaks the selection entirely. (#4881)
- function fixCut() {
- if ( !CKEDITOR.env.ie || CKEDITOR.env.quirks )
- return;
-
- var sel = editor.getSelection(),
- control, range, dummy;
-
- if ( ( sel.getType() == CKEDITOR.SELECTION_ELEMENT ) && ( control = sel.getSelectedElement() ) ) {
- range = sel.getRanges()[ 0 ];
- dummy = editor.document.createText( '' );
- dummy.insertBefore( control );
- range.setStartBefore( dummy );
- range.setEndAfter( control );
- sel.selectRanges( [ range ] );
-
- // Clear up the fix if the paste wasn't succeeded.
- setTimeout( function() {
- // Element still online?
- if ( control.getParent() ) {
- dummy.remove();
- sel.selectElement( control );
- }
- }, 0 );
- }
- }
-
- // Allow to peek clipboard content by redirecting the
- // pasting content into a temporary bin and grab the content of it.
- function getClipboardDataByPastebin( evt, callback ) {
- var doc = editor.document,
- editable = editor.editable(),
- cancel = function( evt ) {
- evt.cancel();
- },
- blurListener;
-
- // Avoid recursions on 'paste' event or consequent paste too fast. (#5730)
- if ( doc.getById( 'cke_pastebin' ) )
- return;
-
- var sel = editor.getSelection();
- var bms = sel.createBookmarks();
-
- // #11384. On IE9+ we use native selectionchange (i.e. editor#selectionCheck) to cache the most
- // recent selection which we then lock on editable blur. See selection.js for more info.
- // selectionchange fired before getClipboardDataByPastebin() cached selection
- // before creating bookmark (cached selection will be invalid, because bookmarks modified the DOM),
- // so we need to fire selectionchange one more time, to store current seleciton.
- // Selection will be locked when we focus pastebin.
- if ( CKEDITOR.env.ie )
- sel.root.fire( 'selectionchange' );
-
- // Create container to paste into.
- // For rich content we prefer to use "body" since it holds
- // the least possibility to be splitted by pasted content, while this may
- // breaks the text selection on a frame-less editable, "div" would be
- // the best one in that case.
- // In another case on old IEs moving the selection into a "body" paste bin causes error panic.
- // Body can't be also used for Opera which fills it with
- // what is indistinguishable from pasted (copying in Opera isn't possible,
- // but it can be copied from other browser).
- var pastebin = new CKEDITOR.dom.element(
- ( CKEDITOR.env.webkit || editable.is( 'body' ) ) && !CKEDITOR.env.ie ? 'body' : 'div', doc );
-
- pastebin.setAttributes( {
- id: 'cke_pastebin',
- 'data-cke-temp': '1'
- } );
-
- var containerOffset = 0,
- offsetParent,
- win = doc.getWindow();
-
- if ( CKEDITOR.env.webkit ) {
- // It's better to paste close to the real paste destination, so inherited styles
- // (which Webkits will try to compensate by styling span) differs less from the destination's one.
- editable.append( pastebin );
- // Style pastebin like .cke_editable, to minimize differences between origin and destination. (#9754)
- pastebin.addClass( 'cke_editable' );
-
- // Compensate position of offsetParent.
- if ( !editable.is( 'body' ) ) {
- // We're not able to get offsetParent from pastebin (body element), so check whether
- // its parent (editable) is positioned.
- if ( editable.getComputedStyle( 'position' ) != 'static' )
- offsetParent = editable;
- // And if not - safely get offsetParent from editable.
- else
- offsetParent = CKEDITOR.dom.element.get( editable.$.offsetParent );
-
- containerOffset = offsetParent.getDocumentPosition().y;
- }
- } else {
- // Opera and IE doesn't allow to append to html element.
- editable.getAscendant( CKEDITOR.env.ie ? 'body' : 'html', 1 ).append( pastebin );
- }
-
- pastebin.setStyles( {
- position: 'absolute',
- // Position the bin at the top (+10 for safety) of viewport to avoid any subsequent document scroll.
- top: ( win.getScrollPosition().y - containerOffset + 10 ) + 'px',
- width: '1px',
- // Caret has to fit in that height, otherwise browsers like Chrome & Opera will scroll window to show it.
- // Set height equal to viewport's height - 20px (safety gaps), minimum 1px.
- height: Math.max( 1, win.getViewPaneSize().height - 20 ) + 'px',
- overflow: 'hidden',
- // Reset styles that can mess up pastebin position.
- margin: 0,
- padding: 0
- } );
-
- // Paste fails in Safari when the body tag has 'user-select: none'. (#12506)
- if ( CKEDITOR.env.safari )
- pastebin.setStyles( CKEDITOR.tools.cssVendorPrefix( 'user-select', 'text' ) );
-
- // Check if the paste bin now establishes new editing host.
- var isEditingHost = pastebin.getParent().isReadOnly();
-
- if ( isEditingHost ) {
- // Hide the paste bin.
- pastebin.setOpacity( 0 );
- // And make it editable.
- pastebin.setAttribute( 'contenteditable', true );
- }
- // Transparency is not enough since positioned non-editing host always shows
- // resize handler, pull it off the screen instead.
- else {
- pastebin.setStyle( editor.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );
- }
-
- editor.on( 'selectionChange', cancel, null, null, 0 );
-
- // Webkit fill fire blur on editable when moving selection to
- // pastebin (if body is used). Cancel it because it causes incorrect
- // selection lock in case of inline editor (#10644).
- // The same seems to apply to Firefox (#10787).
- if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko )
- blurListener = editable.once( 'blur', cancel, null, null, -100 );
-
- // Temporarily move selection to the pastebin.
- isEditingHost && pastebin.focus();
- var range = new CKEDITOR.dom.range( pastebin );
- range.selectNodeContents( pastebin );
- var selPastebin = range.select();
-
- // If non-native paste is executed, IE will open security alert and blur editable.
- // Editable will then lock selection inside itself and after accepting security alert
- // this selection will be restored. We overwrite stored selection, so it's restored
- // in pastebin. (#9552)
- if ( CKEDITOR.env.ie ) {
- blurListener = editable.once( 'blur', function() {
- editor.lockSelection( selPastebin );
- } );
- }
-
- var scrollTop = CKEDITOR.document.getWindow().getScrollPosition().y;
-
- // Wait a while and grab the pasted contents.
- setTimeout( function() {
- // Restore main window's scroll position which could have been changed
- // by browser in cases described in #9771.
- if ( CKEDITOR.env.webkit )
- CKEDITOR.document.getBody().$.scrollTop = scrollTop;
-
- // Blur will be fired only on non-native paste. In other case manually remove listener.
- blurListener && blurListener.removeListener();
-
- // Restore properly the document focus. (#8849)
- if ( CKEDITOR.env.ie )
- editable.focus();
-
- // IE7: selection must go before removing pastebin. (#8691)
- sel.selectBookmarks( bms );
- pastebin.remove();
-
- // Grab the HTML contents.
- // We need to look for a apple style wrapper on webkit it also adds
- // a div wrapper if you copy/paste the body of the editor.
- // Remove hidden div and restore selection.
- var bogusSpan;
- if ( CKEDITOR.env.webkit && ( bogusSpan = pastebin.getFirst() ) && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) )
- pastebin = bogusSpan;
-
- editor.removeListener( 'selectionChange', cancel );
- callback( pastebin.getHtml() );
- }, 0 );
- }
-
- // Try to get content directly from clipboard, without native event
- // being fired before. In other words - synthetically get clipboard data
- // if it's possible.
- // mainPasteEvent will be fired, so if forced native paste:
- // * worked, getClipboardDataByPastebin will grab it,
- // * didn't work, pastebin will be empty and editor#paste won't be fired.
- function getClipboardDataDirectly() {
- if ( CKEDITOR.env.ie ) {
- // Prevent IE from pasting at the begining of the document.
- editor.focus();
-
- // Command will be handled by 'beforepaste', but as
- // execIECommand( 'paste' ) will fire also 'paste' event
- // we're canceling it.
- preventPasteEventNow();
-
- // #9247: Lock focus to prevent IE from hiding toolbar for inline editor.
- var focusManager = editor.focusManager;
- focusManager.lock();
-
- if ( editor.editable().fire( mainPasteEvent ) && !execIECommand( 'paste' ) ) {
- focusManager.unlock();
- return false;
- }
- focusManager.unlock();
- } else {
- try {
- if ( editor.editable().fire( mainPasteEvent ) && !editor.document.$.execCommand( 'Paste', false, null ) )
- throw 0;
-
- } catch ( e ) {
- return false;
- }
- }
-
- return true;
- }
-
- // Listens for some clipboard related keystrokes, so they get customized.
- // Needs to be bind to keydown event.
- function onKey( event ) {
- if ( editor.mode != 'wysiwyg' )
- return;
-
- switch ( event.data.keyCode ) {
- // Paste
- case CKEDITOR.CTRL + 86: // CTRL+V
- case CKEDITOR.SHIFT + 45: // SHIFT+INS
- var editable = editor.editable();
-
- // Cancel 'paste' event because ctrl+v is for IE handled
- // by 'beforepaste'.
- preventPasteEventNow();
-
- // Simulate 'beforepaste' event for all none-IEs.
- !CKEDITOR.env.ie && editable.fire( 'beforepaste' );
-
- return;
-
- // Cut
- case CKEDITOR.CTRL + 88: // CTRL+X
- case CKEDITOR.SHIFT + 46: // SHIFT+DEL
- // Save Undo snapshot.
- editor.fire( 'saveSnapshot' ); // Save before cut
- setTimeout( function() {
- editor.fire( 'saveSnapshot' ); // Save after cut
- }, 50 ); // OSX is slow (#11416).
- }
- }
-
- function pasteDataFromClipboard( evt ) {
- // Default type is 'auto', but can be changed by beforePaste listeners.
- var eventData = { type: 'auto' };
- // Fire 'beforePaste' event so clipboard flavor get customized by other plugins.
- // If 'beforePaste' is canceled continue executing getClipboardDataByPastebin and then do nothing
- // (do not fire 'paste', 'afterPaste' events). This way we can grab all - synthetically
- // and natively pasted content and prevent its insertion into editor
- // after canceling 'beforePaste' event.
- var beforePasteNotCanceled = editor.fire( 'beforePaste', eventData );
-
- getClipboardDataByPastebin( evt, function( data ) {
- // Clean up.
- data = data.replace( /]+data-cke-bookmark[^<]*?<\/span>/ig, '' );
-
- // Fire remaining events (without beforePaste)
- beforePasteNotCanceled && firePasteEvents( eventData.type, data, 0, 1 );
- } );
- }
-
- function setToolbarStates() {
- if ( editor.mode != 'wysiwyg' )
- return;
-
- var pasteState = stateFromNamedCommand( 'paste' );
-
- editor.getCommand( 'cut' ).setState( stateFromNamedCommand( 'cut' ) );
- editor.getCommand( 'copy' ).setState( stateFromNamedCommand( 'copy' ) );
- editor.getCommand( 'paste' ).setState( pasteState );
- editor.fire( 'pasteState', pasteState );
- }
-
- function stateFromNamedCommand( command ) {
- if ( inReadOnly && command in { paste: 1, cut: 1 } )
- return CKEDITOR.TRISTATE_DISABLED;
-
- if ( command == 'paste' )
- return CKEDITOR.TRISTATE_OFF;
-
- // Cut, copy - check if the selection is not empty.
- var sel = editor.getSelection(),
- ranges = sel.getRanges(),
- selectionIsEmpty = sel.getType() == CKEDITOR.SELECTION_NONE || ( ranges.length == 1 && ranges[ 0 ].collapsed );
-
- return selectionIsEmpty ? CKEDITOR.TRISTATE_DISABLED : CKEDITOR.TRISTATE_OFF;
- }
- }
-
- // Returns:
- // * 'htmlifiedtext' if content looks like transformed by browser from plain text.
- // See clipboard/paste.html TCs for more info.
- // * 'html' if it is not 'htmlifiedtext'.
- function recogniseContentType( data ) {
- if ( CKEDITOR.env.webkit ) {
- // Plain text or (
and text inside
).
- if ( !data.match( /^[^<]*$/g ) && !data.match( /^(
<\/div>|
[^<]*<\/div>)*$/gi ) )
- return 'html';
- } else if ( CKEDITOR.env.ie ) {
- // Text and or ( text and in
- paragraphs can be separated by new \r\n ).
- if ( !data.match( /^([^<]| )*$/gi ) && !data.match( /^(
([^<]| )*<\/p>|(\r\n))*$/gi ) )
- return 'html';
- } else if ( CKEDITOR.env.gecko ) {
- // Text or .
- if ( !data.match( /^([^<]| )*$/gi ) )
- return 'html';
- } else {
- return 'html';
- }
-
- return 'htmlifiedtext';
- }
-
- // This function transforms what browsers produce when
- // pasting plain text into editable element (see clipboard/paste.html TCs
- // for more info) into correct HTML (similar to that produced by text2Html).
- function htmlifiedTextHtmlification( config, data ) {
- function repeatParagraphs( repeats ) {
- // Repeat blocks floor((n+1)/2) times.
- // Even number of repeats - add at the beginning of last
.
- return CKEDITOR.tools.repeat( '
', ~~( repeats / 2 ) ) + ( repeats % 2 == 1 ? ' ' : '' );
- }
-
- // Replace adjacent white-spaces (EOLs too - Fx sometimes keeps them) with one space.
- data = data.replace( /\s+/g, ' ' )
- // Remove spaces from between tags.
- .replace( /> +<' )
- // Normalize XHTML syntax and upper cased tags.
- .replace( / /gi, ' ' );
-
- // IE - lower cased tags.
- data = data.replace( /<\/?[A-Z]+>/g, function( match ) {
- return match.toLowerCase();
- } );
-
- // Don't touch single lines (no ) - nothing to do here.
- if ( data.match( /^[^<]$/ ) )
- return data;
-
- // Webkit.
- if ( CKEDITOR.env.webkit && data.indexOf( '
' ) > -1 ) {
- // One line break at the beginning - insert
- data = data.replace( /^(
( |)<\/div>)(?!$|(
( |)<\/div>))/g, ' ' )
- // Two or more - reduce number of new lines by one.
- .replace( /^(
( |)<\/div>){2}(?!$)/g, '' );
-
- // Two line breaks create one paragraph in Webkit.
- if ( data.match( /
' ).length + 1 );
- } ) + '';
- }
-
- // One line break create br.
- data = data.replace( /<\/div>
/g, ' ' );
-
- // Remove remaining divs.
- data = data.replace( /<\/?div>/g, '' );
- }
-
- // Opera and Firefox and enterMode != BR.
- if ( CKEDITOR.env.gecko && config.enterMode != CKEDITOR.ENTER_BR ) {
- // Remove bogus - Fx generates two for one line break.
- // For two line breaks it still produces two , but it's better to ignore this case than the first one.
- if ( CKEDITOR.env.gecko )
- data = data.replace( /^
$/, ' ' );
-
- // This line satisfy edge case when for Opera we have two line breaks
- //data = data.replace( /)
-
- if ( data.indexOf( '
' ) > -1 ) {
- // Two line breaks create one paragraph, three - 2, four - 3, etc.
- data = '
G
- var nested = 0;
- data = data.replace( /<\/?p>/g, function( match ) {
- if ( match == '
' ) {
- if ( ++nested > 1 )
- return '
';
- } else {
- if ( --nested > 0 )
- return '
';
- }
-
- return match;
- } ).replace( /
<\/p>/g, '' ); // Step before:
->
. Fix this here.
-
- return switchEnterMode( config, data );
- }
-
- function switchEnterMode( config, data ) {
- if ( config.enterMode == CKEDITOR.ENTER_BR ) {
- data = data.replace( /(<\/p>
)+/g, function( match ) {
- return CKEDITOR.tools.repeat( ' ', match.length / 7 * 2 );
- } ).replace( /<\/?p>/g, '' );
- } else if ( config.enterMode == CKEDITOR.ENTER_DIV ) {
- data = data.replace( /<(\/)?p>/g, '<$1div>' );
- }
-
- return data;
- }
-} )();
-
-/**
- * The default content type is used when pasted data cannot be clearly recognized as HTML or text.
- *
- * For example: `'foo'` may come from a plain text editor or a website. It isn't possible to recognize content
- * type in this case, so default will be used. However, it's clear that `'example text'` is an HTML
- * and its origin is webpage, email or other rich text editor.
- *
- * **Note:** If content type is text, then styles of context of paste are preserved.
- *
- * CKEDITOR.config.clipboard_defaultContentType = 'text';
- *
- * @since 4.0
- * @cfg {'html'/'text'} [clipboard_defaultContentType='html']
- * @member CKEDITOR.config
- */
-
-/**
- * Fired when a clipboard operation is about to be taken into the editor.
- * Listeners can manipulate the data to be pasted before having it effectively
- * inserted into the document.
- *
- * @since 3.1
- * @event paste
- * @member CKEDITOR.editor
- * @param {CKEDITOR.editor} editor This editor instance.
- * @param data
- * @param {String} data.type Type of data in `data.dataValue`. Usually `html` or `text`, but for listeners
- * with priority less than 6 it may be also `auto`, what means that content type hasn't been recognised yet
- * (this will be done by content type sniffer that listens with priority 6).
- * @param {String} data.dataValue HTML to be pasted.
- */
-
-/**
- * Fired before the {@link #paste} event. Allows to preset data type.
- *
- * **Note:** This event is deprecated. Add a `0` priority listener for the
- * {@link #paste} event instead.
- *
- * @deprecated
- * @event beforePaste
- * @member CKEDITOR.editor
- */
-
-/**
- * Internal event to open the Paste dialog.
- *
- * @private
- * @event pasteDialog
- * @member CKEDITOR.editor
- * @param {CKEDITOR.editor} editor This editor instance.
- * @param {Function} [data] Callback that will be passed to {@link CKEDITOR.editor#openDialog}.
- */
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/dialogDefinition.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/dialogDefinition.js
deleted file mode 100644
index ba6ed739e5..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/dialogDefinition.js
+++ /dev/null
@@ -1,1007 +0,0 @@
-// jscs:disable disallowMixedSpacesAndTabs
-/**
- * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or http://ckeditor.com/license
- */
-
-/**
- * @fileOverview Defines the "virtual" dialog, dialog content and dialog button
- * definition classes.
- */
-
-/**
- * The definition of a dialog window.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create dialogs.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * CKEDITOR.dialog.add( 'testOnly', function( editor ) {
- * return {
- * title: 'Test Dialog',
- * resizable: CKEDITOR.DIALOG_RESIZE_BOTH,
- * minWidth: 500,
- * minHeight: 400,
- * contents: [
- * {
- * id: 'tab1',
- * label: 'First Tab',
- * title: 'First Tab Title',
- * accessKey: 'Q',
- * elements: [
- * {
- * type: 'text',
- * label: 'Test Text 1',
- * id: 'testText1',
- * 'default': 'hello world!'
- * }
- * ]
- * }
- * ]
- * };
- * } );
- *
- * @class CKEDITOR.dialog.definition
- */
-
-/**
- * The dialog title, displayed in the dialog's header. Required.
- *
- * @property {String} title
- */
-
-/**
- * How the dialog can be resized, must be one of the four contents defined below.
- *
- * * {@link CKEDITOR#DIALOG_RESIZE_NONE}
- * * {@link CKEDITOR#DIALOG_RESIZE_WIDTH}
- * * {@link CKEDITOR#DIALOG_RESIZE_HEIGHT}
- * * {@link CKEDITOR#DIALOG_RESIZE_BOTH}
- *
- * @property {Number} [resizable=CKEDITOR.DIALOG_RESIZE_NONE]
- */
-
-/**
- * The minimum width of the dialog, in pixels.
- *
- * @property {Number} [minWidth=600]
- */
-
-/**
- * The minimum height of the dialog, in pixels.
- *
- * @property {Number} [minHeight=400]
- */
-
-
-/**
- * The initial width of the dialog, in pixels.
- *
- * @since 3.5.3
- * @property {Number} [width=CKEDITOR.dialog.definition#minWidth]
- */
-
-/**
- * The initial height of the dialog, in pixels.
- *
- * @since 3.5.3
- * @property {Number} [height=CKEDITOR.dialog.definition.minHeight]
- */
-
-/**
- * The buttons in the dialog, defined as an array of
- * {@link CKEDITOR.dialog.definition.button} objects.
- *
- * @property {Array} [buttons=[ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]]
- */
-
-/**
- * The contents in the dialog, defined as an array of
- * {@link CKEDITOR.dialog.definition.content} objects. Required.
- *
- * @property {Array} contents
- */
-
-/**
- * The function to execute when OK is pressed.
- *
- * @property {Function} onOk
- */
-
-/**
- * The function to execute when Cancel is pressed.
- *
- * @property {Function} onCancel
- */
-
-/**
- * The function to execute when the dialog is displayed for the first time.
- *
- * @property {Function} onLoad
- */
-
-/**
- * The function to execute when the dialog is loaded (executed every time the dialog is opened).
- *
- * @property {Function} onShow
- */
-
-/**
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create dialog content pages.
- *
- * @class CKEDITOR.dialog.definition.content.
- */
-
-/**
- * The id of the content page.
- *
- * @property {String} id
- */
-
-/**
- * The tab label of the content page.
- *
- * @property {String} label
- */
-
-/**
- * The popup message of the tab label.
- *
- * @property {String} title
- */
-
-/**
- * The CTRL hotkey for switching to the tab.
- *
- * contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed.
- *
- * @property {String} accessKey
- */
-
-/**
- * The UI elements contained in this content page, defined as an array of
- * {@link CKEDITOR.dialog.definition.uiElement} objects.
- *
- * @property {Array} elements
- */
-
-/**
- * The definition of user interface element (textarea, radio etc).
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create dialog UI elements.
- *
- * @class CKEDITOR.dialog.definition.uiElement
- * @see CKEDITOR.ui.dialog.uiElement
- */
-
-/**
- * The id of the UI element.
- *
- * @property {String} id
- */
-
-/**
- * The type of the UI element. Required.
- *
- * @property {String} type
- */
-
-/**
- * The popup label of the UI element.
- *
- * @property {String} title
- */
-
-/**
- * The content that needs to be allowed to enable this UI element.
- * All formats accepted by {@link CKEDITOR.filter#check} may be used.
- *
- * When all UI elements in a tab are disabled, this tab will be disabled automatically.
- *
- * @property {String/Object/CKEDITOR.style} requiredContent
- */
-
-/**
- * CSS class names to append to the UI element.
- *
- * @property {String} className
- */
-
-/**
- * Inline CSS classes to append to the UI element.
- *
- * @property {String} style
- */
-
-/**
- * Horizontal alignment (in container) of the UI element.
- *
- * @property {String} align
- */
-
-/**
- * Function to execute the first time the UI element is displayed.
- *
- * @property {Function} onLoad
- */
-
-/**
- * Function to execute whenever the UI element's parent dialog is displayed.
- *
- * @property {Function} onShow
- */
-
-/**
- * Function to execute whenever the UI element's parent dialog is closed.
- *
- * @property {Function} onHide
- */
-
-/**
- * Function to execute whenever the UI element's parent
- * dialog's {@link CKEDITOR.dialog#setupContent} method is executed.
- * It usually takes care of the respective UI element as a standalone element.
- *
- * @property {Function} setup
- */
-
-/**
- * Function to execute whenever the UI element's parent
- * dialog's {@link CKEDITOR.dialog#commitContent} method is executed.
- * It usually takes care of the respective UI element as a standalone element.
- *
- * @property {Function} commit
- */
-
-// ----- hbox -----------------------------------------------------------------
-
-/**
- * Horizontal layout box for dialog UI elements, auto-expends to available width of container.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create horizontal layouts.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'hbox',
- * widths: [ '25%', '25%', '50%' ],
- * children: [
- * {
- * type: 'text',
- * id: 'id1',
- * width: '40px',
- * },
- * {
- * type: 'text',
- * id: 'id2',
- * width: '40px',
- * },
- * {
- * type: 'text',
- * id: 'id3'
- * }
- * ]
- * }
- *
- * @class CKEDITOR.dialog.definition.hbox
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
- *
- * @property {Array} children
- */
-
-/**
- * (Optional) The widths of child cells.
- *
- * @property {Array} widths
- */
-
-/**
- * (Optional) The height of the layout.
- *
- * @property {Number} height
- */
-
-/**
- * The CSS styles to apply to this element.
- *
- * @property {String} styles
- */
-
-/**
- * (Optional) The padding width inside child cells. Example: 0, 1.
- *
- * @property {Number} padding
- */
-
-/**
- * (Optional) The alignment of the whole layout. Example: center, top.
- *
- * @property {String} align
- */
-
-// ----- vbox -----------------------------------------------------------------
-
-/**
- * Vertical layout box for dialog UI elements.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create vertical layouts.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can
- * be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'vbox',
- * align: 'right',
- * width: '200px',
- * children: [
- * {
- * type: 'text',
- * id: 'age',
- * label: 'Age'
- * },
- * {
- * type: 'text',
- * id: 'sex',
- * label: 'Sex'
- * },
- * {
- * type: 'text',
- * id: 'nationality',
- * label: 'Nationality'
- * }
- * ]
- * }
- *
- * @class CKEDITOR.dialog.definition.vbox
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
- *
- * @property {Array} children
- */
-
-/**
- * (Optional) The width of the layout.
- *
- * @property {Array} width
- */
-
-/**
- * (Optional) The heights of individual cells.
- *
- * @property {Number} heights
- */
-
-/**
- * The CSS styles to apply to this element.
- *
- * @property {String} styles
- */
-
-/**
- * (Optional) The padding width inside child cells. Example: 0, 1.
- *
- * @property {Number} padding
- */
-
-/**
- * (Optional) The alignment of the whole layout. Example: center, top.
- *
- * @property {String} align
- */
-
-/**
- * (Optional) Whether the layout should expand vertically to fill its container.
- *
- * @property {Boolean} expand
- */
-
-// ----- labeled element ------------------------------------------------------
-
-/**
- * The definition of labeled user interface element (textarea, textInput etc).
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create dialog UI elements.
- *
- * @class CKEDITOR.dialog.definition.labeledElement
- * @extends CKEDITOR.dialog.definition.uiElement
- * @see CKEDITOR.ui.dialog.labeledElement
- */
-
-/**
- * The label of the UI element.
- *
- * {
- * type: 'text',
- * label: 'My Label'
- * }
- *
- * @property {String} label
- */
-
-/**
- * (Optional) Specify the layout of the label. Set to `'horizontal'` for horizontal layout.
- * The default layout is vertical.
- *
- * {
- * type: 'text',
- * label: 'My Label',
- * labelLayout: 'horizontal'
- * }
- *
- * @property {String} labelLayout
- */
-
-/**
- * (Optional) Applies only to horizontal layouts: a two elements array of lengths to specify the widths of the
- * label and the content element. See also {@link CKEDITOR.dialog.definition.labeledElement#labelLayout}.
- *
- * {
- * type: 'text',
- * label: 'My Label',
- * labelLayout: 'horizontal',
- * widths: [100, 200]
- * }
- *
- * @property {Array} widths
- */
-
-/**
- * Specify the inline style of the uiElement label.
- *
- * {
- * type: 'text',
- * label: 'My Label',
- * labelStyle: 'color: red'
- * }
- *
- * @property {String} labelStyle
- */
-
-
-/**
- * Specify the inline style of the input element.
- *
- * {
- * type: 'text',
- * label: 'My Label',
- * inputStyle: 'text-align: center'
- * }
- *
- * @since 3.6.1
- * @property {String} inputStyle
- */
-
-/**
- * Specify the inline style of the input element container.
- *
- * {
- * type: 'text',
- * label: 'My Label',
- * controlStyle: 'width: 3em'
- * }
- *
- * @since 3.6.1
- * @property {String} controlStyle
- */
-
-// ----- button ---------------------------------------------------------------
-
-/**
- * The definition of a button.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create buttons.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'button',
- * id: 'buttonId',
- * label: 'Click me',
- * title: 'My title',
- * onClick: function() {
- * // this = CKEDITOR.ui.dialog.button
- * alert( 'Clicked: ' + this.id );
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.button
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * Whether the button is disabled.
- *
- * @property {Boolean} disabled
- */
-
-/**
- * The label of the UI element.
- *
- * @property {String} label
- */
-
-// ----- checkbox ------
-/**
- * The definition of a checkbox element.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create groups of checkbox buttons.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'checkbox',
- * id: 'agree',
- * label: 'I agree',
- * 'default': 'checked',
- * onClick: function() {
- * // this = CKEDITOR.ui.dialog.checkbox
- * alert( 'Checked: ' + this.getValue() );
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.checkbox
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * The label of the UI element.
- *
- * @property {String} label
- */
-
-/**
- * The default state.
- *
- * @property {String} [default='' (unchecked)]
- */
-
-// ----- file -----------------------------------------------------------------
-
-/**
- * The definition of a file upload input.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create file upload elements.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'file',
- * id: 'upload',
- * label: 'Select file from your computer',
- * size: 38
- * },
- * {
- * type: 'fileButton',
- * id: 'fileId',
- * label: 'Upload file',
- * 'for': [ 'tab1', 'upload' ],
- * filebrowser: {
- * onSelect: function( fileUrl, data ) {
- * alert( 'Successfully uploaded: ' + fileUrl );
- * }
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.file
- * @extends CKEDITOR.dialog.definition.labeledElement
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * (Optional) The action attribute of the form element associated with this file upload input.
- * If empty, CKEditor will use path to server connector for currently opened folder.
- *
- * @property {String} action
- */
-
-/**
- * The size of the UI element.
- *
- * @property {Number} size
- */
-
-// ----- fileButton -----------------------------------------------------------
-
-/**
- * The definition of a button for submitting the file in a file upload input.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create a button for submitting the file in a file upload input.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * @class CKEDITOR.dialog.definition.fileButton
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * The label of the UI element.
- *
- * @property {String} label
- */
-
-/**
- * The instruction for CKEditor how to deal with file upload.
- * By default, the file and fileButton elements will not work "as expected" if this attribute is not set.
- *
- * // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded.
- * filebrowser: 'tab1:txtUrl'
- *
- * // Call custom onSelect function when file is successfully uploaded.
- * filebrowser: {
- * onSelect: function( fileUrl, data ) {
- * alert( 'Successfully uploaded: ' + fileUrl );
- * }
- * }
- *
- * @property {String} filebrowser/Object
- */
-
-/**
- * An array that contains pageId and elementId of the file upload input element for which this button is created.
- *
- * [ pageId, elementId ]
- *
- * @property {String} for
- */
-
-// ----- html -----------------------------------------------------------------
-
-/**
- * The definition of a raw HTML element.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create elements made from raw HTML code.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- * To access HTML elements use {@link CKEDITOR.dom.document#getById}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example 1:
- * {
- * type: 'html',
- * html: '
This is some sample HTML content.
'
- * }
- *
- * // Example 2:
- * // Complete sample with document.getById() call when the "Ok" button is clicked.
- * var dialogDefinition = {
- * title: 'Sample dialog',
- * minWidth: 300,
- * minHeight: 200,
- * onOk: function() {
- * // "this" is now a CKEDITOR.dialog object.
- * var document = this.getElement().getDocument();
- * // document = CKEDITOR.dom.document
- * var element = document.getById( 'myDiv' );
- * if ( element )
- * alert( element.getHtml() );
- * },
- * contents: [
- * {
- * id: 'tab1',
- * label: '',
- * title: '',
- * elements: [
- * {
- * type: 'html',
- * html: '
Sample text.
Another div.
'
- * }
- * ]
- * }
- * ],
- * buttons: [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ]
- * };
- *
- * @class CKEDITOR.dialog.definition.html
- * @extends CKEDITOR.dialog.definition.uiElement
- */
-
-/**
- * (Required) HTML code of this element.
- *
- * @property {String} html
- */
-
-// ----- radio ----------------------------------------------------------------
-
-/**
- * The definition of a radio group.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create groups of radio buttons.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'radio',
- * id: 'country',
- * label: 'Which country is bigger',
- * items: [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ],
- * style: 'color: green',
- * 'default': 'DE',
- * onClick: function() {
- * // this = CKEDITOR.ui.dialog.radio
- * alert( 'Current value: ' + this.getValue() );
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.radio
- * @extends CKEDITOR.dialog.definition.labeledElement
- */
-
-/**
- * The default value.
- *
- * @property {String} default
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`.
- * If `'Value'` is missing, then the value would be assumed to be the same as the description.
- *
- * @property {Array} items
- */
-
-// ----- selectElement --------------------------------------------------------
-
-/**
- * The definition of a select element.
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create select elements.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * // Example:
- * {
- * type: 'select',
- * id: 'sport',
- * label: 'Select your favourite sport',
- * items: [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ],
- * 'default': 'Football',
- * onChange: function( api ) {
- * // this = CKEDITOR.ui.dialog.select
- * alert( 'Current value: ' + this.getValue() );
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.select
- * @extends CKEDITOR.dialog.definition.labeledElement
- */
-
-/**
- * The default value.
- *
- * @property {String} default
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * An array of options. Each option is a 1- or 2-item array of format `[ 'Description', 'Value' ]`.
- * If `'Value'` is missing, then the value would be assumed to be the same as the description.
- *
- * @property {Array} items
- */
-
-/**
- * (Optional) Set this to true if you'd like to have a multiple-choice select box.
- *
- * @property {Boolean} [multiple=false]
- */
-
-/**
- * (Optional) The number of items to display in the select box.
- *
- * @property {Number} size
- */
-
-// ----- textInput ------------------------------------------------------------
-
-/**
- * The definition of a text field (single line).
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create text fields.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
- * // There is no constructor for this class, the user just has to define an
- * // object with the appropriate properties.
- *
- * {
- * type: 'text',
- * id: 'name',
- * label: 'Your name',
- * 'default': '',
- * validate: function() {
- * if ( !this.getValue() ) {
- * api.openMsgDialog( '', 'Name cannot be empty.' );
- * return false;
- * }
- * }
- * }
- *
- * @class CKEDITOR.dialog.definition.textInput
- * @extends CKEDITOR.dialog.definition.labeledElement
- */
-
-/**
- * The default value.
- *
- * @property {String} default
- */
-
-/**
- * (Optional) The maximum length.
- *
- * @property {Number} maxLength
- */
-
-/**
- * (Optional) The size of the input field.
- *
- * @property {Number} size
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-// ----- textarea -------------------------------------------------------------
-
-/**
- * The definition of a text field (multiple lines).
- *
- * This class is not really part of the API. It just illustrates the properties
- * that developers can use to define and create textarea.
- *
- * Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object
- * and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
- *
- * For a complete example of dialog definition, please check {@link CKEDITOR.dialog#add}.
- *
-* // There is no constructor for this class, the user just has to define an
-* // object with the appropriate properties.
-*
-* // Example:
-* {
-* type: 'textarea',
-* id: 'message',
-* label: 'Your comment',
-* 'default': '',
-* validate: function() {
-* if ( this.getValue().length < 5 ) {
-* api.openMsgDialog( 'The comment is too short.' );
-* return false;
-* }
-* }
-* }
- *
- * @class CKEDITOR.dialog.definition.textarea
- * @extends CKEDITOR.dialog.definition.labeledElement
- */
-
-/**
- * The number of rows.
- *
- * @property {Number} rows
- */
-
-/**
- * The number of columns.
- *
- * @property {Number} cols
- */
-
-/**
- * (Optional) The validation function.
- *
- * @property {Function} validate
- */
-
-/**
- * The default value.
- *
- * @property {String} default
- */
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/plugin.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/plugin.js
deleted file mode 100644
index 98b10593ff..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialog/plugin.js
+++ /dev/null
@@ -1,3303 +0,0 @@
-/**
- * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or http://ckeditor.com/license
- */
-
-/**
- * @fileOverview The floating dialog plugin.
- */
-
-/**
- * No resize for this dialog.
- *
- * @readonly
- * @property {Number} [=0]
- * @member CKEDITOR
- */
-CKEDITOR.DIALOG_RESIZE_NONE = 0;
-
-/**
- * Only allow horizontal resizing for this dialog, disable vertical resizing.
- *
- * @readonly
- * @property {Number} [=1]
- * @member CKEDITOR
- */
-CKEDITOR.DIALOG_RESIZE_WIDTH = 1;
-
-/**
- * Only allow vertical resizing for this dialog, disable horizontal resizing.
- *
- * @readonly
- * @property {Number} [=2]
- * @member CKEDITOR
- */
-CKEDITOR.DIALOG_RESIZE_HEIGHT = 2;
-
-/**
- * Allow the dialog to be resized in both directions.
- *
- * @readonly
- * @property {Number} [=3]
- * @member CKEDITOR
- */
-CKEDITOR.DIALOG_RESIZE_BOTH = 3;
-
-( function() {
- var cssLength = CKEDITOR.tools.cssLength;
-
- function isTabVisible( tabId ) {
- return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight;
- }
-
- function getPreviousVisibleTab() {
- var tabId = this._.currentTabId,
- length = this._.tabIdList.length,
- tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length;
-
- for ( var i = tabIndex - 1; i > tabIndex - length; i-- ) {
- if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
- return this._.tabIdList[ i % length ];
- }
-
- return null;
- }
-
- function getNextVisibleTab() {
- var tabId = this._.currentTabId,
- length = this._.tabIdList.length,
- tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId );
-
- for ( var i = tabIndex + 1; i < tabIndex + length; i++ ) {
- if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
- return this._.tabIdList[ i % length ];
- }
-
- return null;
- }
-
-
- function clearOrRecoverTextInputValue( container, isRecover ) {
- var inputs = container.$.getElementsByTagName( 'input' );
- for ( var i = 0, length = inputs.length; i < length; i++ ) {
- var item = new CKEDITOR.dom.element( inputs[ i ] );
-
- if ( item.getAttribute( 'type' ).toLowerCase() == 'text' ) {
- if ( isRecover ) {
- item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' );
- item.removeCustomData( 'fake_value' );
- } else {
- item.setCustomData( 'fake_value', item.getAttribute( 'value' ) );
- item.setAttribute( 'value', '' );
- }
- }
- }
- }
-
- // Handle dialog element validation state UI changes.
- function handleFieldValidated( isValid, msg ) {
- var input = this.getInputElement();
- if ( input )
- isValid ? input.removeAttribute( 'aria-invalid' ) : input.setAttribute( 'aria-invalid', true );
-
- if ( !isValid ) {
- if ( this.select )
- this.select();
- else
- this.focus();
- }
-
- msg && alert( msg ); // jshint ignore:line
-
- this.fire( 'validated', { valid: isValid, msg: msg } );
- }
-
- function resetField() {
- var input = this.getInputElement();
- input && input.removeAttribute( 'aria-invalid' );
- }
-
- var templateSource = '
- This sample shows how to use the
- CKEditor Dialog API
- to customize CKEditor dialog windows without changing the original editor code.
- The following customizations are being done in the example below:
-
-
- For details on how to create this setup check the source code of this sample page.
-
-
-
A custom dialog is added to the editors using the pluginsLoaded event, from an external dialog definition file:
-
-
Creating a custom dialog window – "My Dialog" dialog window opened with the "My Dialog" toolbar button.
-
Creating a custom button – Add button to open the dialog with "My Dialog" toolbar button.
-
-
-
-
The below editor modify the dialog definition of the above added dialog using the dialogDefinition event:
-
-
Adding dialog tab – Add new tab "My Tab" to dialog window.
-
Removing a dialog window tab – Remove "Second Tab" page from the dialog window.
-
Adding dialog window fields – Add "My Custom Field" to the dialog window.
-
Removing dialog window field – Remove "Select Field" selection field from the dialog window.
-
Setting default values for dialog window fields – Set default value of "Text Field" text field.
-
Setup initial focus for dialog window – Put initial focus on "My Custom Field" text field.
-
-
-
-
-
-
diff --git a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialogui/plugin.js b/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialogui/plugin.js
deleted file mode 100644
index e6aea145ee..0000000000
--- a/eperusteet/eperusteet-app/yo/app/ckeditor-plugins/dialogui/plugin.js
+++ /dev/null
@@ -1,1444 +0,0 @@
-/**
- * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or http://ckeditor.com/license
- */
-
-/**
- * @fileOverview The Dialog User Interface plugin.
- */
-
-CKEDITOR.plugins.add( 'dialogui', {
- onLoad: function() {
-
- var initPrivateObject = function( elementDefinition ) {
- this._ || ( this._ = {} );
- this._[ 'default' ] = this._.initValue = elementDefinition[ 'default' ] || '';
- this._.required = elementDefinition.required || false;
- var args = [ this._ ];
- for ( var i = 1; i < arguments.length; i++ )
- args.push( arguments[ i ] );
- args.push( true );
- CKEDITOR.tools.extend.apply( CKEDITOR.tools, args );
- return this._;
- },
- textBuilder = {
- build: function( dialog, elementDefinition, output ) {
- return new CKEDITOR.ui.dialog.textInput( dialog, elementDefinition, output );
- }
- },
- commonBuilder = {
- build: function( dialog, elementDefinition, output ) {
- return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, elementDefinition, output );
- }
- },
- containerBuilder = {
- build: function( dialog, elementDefinition, output ) {
- var children = elementDefinition.children,
- child,
- childHtmlList = [],
- childObjList = [];
- for ( var i = 0;
- ( i < children.length && ( child = children[ i ] ) ); i++ ) {
- var childHtml = [];
- childHtmlList.push( childHtml );
- childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
- }
- return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition );
- }
- },
- commonPrototype = {
- isChanged: function() {
- return this.getValue() != this.getInitValue();
- },
-
- reset: function( noChangeEvent ) {
- this.setValue( this.getInitValue(), noChangeEvent );
- },
-
- setInitValue: function() {
- this._.initValue = this.getValue();
- },
-
- resetInitValue: function() {
- this._.initValue = this._[ 'default' ];
- },
-
- getInitValue: function() {
- return this._.initValue;
- }
- },
- commonEventProcessors = CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors, {
- onChange: function( dialog, func ) {
- if ( !this._.domOnChangeRegistered ) {
- dialog.on( 'load', function() {
- this.getInputElement().on( 'change', function() {
- // Make sure 'onchange' doesn't get fired after dialog closed. (#5719)
- if ( !dialog.parts.dialog.isVisible() )
- return;
-
- this.fire( 'change', { value: this.getValue() } );
- }, this );
- }, this );
- this._.domOnChangeRegistered = true;
- }
-
- this.on( 'change', func );
- }
- }, true ),
- eventRegex = /^on([A-Z]\w+)/,
- cleanInnerDefinition = function( def ) {
- // An inner UI element should not have the parent's type, title or events.
- for ( var i in def ) {
- if ( eventRegex.test( i ) || i == 'title' || i == 'type' )
- delete def[ i ];
- }
- return def;
- };
-
- CKEDITOR.tools.extend( CKEDITOR.ui.dialog, {
- /**
- * Base class for all dialog window elements with a textual label on the left.
- *
- * @class CKEDITOR.ui.dialog.labeledElement
- * @extends CKEDITOR.ui.dialog.uiElement
- * @constructor Creates a labeledElement class instance.
- * @param {CKEDITOR.dialog} dialog Parent dialog window object.
- * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition
- * The element definition. Accepted fields:
- *
- * * `label` (Required) The label string.
- * * `labelLayout` (Optional) Put 'horizontal' here if the
- * label element is to be laid out horizontally. Otherwise a vertical
- * layout will be used.
- * * `widths` (Optional) This applies only to horizontal
- * layouts — a two-element array of lengths to specify the widths of the
- * label and the content element.
- * * `role` (Optional) Value for the `role` attribute.
- * * `includeLabel` (Optional) If set to `true`, the `aria-labelledby` attribute
- * will be included.
- *
- * @param {Array} htmlList The list of HTML code to output to.
- * @param {Function} contentHtml
- * A function returning the HTML code string to be added inside the content
- * cell.
- */
- labeledElement: function( dialog, elementDefinition, htmlList, contentHtml ) {
- if ( arguments.length < 4 )
- return;
-
- var _ = initPrivateObject.call( this, elementDefinition );
- _.labelId = CKEDITOR.tools.getNextId() + '_label';
- this._.children = [];
-
- var innerHTML = function() {
- var html = [],
- requiredClass = elementDefinition.required ? ' cke_required' : '';
- if ( elementDefinition.labelLayout != 'horizontal' ) {
- html.push(
- '',
- '