summaryrefslogtreecommitdiff
path: root/plugins/clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/clipboard')
-rw-r--r--plugins/clipboard/dev/clipboard.html210
-rw-r--r--plugins/clipboard/icons/copy-rtl.pngbin683 -> 0 bytes
-rw-r--r--plugins/clipboard/icons/copy.pngbin683 -> 0 bytes
-rw-r--r--plugins/clipboard/icons/cut-rtl.pngbin1034 -> 0 bytes
-rw-r--r--plugins/clipboard/icons/cut.pngbin1034 -> 0 bytes
-rw-r--r--plugins/clipboard/icons/paste-rtl.pngbin735 -> 0 bytes
-rw-r--r--plugins/clipboard/icons/paste.pngbin735 -> 0 bytes
-rw-r--r--plugins/clipboard/lang/af.js15
-rw-r--r--plugins/clipboard/lang/ar.js15
-rw-r--r--plugins/clipboard/lang/bg.js15
-rw-r--r--plugins/clipboard/lang/bn.js15
-rw-r--r--plugins/clipboard/lang/bs.js15
-rw-r--r--plugins/clipboard/lang/ca.js15
-rw-r--r--plugins/clipboard/lang/cs.js15
-rw-r--r--plugins/clipboard/lang/cy.js15
-rw-r--r--plugins/clipboard/lang/da.js15
-rw-r--r--plugins/clipboard/lang/de.js15
-rw-r--r--plugins/clipboard/lang/el.js15
-rw-r--r--plugins/clipboard/lang/en-au.js15
-rw-r--r--plugins/clipboard/lang/en-ca.js15
-rw-r--r--plugins/clipboard/lang/en-gb.js15
-rw-r--r--plugins/clipboard/lang/en.js15
-rw-r--r--plugins/clipboard/lang/eo.js15
-rw-r--r--plugins/clipboard/lang/es.js15
-rw-r--r--plugins/clipboard/lang/et.js15
-rw-r--r--plugins/clipboard/lang/eu.js15
-rw-r--r--plugins/clipboard/lang/fa.js15
-rw-r--r--plugins/clipboard/lang/fi.js15
-rw-r--r--plugins/clipboard/lang/fo.js15
-rw-r--r--plugins/clipboard/lang/fr-ca.js15
-rw-r--r--plugins/clipboard/lang/fr.js15
-rw-r--r--plugins/clipboard/lang/gl.js15
-rw-r--r--plugins/clipboard/lang/gu.js15
-rw-r--r--plugins/clipboard/lang/he.js15
-rw-r--r--plugins/clipboard/lang/hi.js15
-rw-r--r--plugins/clipboard/lang/hr.js15
-rw-r--r--plugins/clipboard/lang/hu.js15
-rw-r--r--plugins/clipboard/lang/is.js15
-rw-r--r--plugins/clipboard/lang/it.js15
-rw-r--r--plugins/clipboard/lang/ja.js15
-rw-r--r--plugins/clipboard/lang/ka.js15
-rw-r--r--plugins/clipboard/lang/km.js15
-rw-r--r--plugins/clipboard/lang/ko.js15
-rw-r--r--plugins/clipboard/lang/ku.js15
-rw-r--r--plugins/clipboard/lang/lt.js15
-rw-r--r--plugins/clipboard/lang/lv.js15
-rw-r--r--plugins/clipboard/lang/mk.js15
-rw-r--r--plugins/clipboard/lang/mn.js15
-rw-r--r--plugins/clipboard/lang/ms.js15
-rw-r--r--plugins/clipboard/lang/nb.js15
-rw-r--r--plugins/clipboard/lang/nl.js15
-rw-r--r--plugins/clipboard/lang/no.js15
-rw-r--r--plugins/clipboard/lang/pl.js15
-rw-r--r--plugins/clipboard/lang/pt-br.js15
-rw-r--r--plugins/clipboard/lang/pt.js15
-rw-r--r--plugins/clipboard/lang/ro.js15
-rw-r--r--plugins/clipboard/lang/ru.js15
-rw-r--r--plugins/clipboard/lang/si.js15
-rw-r--r--plugins/clipboard/lang/sk.js15
-rw-r--r--plugins/clipboard/lang/sl.js15
-rw-r--r--plugins/clipboard/lang/sq.js15
-rw-r--r--plugins/clipboard/lang/sr-latn.js15
-rw-r--r--plugins/clipboard/lang/sr.js15
-rw-r--r--plugins/clipboard/lang/sv.js15
-rw-r--r--plugins/clipboard/lang/th.js15
-rw-r--r--plugins/clipboard/lang/tr.js15
-rw-r--r--plugins/clipboard/lang/ug.js15
-rw-r--r--plugins/clipboard/lang/uk.js15
-rw-r--r--plugins/clipboard/lang/vi.js15
-rw-r--r--plugins/clipboard/lang/zh-cn.js15
-rw-r--r--plugins/clipboard/lang/zh.js15
-rw-r--r--plugins/clipboard/plugin.js1215
72 files changed, 0 insertions, 2385 deletions
diff --git a/plugins/clipboard/dev/clipboard.html b/plugins/clipboard/dev/clipboard.html
deleted file mode 100644
index 8f9f050..0000000
--- a/plugins/clipboard/dev/clipboard.html
+++ /dev/null
@@ -1,210 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
--->
-<html>
-<head>
- <meta charset="utf-8">
- <title>Clipboard playground &ndash; CKEditor Sample</title>
- <script src="../../../ckeditor.js"></script>
- <link href="../../../samples/sample.css" rel="stylesheet">
- <style>
-body {
- margin: 0;
-}
-
-#editables, #console
-{
- width: 48%;
-}
-#editable {
- padding: 5px 10px;
-}
-
-#console {
- position: fixed;
- top: 10px;
- right: 30px;
- height: 500px;
- border: solid 3px #555;
- overflow: auto;
-}
-#console > p {
- border-bottom: solid 1px #555;
- margin: 0;
- padding: 0 5px;
- background: rgba(0, 0, 0, 0.25);
- -webkit-transition: background-color 1s;
- -moz-transition: background-color 1s;
- -o-transition: background-color 1s;
- -ms-transition: background-color 1s;
- transition: background-color 1s;
-}
-#console > p.old {
- background: rgba(0, 0, 0, 0);
-}
-#console time, #console .prompt {
- padding: 0 5px;
- display: inline-block;
-}
-#console time {
- background: #999;
- background: rgba(0, 0, 0, 0.5 );
- color: #FFF;
- margin-left: -5px;
-}
-#console .prompt {
- background: #DDD;
- background: rgba(0, 0, 0, 0.1 );
- min-width: 200px;
-}
-.someClass {
- color: blue;
-}
-.specChar {
- color: #777;
- background-color: #EEE;
- background-color: rgba(0, 0, 0, 0.1);
- font-size: 0.8em;
- border-radius: 2px;
- padding: 1px;
-}
- </style>
-</head>
-<body>
- <h1 class="samples">
- CKEditor Sample &mdash; clipboard plugin playground
- </h1>
- <div id="editables">
- <p>
- <label for="editor1">
- Editor 1:</label>
- <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
- </p>
- <p>
- <label for="editor2">
- Editor 2:</label>
- <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is more &lt;strong class="MsoNormal"&gt;sample text&lt;/strong&gt;.&lt;/p&gt;</textarea>
- </p>
- <p>
- <label for="editor3">
- Editor 3:</label>
- <textarea cols="80" id="editor3" name="editor3" rows="10">&lt;p&gt;This editor &lt;strong&gt;forces pasting in text mode&lt;/strong&gt; by listening for "beforePaste" event.&lt;/p&gt;</textarea>
- </p>
- <p>
- <label for="editor4">
- Editor 4:</label>
- <textarea cols="80" id="editor4" name="editor4" rows="10">&lt;p&gt;This editor &lt;strong&gt;forces pasting in text mode&lt;/strong&gt; by "forcePasteAsPlainText" config option.&lt;/p&gt;</textarea>
- </p>
- <p>
- <label for="editor5">
- Editor 5:</label>
- <textarea cols="80" id="editor5" name="editor5" rows="10">Editor with autoParagraphing set to off.</textarea>
- </p>
- <div id="editor6" contenteditable="true" style="font-family: Georgia; font-size: 14px">
- <h1>Editor 6</h1>
- <p>Content content content.</p>
- <p class="someClass">Styled by <code>.someClass</code>.</p>
- </div>
- </div>
- <div id="console">
- </div>
- <script>
-( function()
-{
- 'use strict';
-
- var log = window.__log = function( title, msg )
- {
- var msgEl = new CKEDITOR.dom.element( 'p' ),
- consoleEl = CKEDITOR.document.getById( 'console' ),
- time = new Date().toString().match( /\d\d:\d\d:\d\d/ )[ 0 ],
- format = function( tpl )
- {
- return tpl.replace( /{time}/g, time ).replace( '{title}', title ).replace( '{msg}', msg || '' );
- };
-
- window.console && console.log && console.log( format( '[{time}] {title}: {msg}' ) );
-
- msg = ( msg || '' ).replace( /\r/g, '{\\r}' ).replace( /\n/g, '{\\n}' ).replace( /\t/g, '{\\t}' );
- msg = CKEDITOR.tools.htmlEncode( msg );
- msg = msg.replace( /\{(\\\w)\}/g, '<code class="specChar">$1</code>' );
-
- msgEl.setHtml( format( '<time datetime="{time}">{time}</time><span class="prompt">{title}</span> {msg}' ) );
- consoleEl.append( msgEl );
- consoleEl.$.scrollTop = consoleEl.$.scrollHeight;
- setTimeout( function () { msgEl.addClass( 'old' ); }, 250 );
- };
-
- var observe = function( editor, num )
- {
- var p = 'EDITOR ' + num + ' > ';
-
- editor.on( 'paste', function( event )
- {
- log( p + 'paste(prior:-1)', event.data.type + ' - "' + event.data.dataValue + '"' );
- }, null, null, -1 );
- editor.on( 'paste', function( event )
- {
- log( p + 'paste(prior:10)', event.data.type + ' - "' + event.data.dataValue + '"' );
- });
- editor.on( 'paste', function( event )
- {
- log( p + 'paste(prior:999)', event.data.type + ' - "' + event.data.dataValue + '"' );
- }, null, null, 999 );
- editor.on( 'beforePaste', function( event )
- {
- log( p + 'beforePaste', event.data.type );
- });
- editor.on( 'beforePaste', function( event )
- {
- log( p + 'beforePaste(prior:999)', event.data.type );
- }, null, null, 999 );
- editor.on( 'afterPaste', function( event )
- {
- log( p + 'afterPaste' );
- });
- editor.on( 'copy', function( event )
- {
- log( p + 'copy' );
- });
- editor.on( 'cut', function( event )
- {
- log( p + 'cut' );
- });
- };
-
- CKEDITOR.disableAutoInline = true;
- var config =
- {
- height : 120,
- toolbar : 'Custom',
- toolbar_Custom :
- [
- { name: 'custom', items : [ 'Source','Bold','Italic','Underline','-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }
- ]
- },
- editor1 = CKEDITOR.replace( 'editor1', config ),
- editor2 = CKEDITOR.replace( 'editor2', config ),
- editor3 = CKEDITOR.replace( 'editor3', config ),
- editor4 = CKEDITOR.replace( 'editor4', CKEDITOR.tools.extend( { forcePasteAsPlainText : true }, config ) ),
- editor5 = CKEDITOR.replace( 'editor5', CKEDITOR.tools.extend( { autoParagraph : false }, config ) ),
- editor6 = CKEDITOR.inline( document.getElementById( 'editor6' ), config );
-
- editor3.on( 'beforePaste', function( evt )
- {
- evt.data.type = 'text';
- });
-
- observe( editor1, 1 );
- observe( editor2, 2 );
- observe( editor3, 3 );
- observe( editor4, 4 );
- observe( editor5, 5 );
- observe( editor6, 6 );
-
-})();
- </script>
-</body>
-</html>
diff --git a/plugins/clipboard/icons/copy-rtl.png b/plugins/clipboard/icons/copy-rtl.png
deleted file mode 100644
index 8bbc023..0000000
--- a/plugins/clipboard/icons/copy-rtl.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/icons/copy.png b/plugins/clipboard/icons/copy.png
deleted file mode 100644
index 8bbc023..0000000
--- a/plugins/clipboard/icons/copy.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/icons/cut-rtl.png b/plugins/clipboard/icons/cut-rtl.png
deleted file mode 100644
index 4016d7e..0000000
--- a/plugins/clipboard/icons/cut-rtl.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/icons/cut.png b/plugins/clipboard/icons/cut.png
deleted file mode 100644
index 4016d7e..0000000
--- a/plugins/clipboard/icons/cut.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/icons/paste-rtl.png b/plugins/clipboard/icons/paste-rtl.png
deleted file mode 100644
index 4c74bee..0000000
--- a/plugins/clipboard/icons/paste-rtl.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/icons/paste.png b/plugins/clipboard/icons/paste.png
deleted file mode 100644
index 4c74bee..0000000
--- a/plugins/clipboard/icons/paste.png
+++ /dev/null
Binary files differ
diff --git a/plugins/clipboard/lang/af.js b/plugins/clipboard/lang/af.js
deleted file mode 100644
index 628c627..0000000
--- a/plugins/clipboard/lang/af.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) en druk <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/ar.js b/plugins/clipboard/lang/ar.js
deleted file mode 100644
index 918a0df..0000000
--- a/plugins/clipboard/lang/ar.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ar', {
- copy: 'نسخ',
- copyError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+C).',
- cut: 'قص',
- cutError: 'الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl/Cmd+X).',
- paste: 'لصق',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'الصق داخل الصندوق بإستخدام زرائر (<STRONG>Ctrl/Cmd+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر <STRONG>موافق</STRONG>.',
- securityMsg: 'نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذلك يجب عليك لصق المحتوى مرة أخرى في هذه النافذة.',
- title: 'لصق'
-});
diff --git a/plugins/clipboard/lang/bg.js b/plugins/clipboard/lang/bg.js
deleted file mode 100644
index 67914cc..0000000
--- a/plugins/clipboard/lang/bg.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'bg', {
- copy: 'Копирай',
- copyError: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl/Cmd+C).',
- cut: 'Отрежи',
- cutError: 'Настройките за сигурност на Вашия браузър не позволяват на редактора автоматично да изъплни действията за отрязване. Моля ползвайте клавиатурните команди за целта (ctrl+x).',
- paste: 'Вмъкни',
- pasteArea: 'Зона за вмъкване',
- pasteMsg: 'Вмъкнете тук съдъжанието с клавиатуарата (<STRONG>Ctrl/Cmd+V</STRONG>) и натиснете <STRONG>OK</STRONG>.',
- securityMsg: 'Заради настройките за сигурност на Вашия браузър, редакторът не може да прочете данните от клипборда коректно.',
- title: 'Вмъкни'
-});
diff --git a/plugins/clipboard/lang/bn.js b/plugins/clipboard/lang/bn.js
deleted file mode 100644
index f5f1daf..0000000
--- a/plugins/clipboard/lang/bn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: 'অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (<STRONG>Ctrl/Cmd+V</STRONG>) পেস্ট করুন এবং <STRONG>OK</STRONG> চাপ দিন',
- 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/plugins/clipboard/lang/bs.js b/plugins/clipboard/lang/bs.js
deleted file mode 100644
index f06217d..0000000
--- a/plugins/clipboard/lang/bs.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/ca.js b/plugins/clipboard/lang/ca.js
deleted file mode 100644
index 11c38ff..0000000
--- a/plugins/clipboard/lang/ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/cs.js b/plugins/clipboard/lang/cs.js
deleted file mode 100644
index 52dce96..0000000
--- a/plugins/clipboard/lang/cs.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) a stiskněte <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/cy.js b/plugins/clipboard/lang/cy.js
deleted file mode 100644
index 8ba7ad5..0000000
--- a/plugins/clipboard/lang/cy.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'cy', {
- copy: 'Copïo',
- copyError: 'Nid yw gosodiadau diogelwch eich porwr 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 (<strong>Ctrl/Cmd+V</strong>) a phwyso <strong>Iawn</strong>.',
- securityMsg: 'Oherwydd gosodiadau diogelwch eich porwr, nid yw\'r porwr 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/plugins/clipboard/lang/da.js b/plugins/clipboard/lang/da.js
deleted file mode 100644
index baec4f4..0000000
--- a/plugins/clipboard/lang/da.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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.<br><br>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.<br><br>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 (<STRONG>Ctrl/Cmd+V</STRONG>) og klik på <STRONG>OK</STRONG>.',
- securityMsg: 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Du skal indsætte udklipsholderens indhold i dette vindue igen.',
- title: 'Indsæt'
-});
diff --git a/plugins/clipboard/lang/de.js b/plugins/clipboard/lang/de.js
deleted file mode 100644
index 9cd1964..0000000
--- a/plugins/clipboard/lang/de.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 <STRONG>Strg+V</STRONG>) ein und bestätigen Sie mit <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/el.js b/plugins/clipboard/lang/el.js
deleted file mode 100644
index e44a4be..0000000
--- a/plugins/clipboard/lang/el.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'el', {
- copy: 'Αντιγραφή',
- copyError: 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+C).',
- cut: 'Αποκοπή',
- cutError: 'Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl/Cmd+X).',
- paste: 'Επικόλληση',
- pasteArea: 'Περιοχή Επικόλλησης',
- pasteMsg: 'Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (<strong>Ctrl/Cmd+V</strong>) και πατήστε OK.',
- securityMsg: 'Λόγων των ρυθμίσεων ασφάλειας του περιηγητή σας, ο επεξεργαστής δεν μπορεί να έχει πρόσβαση στην μνήμη επικόλλησης. Χρειάζεται να επικολλήσετε ξανά σε αυτό το παράθυρο.',
- title: 'Επικόλληση'
-});
diff --git a/plugins/clipboard/lang/en-au.js b/plugins/clipboard/lang/en-au.js
deleted file mode 100644
index 5f6a7c4..0000000
--- a/plugins/clipboard/lang/en-au.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/en-ca.js b/plugins/clipboard/lang/en-ca.js
deleted file mode 100644
index 8462c92..0000000
--- a/plugins/clipboard/lang/en-ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/en-gb.js b/plugins/clipboard/lang/en-gb.js
deleted file mode 100644
index 98b19d1..0000000
--- a/plugins/clipboard/lang/en-gb.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/en.js b/plugins/clipboard/lang/en.js
deleted file mode 100644
index bab47f6..0000000
--- a/plugins/clipboard/lang/en.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/eo.js b/plugins/clipboard/lang/eo.js
deleted file mode 100644
index bf5b057..0000000
--- a/plugins/clipboard/lang/eo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/es.js b/plugins/clipboard/lang/es.js
deleted file mode 100644
index bd590e1..0000000
--- a/plugins/clipboard/lang/es.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>);\r\nluego presione <STRONG>Aceptar</STRONG>.',
- 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/plugins/clipboard/lang/et.js b/plugins/clipboard/lang/et.js
deleted file mode 100644
index 14eb0a6..0000000
--- a/plugins/clipboard/lang/et.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/eu.js b/plugins/clipboard/lang/eu.js
deleted file mode 100644
index 5b79d8d..0000000
--- a/plugins/clipboard/lang/eu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) ondorego eremuan testua itsatsi eta <STRONG>OK</STRONG> sakatu.',
- securityMsg: 'Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.',
- title: 'Itsatsi'
-});
diff --git a/plugins/clipboard/lang/fa.js b/plugins/clipboard/lang/fa.js
deleted file mode 100644
index 1bbb7db..0000000
--- a/plugins/clipboard/lang/fa.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'fa', {
- copy: 'رونوشت',
- copyError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).',
- cut: 'برش',
- cutError: 'تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).',
- paste: 'چسباندن',
- pasteArea: 'محل چسباندن',
- pasteMsg: 'لطفا متن را با کلیدهای (<STRONG>Ctrl/Cmd+V</STRONG>) در این جعبهٴ متنی بچسبانید و <STRONG>پذیرش</STRONG> را بزنید.',
- securityMsg: 'به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمیتواند دسترسی مستقیم به دادههای clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.',
- title: 'چسباندن'
-});
diff --git a/plugins/clipboard/lang/fi.js b/plugins/clipboard/lang/fi.js
deleted file mode 100644
index 80ebfe1..0000000
--- a/plugins/clipboard/lang/fi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/fo.js b/plugins/clipboard/lang/fo.js
deleted file mode 100644
index 5b60231..0000000
--- a/plugins/clipboard/lang/fo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) og klikk á <strong>Góðtak</strong>.',
- 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/plugins/clipboard/lang/fr-ca.js b/plugins/clipboard/lang/fr-ca.js
deleted file mode 100644
index ada814e..0000000
--- a/plugins/clipboard/lang/fr-ca.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) et appuyer sur <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/fr.js b/plugins/clipboard/lang/fr.js
deleted file mode 100644
index c233bee..0000000
--- a/plugins/clipboard/lang/fr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/gl.js b/plugins/clipboard/lang/gl.js
deleted file mode 100644
index 823c0ef..0000000
--- a/plugins/clipboard/lang/gl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) 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/plugins/clipboard/lang/gu.js b/plugins/clipboard/lang/gu.js
deleted file mode 100644
index faeeca3..0000000
--- a/plugins/clipboard/lang/gu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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/plugins/clipboard/lang/he.js b/plugins/clipboard/lang/he.js
deleted file mode 100644
index 0ece283..0000000
--- a/plugins/clipboard/lang/he.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'he', {
- copy: 'העתקה',
- copyError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+C).',
- cut: 'גזירה',
- cutError: 'הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl/Cmd+X).',
- paste: 'הדבקה',
- pasteArea: 'איזור הדבקה',
- pasteMsg: 'נא להדביק בתוך הקופסה באמצעות (<b>Ctrl/Cmd+V</b>) וללחוץ על <b>אישור</b>.',
- securityMsg: 'עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (Clipboard) בצורה ישירה. נא להדביק שוב בחלון זה.',
- title: 'הדבקה'
-});
diff --git a/plugins/clipboard/lang/hi.js b/plugins/clipboard/lang/hi.js
deleted file mode 100644
index 6ac2d2b..0000000
--- a/plugins/clipboard/lang/hi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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/plugins/clipboard/lang/hr.js b/plugins/clipboard/lang/hr.js
deleted file mode 100644
index c01abad..0000000
--- a/plugins/clipboard/lang/hr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) i kliknite <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/hu.js b/plugins/clipboard/lang/hu.js
deleted file mode 100644
index 7d8350f..0000000
--- a/plugins/clipboard/lang/hu.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 <STRONG>Ctrl/Cmd+V</STRONG> billentyűk lenyomásával, majd nyomjon <STRONG>Rendben</STRONG>-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/plugins/clipboard/lang/is.js b/plugins/clipboard/lang/is.js
deleted file mode 100644
index e5c7483..0000000
--- a/plugins/clipboard/lang/is.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/it.js b/plugins/clipboard/lang/it.js
deleted file mode 100644
index d63ca5e..0000000
--- a/plugins/clipboard/lang/it.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) e premi <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/ja.js b/plugins/clipboard/lang/ja.js
deleted file mode 100644
index 3fc1a49..0000000
--- a/plugins/clipboard/lang/ja.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ja', {
- copy: 'コピー',
- copyError: 'ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。',
- cut: '切り取り',
- cutError: 'ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+X)を使用してください。',
- paste: '貼り付け',
- pasteArea: '貼り付け場所',
- pasteMsg: 'キーボード(<STRONG>Ctrl/Cmd+V</STRONG>)を使用して、次の入力エリア内で貼って、<STRONG>OK</STRONG>を押してください。',
- securityMsg: 'ブラウザのセキュリティ設定により、エディタはクリップボード・データに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。',
- title: '貼り付け'
-});
diff --git a/plugins/clipboard/lang/ka.js b/plugins/clipboard/lang/ka.js
deleted file mode 100644
index d9cbd11..0000000
--- a/plugins/clipboard/lang/ka.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ka', {
- copy: 'ასლი',
- copyError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ასლის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+C).',
- cut: 'ამოჭრა',
- cutError: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა ამოჭრის ოპერაციის ავტომატურად განხორციელების საშუალებას. გამოიყენეთ კლავიატურა ამისთვის (Ctrl/Cmd+X).',
- paste: 'ჩასმა',
- pasteArea: 'ჩასმის არე',
- pasteMsg: 'ჩასვით ამ არის შიგნით კლავიატურის გამოყენებით (<strong>Ctrl/Cmd+V</strong>) და დააჭირეთ OK-ს',
- securityMsg: 'თქვენი ბროუზერის უსაფრთხოების პარამეტრები არ იძლევა clipboard-ის მონაცემების წვდომის უფლებას. კიდევ უნდა ჩასვათ ტექსტი ამ ფანჯარაში.',
- title: 'ჩასმა'
-});
diff --git a/plugins/clipboard/lang/km.js b/plugins/clipboard/lang/km.js
deleted file mode 100644
index b0a682d..0000000
--- a/plugins/clipboard/lang/km.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'km', {
- copy: 'ចំលងយក',
- copyError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+C)។',
- cut: 'កាត់យក',
- cutError: 'ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl/Cmd+X) ។',
- paste: 'ចំលងដាក់',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(<STRONG>Ctrl/Cmd+V</STRONG>) ហើយចុច <STRONG>OK</STRONG> ។',
- 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/plugins/clipboard/lang/ko.js b/plugins/clipboard/lang/ko.js
deleted file mode 100644
index ad4651f..0000000
--- a/plugins/clipboard/lang/ko.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ko', {
- copy: '복사하기',
- copyError: '브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+C).',
- cut: '잘라내기',
- cutError: '브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl/Cmd+X).',
- paste: '붙여넣기',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: '키보드의 (<STRONG>Ctrl/Cmd+V</STRONG>) 를 이용해서 상자안에 붙여넣고 <STRONG>OK</STRONG> 를 누르세요.',
- securityMsg: '브러우저 보안 설정으로 인해, 클립보드의 자료를 직접 접근할 수 없습니다. 이 창에 다시 붙여넣기 하십시오.',
- title: '붙여넣기'
-});
diff --git a/plugins/clipboard/lang/ku.js b/plugins/clipboard/lang/ku.js
deleted file mode 100644
index 11a80ce..0000000
--- a/plugins/clipboard/lang/ku.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ku', {
- copy: 'لەبەرگرتنەوە',
- copyError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بەسەرنووسەکە لە لکاندنی دەقی خۆکارارنە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+C).',
- cut: 'بڕین',
- cutError: 'پارێزی وێبگەڕەکەت ڕێگەنادات بە سەرنووسەکە لەبڕینی خۆکارانە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+X).',
- paste: 'لکاندن',
- pasteArea: 'ناوچەی لکاندن',
- pasteMsg: 'تکایە بیلکێنە لەناوەوەی ئەم سنوقە لەڕێی تەختەکلیلەکەت بە بەکارهێنانی کلیلی (<STRONG>Ctrl/Cmd+V</STRONG>) دووای کلیکی باشە بکە.',
- securityMsg: 'بەهۆی شێوەپێدانی پارێزی وێبگەڕەکەت، سەرنووسەکه ناتوانێت دەستبگەیەنێت بەهەڵگیراوەکە ڕاستەوخۆ. بۆیه پێویسته دووباره بیلکێنیت لەم پەنجەرەیه.',
- title: 'لکاندن'
-});
diff --git a/plugins/clipboard/lang/lt.js b/plugins/clipboard/lang/lt.js
deleted file mode 100644
index 59ea0ea..0000000
--- a/plugins/clipboard/lang/lt.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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ą (<STRONG>Ctrl/Cmd+V</STRONG>) ir paspauskite mygtuką <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/lv.js b/plugins/clipboard/lang/lv.js
deleted file mode 100644
index 9e33464..0000000
--- a/plugins/clipboard/lang/lv.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) un apstipriniet ar <STRONG>Darīts!</STRONG>.',
- 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/plugins/clipboard/lang/mk.js b/plugins/clipboard/lang/mk.js
deleted file mode 100644
index 768ec33..0000000
--- a/plugins/clipboard/lang/mk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/mn.js b/plugins/clipboard/lang/mn.js
deleted file mode 100644
index 4f9ad64..0000000
--- a/plugins/clipboard/lang/mn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: '(<strong>Ctrl/Cmd+V</strong>) товчийг ашиглан paste хийнэ үү. Мөн <strong>OK</strong> дар.',
- securityMsg: 'Таны үзүүлэгч/browser/-н хамгаалалтын тохиргооноос болоод editor clipboard өгөгдөлрүү шууд хандах боломжгүй. Энэ цонход дахин paste хийхийг оролд.',
- title: 'Буулгах'
-});
diff --git a/plugins/clipboard/lang/ms.js b/plugins/clipboard/lang/ms.js
deleted file mode 100644
index c870679..0000000
--- a/plugins/clipboard/lang/ms.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/nb.js b/plugins/clipboard/lang/nb.js
deleted file mode 100644
index 2174dd3..0000000
--- a/plugins/clipboard/lang/nb.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'nb', {
- 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 (<STRONG>Ctrl/Cmd+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/nl.js b/plugins/clipboard/lang/nl.js
deleted file mode 100644
index 4a93656..0000000
--- a/plugins/clipboard/lang/nl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/no.js b/plugins/clipboard/lang/no.js
deleted file mode 100644
index c9930a8..0000000
--- a/plugins/clipboard/lang/no.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/pl.js b/plugins/clipboard/lang/pl.js
deleted file mode 100644
index 254eb5a..0000000
--- a/plugins/clipboard/lang/pl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>), i kliknij <STRONG>OK</STRONG>.',
- securityMsg: 'Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę ponownie wkleić dane w tym oknie.',
- title: 'Wklej'
-});
diff --git a/plugins/clipboard/lang/pt-br.js b/plugins/clipboard/lang/pt-br.js
deleted file mode 100644
index 61df2eb..0000000
--- a/plugins/clipboard/lang/pt-br.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) e <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/pt.js b/plugins/clipboard/lang/pt.js
deleted file mode 100644
index f1ced81..0000000
--- a/plugins/clipboard/lang/pt.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: 'Paste Area', // MISSING
- pasteMsg: 'Por favor, cole dentro da seguinte caixa usando o teclado (<STRONG>Ctrl/Cmd+V</STRONG>) e prima <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/ro.js b/plugins/clipboard/lang/ro.js
deleted file mode 100644
index 27da9b4..0000000
--- a/plugins/clipboard/lang/ro.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) ş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/plugins/clipboard/lang/ru.js b/plugins/clipboard/lang/ru.js
deleted file mode 100644
index 4e4cf4e..0000000
--- a/plugins/clipboard/lang/ru.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ru', {
- copy: 'Копировать',
- copyError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по копированию текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+C).',
- cut: 'Вырезать',
- cutError: 'Настройки безопасности вашего браузера не разрешают редактору выполнять операции по вырезке текста. Пожалуйста, используйте для этого клавиатуру (Ctrl/Cmd+X).',
- paste: 'Вставить',
- pasteArea: 'Зона для вставки',
- pasteMsg: 'Пожалуйста, вставьте текст в зону ниже, используя клавиатуру (<strong>Ctrl/Cmd+V</strong>) и нажмите кнопку "OK".',
- securityMsg: 'Настройки безопасности вашего браузера не разрешают редактору напрямую обращаться к буферу обмена. Вы должны вставить текст снова в это окно.',
- title: 'Вставить'
-});
diff --git a/plugins/clipboard/lang/si.js b/plugins/clipboard/lang/si.js
deleted file mode 100644
index 46eff47..0000000
--- a/plugins/clipboard/lang/si.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/sk.js b/plugins/clipboard/lang/sk.js
deleted file mode 100644
index fb0fb61..0000000
--- a/plugins/clipboard/lang/sk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) 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/plugins/clipboard/lang/sl.js b/plugins/clipboard/lang/sl.js
deleted file mode 100644
index 8146b51..0000000
--- a/plugins/clipboard/lang/sl.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: 'Paste Area', // MISSING
- pasteMsg: 'Prosim prilepite v sleči okvir s pomočjo tipkovnice (<STRONG>Ctrl/Cmd+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.',
- 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/plugins/clipboard/lang/sq.js b/plugins/clipboard/lang/sq.js
deleted file mode 100644
index 08c3f58..0000000
--- a/plugins/clipboard/lang/sq.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<strong>Ctrl/Cmd+V</strong>) 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/plugins/clipboard/lang/sr-latn.js b/plugins/clipboard/lang/sr-latn.js
deleted file mode 100644
index 72dab32..0000000
--- a/plugins/clipboard/lang/sr-latn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: 'Paste Area', // MISSING
- pasteMsg: 'Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (<STRONG>Ctrl/Cmd+V</STRONG>) i da pritisnete <STRONG>OK</STRONG>.',
- 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: 'Zalepi'
-});
diff --git a/plugins/clipboard/lang/sr.js b/plugins/clipboard/lang/sr.js
deleted file mode 100644
index f705dce..0000000
--- a/plugins/clipboard/lang/sr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sr', {
- copy: 'Копирај',
- copyError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).',
- cut: 'Исеци',
- cutError: 'Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).',
- paste: 'Залепи',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: 'Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (<STRONG>Ctrl/Cmd+V</STRONG>) и да притиснете <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/sv.js b/plugins/clipboard/lang/sv.js
deleted file mode 100644
index fac834d..0000000
--- a/plugins/clipboard/lang/sv.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'sv', {
- copy: 'Kopiera',
- copyError: 'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl/Cmd+C) istället',
- cut: 'Klipp ut',
- cutError: 'Säkerhetsinställningar i Er weblä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 (<STRONG>Ctrl/Cmd+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.',
- 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/plugins/clipboard/lang/th.js b/plugins/clipboard/lang/th.js
deleted file mode 100644
index 4455b26..0000000
--- a/plugins/clipboard/lang/th.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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: 'กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (<strong>Ctrl/Cmd และ V</strong>)พร้อมๆกัน และกด <strong>OK</strong>.',
- 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/plugins/clipboard/lang/tr.js b/plugins/clipboard/lang/tr.js
deleted file mode 100644
index dfb27d2..0000000
--- a/plugins/clipboard/lang/tr.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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. (<STRONG>Ctrl/Cmd+V</STRONG>) ve <STRONG>Tamam</STRONG> 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/plugins/clipboard/lang/ug.js b/plugins/clipboard/lang/ug.js
deleted file mode 100644
index 43c6b56..0000000
--- a/plugins/clipboard/lang/ug.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'ug', {
- copy: 'نەشر ھوقۇقىغا ئىگە بەلگىسى',
- copyError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كۆچۈر مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+C) ئارقىلىق تاماملاڭ',
- cut: 'كەس',
- cutError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كەس مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+X) ئارقىلىق تاماملاڭ',
- paste: 'چاپلا',
- pasteArea: 'چاپلاش دائىرىسى',
- pasteMsg: 'ھەرپتاختا تېز كۇنۇپكا (<STRONG>Ctrl/Cmd+V</STRONG>) نى ئىشلىتىپ مەزمۇننى تۆۋەندىكى رامكىغا كۆچۈرۈڭ، ئاندىن <STRONG>جەزملە</STRONG>نى بېسىڭ',
- securityMsg: 'توركۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى سەۋەبىدىن بۇ تەھرىرلىگۈچ چاپلاش تاختىسىدىكى مەزمۇننى بىۋاستە زىيارەت قىلالمايدۇ، بۇ كۆزنەكتە قايتا بىر قېتىم چاپلىشىڭىز كېرەك.',
- title: 'چاپلا'
-});
diff --git a/plugins/clipboard/lang/uk.js b/plugins/clipboard/lang/uk.js
deleted file mode 100644
index b1521cd..0000000
--- a/plugins/clipboard/lang/uk.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'uk', {
- copy: 'Копіювати',
- copyError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).',
- cut: 'Вирізати',
- cutError: 'Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)',
- paste: 'Вставити',
- pasteArea: 'Область вставки',
- pasteMsg: 'Будь ласка, вставте інформацію з буфера обміну в цю область, користуючись комбінацією клавіш (<STRONG>Ctrl/Cmd+V</STRONG>), та натисніть <STRONG>OK</STRONG>.',
- securityMsg: 'Редактор не може отримати прямий доступ до буферу обміну у зв\'язку з налаштуваннями Вашого браузера. Вам потрібно вставити інформацію в це вікно.',
- title: 'Вставити'
-});
diff --git a/plugins/clipboard/lang/vi.js b/plugins/clipboard/lang/vi.js
deleted file mode 100644
index b42b58b..0000000
--- a/plugins/clipboard/lang/vi.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html 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 (<STRONG>Ctrl/Cmd+V</STRONG>) và nhấn vào nút <STRONG>Đồng ý</STRONG>.',
- 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/plugins/clipboard/lang/zh-cn.js b/plugins/clipboard/lang/zh-cn.js
deleted file mode 100644
index 00920cf..0000000
--- a/plugins/clipboard/lang/zh-cn.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'zh-cn', {
- copy: '复制',
- copyError: '您的浏览器安全设置不允许编辑器自动执行复制操作, 请使用键盘快捷键(Ctrl/Cmd+C)来完成',
- cut: '剪切',
- cutError: '您的浏览器安全设置不允许编辑器自动执行剪切操作, 请使用键盘快捷键(Ctrl/Cmd+X)来完成',
- paste: '粘贴',
- pasteArea: '粘贴区域',
- pasteMsg: '请使用键盘快捷键(<STRONG>Ctrl/Cmd+V</STRONG>)把内容粘贴到下面的方框里,再按 <STRONG>确定</STRONG>',
- securityMsg: '因为您的浏览器的安全设置原因, 本编辑器不能直接访问您的剪贴板内容, 你需要在本窗口重新粘贴一次。',
- title: '粘贴'
-});
diff --git a/plugins/clipboard/lang/zh.js b/plugins/clipboard/lang/zh.js
deleted file mode 100644
index 96cda9a..0000000
--- a/plugins/clipboard/lang/zh.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-*/
-CKEDITOR.plugins.setLang( 'clipboard', 'zh', {
- copy: '複製',
- copyError: '瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl/Cmd+C) 複製。',
- cut: '剪下',
- cutError: '瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl/Cmd+X) 剪下。',
- paste: '貼上',
- pasteArea: 'Paste Area', // MISSING
- pasteMsg: '請使用快捷鍵 (<strong>Ctrl/Cmd+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>',
- securityMsg: '因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。',
- title: '貼上'
-});
diff --git a/plugins/clipboard/plugin.js b/plugins/clipboard/plugin.js
deleted file mode 100644
index 4c29832..0000000
--- a/plugins/clipboard/plugin.js
+++ /dev/null
@@ -1,1215 +0,0 @@
-/**
- * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.html 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',
- lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
- icons: 'copy,copy-rtl,cut,cut-rtl,paste,paste-rtl', // %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 &nbsp; with simple space, because webkit
- // produces them even for normal spaces.
- data = data.replace( /<span class="Apple-converted-space">&nbsp;<\/span>/gi, ' ' );
-
- // Strip <span> 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 class="Apple-tab-span"[^>]*>([^<]*)<\/span>/gi, function( all, spaces ) {
- // Replace tabs with 4 spaces like Fx does.
- return spaces.replace( /\t/g, '&nbsp;&nbsp; &nbsp;' );
- });
-
- // This br is produced only when copying & pasting HTML content.
- if ( data.indexOf( '<br class="Apple-interchange-newline">' ) > -1 ) {
- evt.data.startsWithEOL = 1;
- evt.data.preSniffing = 'html'; // Mark as not text.
- data = data.replace( /<br class="Apple-interchange-newline">/, '' );
- }
-
- // 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 <br> (added on FF).
- if ( editable_wrapper )
- data = editable_wrapper.getHtml().replace( /<br>$/i, '' );
- }
-
- if ( CKEDITOR.env.ie ) {
- // &nbsp; <p> -> <p> (br.cke-pasted-remove will be removed later)
- data = data.replace( /^&nbsp;(?: |\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 ) {
- // </p><div><br></div> -> </p><br>
- // We don't mark br, because this situation can happen for htmlified text too.
- data = data.replace( /<\/(\w+)><div><br><\/div>$/, function( match, elementName ) {
- if ( elementName in blockElements ) {
- evt.data.endsWithEOL = 1;
- return '</' + elementName + '>';
- }
- return match;
- });
- } else if ( CKEDITOR.env.gecko ) {
- // Firefox adds bogus <br> when user pasted text followed by space(s).
- data = data.replace( /(\s)<br>$/, '$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 = '<br data-cke-eol="1">' + data;
- if ( dataObj.endsWithEOL )
- data += '<br data-cke-eol="1">';
-
- 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 ) {
- if ( evt.data && !evt.data.$.ctrlKey )
- 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( data ) {
- // 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 );
-
- // IE6/7: 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 ) )
- 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();
- },
- ff3x = CKEDITOR.env.gecko && CKEDITOR.env.version <= 10902;
-
- // 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();
-
- // 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 <br>
- // what is indistinguishable from pasted <br> (copying <br> in Opera isn't possible,
- // but it can be copied from other browser).
- var pastebin = new CKEDITOR.dom.element(
- editable.is( 'body' ) && !( CKEDITOR.env.ie || CKEDITOR.env.opera ) ? 'body' : 'div', doc );
-
- pastebin.setAttribute( 'id', 'cke_pastebin' );
-
- // Append bogus to prevent Opera from doing this. (#9522)
- if ( CKEDITOR.env.opera )
- pastebin.appendBogus();
-
- var containerOffset = 0,
- win = doc.getWindow();
-
- // Seems to be the only way to avoid page scroll in Fx 3.x.
- if ( ff3x ) {
- pastebin.insertAfter( bms[ 0 ].startNode );
- pastebin.setStyle( 'display', 'inline' );
- } else {
- 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.
- containerOffset = ( editable.is( 'body' ) ? editable : CKEDITOR.dom.element.get( pastebin.$.offsetParent ) ).getDocumentPosition().y;
- } else {
- // Opera and IE doesn't allow to append to html element.
- editable.getAscendant( CKEDITOR.env.ie || CKEDITOR.env.opera ? '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
- });
- }
-
- // 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 );
-
- // 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 ) {
- var blurListener = editable.once( 'blur', function( evt ) {
- 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.env.opera )
- CKEDITOR.document[ CKEDITOR.env.webkit ? 'getBody' : 'getDocumentElement' ]().$.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' );
-
- // Simulate 'paste' event for Opera/Firefox2.
- if ( CKEDITOR.env.opera || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
- editable.fire( 'paste' );
- 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
- }, 0 );
- }
- }
-
- 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( /<span[^>]+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 ) {
- var retval;
-
- if ( inReadOnly && command in { Paste:1,Cut:1 } )
- return CKEDITOR.TRISTATE_DISABLED;
-
- if ( command == 'Paste' ) {
- // IE Bug: queryCommandEnabled('paste') fires also 'beforepaste(copy/cut)',
- // guard to distinguish from the ordinary sources (either
- // keyboard paste or execCommand) (#4874).
- CKEDITOR.env.ie && ( preventBeforePasteEvent = 1 );
- try {
- // Always return true for Webkit (which always returns false)
- retval = editor.document.$.queryCommandEnabled( command ) || CKEDITOR.env.webkit;
- } catch ( er ) {}
- preventBeforePasteEvent = 0;
- }
- // Cut, Copy - check if the selection is not empty
- else {
- var sel = editor.getSelection(),
- ranges = sel.getRanges();
- retval = sel.getType() != CKEDITOR.SELECTION_NONE && !( ranges.length == 1 && ranges[ 0 ].collapsed );
- }
-
- return retval ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
- }
- }
-
- // 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 ( <div><br></div> and text inside <div> ).
- if ( !data.match( /^[^<]*$/g ) && !data.match( /^(<div><br( ?\/)?><\/div>|<div>[^<]*<\/div>)*$/gi ) )
- return 'html';
- } else if ( CKEDITOR.env.ie ) {
- // Text and <br> or ( text and <br> in <p> - paragraphs can be separated by new \r\n ).
- if ( !data.match( /^([^<]|<br( ?\/)?>)*$/gi ) && !data.match( /^(<p>([^<]|<br( ?\/)?>)*<\/p>|(\r\n))*$/gi ) )
- return 'html';
- } else if ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) {
- // Text or <br>.
- if ( !data.match( /^([^<]|<br( ?\/)?>)*$/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 <br> at the beginning of last <p>.
- return CKEDITOR.tools.repeat( '</p><p>', ~~ ( repeats / 2 ) ) + ( repeats % 2 == 1 ? '<br>' : '' );
- }
-
- // Replace adjacent white-spaces (EOLs too - Fx sometimes keeps them) with one space.
- data = data.replace( /\s+/g, ' ' )
- // Remove spaces from between tags.
- .replace( /> +</g, '><' )
- // Normalize XHTML syntax and upper cased <br> tags.
- .replace( /<br ?\/>/gi, '<br>' );
-
- // IE - lower cased tags.
- data = data.replace( /<\/?[A-Z]+>/g, function( match ) {
- return match.toLowerCase();
- });
-
- // Don't touch single lines (no <br|p|div>) - nothing to do here.
- if ( data.match( /^[^<]$/ ) )
- return data;
-
- // Webkit.
- if ( CKEDITOR.env.webkit && data.indexOf( '<div>' ) > -1 ) {
- // One line break at the beginning - insert <br>
- data = data.replace( /^(<div>(<br>|)<\/div>)(?!$|(<div>(<br>|)<\/div>))/g, '<br>' )
- // Two or more - reduce number of new lines by one.
- .replace( /^(<div>(<br>|)<\/div>){2}(?!$)/g, '<div></div>' );
-
- // Two line breaks create one paragraph in Webkit.
- if ( data.match( /<div>(<br>|)<\/div>/ ) ) {
- data = '<p>' + data.replace( /(<div>(<br>|)<\/div>)+/g, function( match ) {
- return repeatParagraphs( match.split( '</div><div>' ).length + 1 );
- }) + '</p>';
- }
-
- // One line break create br.
- data = data.replace( /<\/div><div>/g, '<br>' );
-
- // Remove remaining divs.
- data = data.replace( /<\/?div>/g, '' );
- }
-
- // Opera and Firefox and enterMode != BR.
- if ( ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) && config.enterMode != CKEDITOR.ENTER_BR ) {
- // Remove bogus <br> - Fx generates two <brs> for one line break.
- // For two line breaks it still produces two <brs>, but it's better to ignore this case than the first one.
- if ( CKEDITOR.env.gecko )
- data = data.replace( /^<br><br>$/, '<br>' );
-
- // This line satisfy edge case when for Opera we have two line breaks
- //data = data.replace( /)
-
- if ( data.indexOf( '<br><br>' ) > -1 ) {
- // Two line breaks create one paragraph, three - 2, four - 3, etc.
- data = '<p>' + data.replace( /(<br>){2,}/g, function( match ) {
- return repeatParagraphs( match.length / 4 );
- }) + '</p>';
- }
- }
-
- return switchEnterMode( config, data );
- }
-
- // Filter can be editor dependent.
- function getTextificationFilter( editor ) {
- var filter = new CKEDITOR.htmlParser.filter();
-
- // Elements which creates vertical breaks (have vert margins) - took from HTML5 spec.
- // http://dev.w3.org/html5/markup/Overview.html#toc
- var replaceWithParaIf = { blockquote:1,dl:1,fieldset:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ol:1,p:1,table:1,ul:1 },
-
- // All names except of <br>.
- stripInlineIf = CKEDITOR.tools.extend({ br: 0 }, CKEDITOR.dtd.$inline ),
-
- // What's finally allowed (cke:br will be removed later).
- allowedIf = { p:1,br:1,'cke:br':1 },
-
- knownIf = CKEDITOR.dtd,
-
- // All names that will be removed (with content).
- removeIf = CKEDITOR.tools.extend( { area:1,basefont:1,embed:1,iframe:1,map:1,object:1,param:1 }, CKEDITOR.dtd.$nonBodyContent, CKEDITOR.dtd.$cdata );
-
- var flattenTableCell = function( element ) {
- delete element.name;
- element.add( new CKEDITOR.htmlParser.text( ' ' ) );
- },
- // Squash adjacent headers into one. <h1>A</h1><h2>B</h2> -> <h1>A<br>B</h1><h2></h2>
- // Empty ones will be removed later.
- squashHeader = function( element ) {
- var next = element,
- br, el;
-
- while ( ( next = next.next ) && next.name && next.name.match( /^h\d$/ ) ) {
- // TODO shitty code - waitin' for htmlParse.element fix.
- br = new CKEDITOR.htmlParser.element( 'cke:br' );
- br.isEmpty = true;
- element.add( br );
- while ( ( el = next.children.shift() ) )
- element.add( el );
- }
- };
-
- filter.addRules({
- elements: {
- h1: squashHeader,
- h2: squashHeader,
- h3: squashHeader,
- h4: squashHeader,
- h5: squashHeader,
- h6: squashHeader,
-
- img: function( element ) {
- var alt = CKEDITOR.tools.trim( element.attributes.alt || '' ),
- txt = ' ';
-
- // Replace image with its alt if it doesn't look like an url or is empty.
- if ( alt && !alt.match( /(^http|\.(jpe?g|gif|png))/i ) )
- txt = ' [' + alt + '] ';
-
- return new CKEDITOR.htmlParser.text( txt );
- },
-
- td: flattenTableCell,
- th: flattenTableCell,
-
- $: function( element ) {
- var initialName = element.name,
- br;
-
- // Remove entirely.
- if ( removeIf[ initialName ] )
- return false;
-
- // Remove all attributes.
- delete element.attributes;
-
- // Pass brs.
- if ( initialName == 'br' )
- return element;
-
- // Elements that we want to replace with paragraphs.
- if ( replaceWithParaIf[ initialName ] )
- element.name = 'p';
-
- // Elements that we want to strip (tags only, without the content).
- else if ( stripInlineIf[ initialName ] )
- delete element.name;
-
- // Surround other known element with <brs> and strip tags.
- else if ( knownIf[ initialName ] ) {
- // TODO shitty code - waitin' for htmlParse.element fix.
- br = new CKEDITOR.htmlParser.element( 'cke:br' );
- br.isEmpty = true;
-
- // Replace hrs (maybe sth else too?) with only one br.
- if ( CKEDITOR.dtd.$empty[ initialName ] )
- return br;
-
- element.add( br, 0 );
- br = br.clone();
- br.isEmpty = true;
- element.add( br );
- delete element.name;
- }
-
- // Final cleanup - if we can still find some not allowed elements then strip their names.
- if ( !allowedIf[ element.name ] )
- delete element.name;
-
- return element;
- }
- }
- });
-
- return filter;
- }
-
- function htmlTextification( config, data, filter ) {
- var fragment = new CKEDITOR.htmlParser.fragment.fromHtml( data ),
- writer = new CKEDITOR.htmlParser.basicWriter();
-
- fragment.writeHtml( writer, filter );
- data = writer.getHtml();
-
- // Cleanup cke:brs.
- data = data.replace( /\s*(<\/?[a-z:]+ ?\/?>)\s*/g, '$1' ) // Remove spaces around tags.
- .replace( /(<cke:br \/>){2,}/g, '<cke:br />' ) // Join multiple adjacent cke:brs
- .replace( /(<cke:br \/>)(<\/?p>|<br \/>)/g, '$2' ) // Strip cke:brs adjacent to original brs or ps.
- .replace( /(<\/?p>|<br \/>)(<cke:br \/>)/g, '$1' )
- .replace( /<(cke:)?br( \/)?>/g, '<br>' ) // Finally - rename cke:brs to brs and fix <br /> to <br>.
- .replace( /<p><\/p>/g, '' ); // Remove empty paragraphs.
-
- // Fix nested ps. E.g.:
- // <p>A<p>B<p>C</p>D<p>E</p>F</p>G
- // <p>A</p><p>B</p><p>C</p><p>D</p><p>E</p><p>F</p>G
- var nested = 0;
- data = data.replace( /<\/?p>/g, function( match ) {
- if ( match == '<p>' ) {
- if ( ++nested > 1 )
- return '</p><p>';
- } else {
- if ( --nested > 0 )
- return '</p><p>';
- }
-
- return match;
- }).replace( /<p><\/p>/g, '' ); // Step before: </p></p> -> </p><p></p><p>. Fix this here.
-
- return switchEnterMode( config, data );
- }
-
- function switchEnterMode( config, data ) {
- if ( config.enterMode == CKEDITOR.ENTER_BR ) {
- data = data.replace( /(<\/p><p>)+/g, function( match ) {
- return CKEDITOR.tools.repeat( '<br>', 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 `'<b>example</b> 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.
- */
-
-/**
- * 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}.
- */