Add JS files

This commit is contained in:
2025-05-12 15:45:17 +00:00
parent 7ddd15c4fa
commit 967007b0c7
3239 changed files with 1157078 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'af', {
button: 'Plak as eenvoudige teks',
title: 'Plak as eenvoudige teks'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ar', {
button: 'لصق كنص بسيط',
title: 'لصق كنص بسيط'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'bg', {
button: 'Вмъкни като чист текст',
title: 'Вмъкни като чист текст'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'bn', {
button: 'সাদা টেক্সট হিসেবে পেস্ট কর',
title: 'সাদা টেক্সট হিসেবে পেস্ট কর'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'bs', {
button: 'Zalijepi kao obièan tekst',
title: 'Zalijepi kao obièan tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ca', {
button: 'Enganxa com a text no formatat',
title: 'Enganxa com a text no formatat'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'cs', {
button: 'Vložit jako čistý text',
title: 'Vložit jako čistý text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'cy', {
button: 'Gludo fel testun plaen',
title: 'Gludo fel Testun Plaen'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'da', {
button: 'Indsæt som ikke-formateret tekst',
title: 'Indsæt som ikke-formateret tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'de', {
button: 'Als Text einfügen',
title: 'Als Text einfügen'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'el', {
button: 'Επικόλληση ως απλό κείμενο',
title: 'Επικόλληση ως απλό κείμενο'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'en-au', {
button: 'Paste as plain text',
title: 'Paste as Plain Text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'en-ca', {
button: 'Paste as plain text',
title: 'Paste as Plain Text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'en-gb', {
button: 'Paste as plain text',
title: 'Paste as Plain Text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'en', {
button: 'Paste as plain text',
title: 'Paste as Plain Text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'eo', {
button: 'Interglui kiel platan tekston',
title: 'Interglui kiel platan tekston'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'es', {
button: 'Pegar como Texto Plano',
title: 'Pegar como Texto Plano'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'et', {
button: 'Asetamine tavalise tekstina',
title: 'Asetamine tavalise tekstina'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'eu', {
button: 'Testu Arrunta bezala Itsatsi',
title: 'Testu Arrunta bezala Itsatsi'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'fa', {
button: 'چسباندن به عنوان متن ساده',
title: 'چسباندن به عنوان متن ساده'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'fi', {
button: 'Liitä tekstinä',
title: 'Liitä tekstinä'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'fo', {
button: 'Innrita som reinan tekst',
title: 'Innrita som reinan tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'fr-ca', {
button: 'Coller comme texte',
title: 'Coller comme texte'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'fr', {
button: 'Coller comme texte sans mise en forme',
title: 'Coller comme texte sans mise en forme'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'gl', {
button: 'Pegar como texto simple',
title: 'Pegar como texto simple'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'gu', {
button: 'પેસ્ટ (ટેક્સ્ટ)',
title: 'પેસ્ટ (ટેક્સ્ટ)'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'he', {
button: 'הדבקה כטקסט פשוט',
title: 'הדבקה כטקסט פשוט'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'hi', {
button: 'पेस्ट (सादा टॅक्स्ट)',
title: 'पेस्ट (सादा टॅक्स्ट)'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'hr', {
button: 'Zalijepi kao čisti tekst',
title: 'Zalijepi kao čisti tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'hu', {
button: 'Beillesztés formázatlan szövegként',
title: 'Beillesztés formázatlan szövegként'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'id', {
button: 'Tempel sebagai teks polos',
title: 'Tempel sebagai Teks Polos'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'is', {
button: 'Líma sem ósniðinn texta',
title: 'Líma sem ósniðinn texta'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'it', {
button: 'Incolla come testo semplice',
title: 'Incolla come testo semplice'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ja', {
button: 'プレーンテキストとして貼り付け',
title: 'プレーンテキストとして貼り付け'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ka', {
button: 'მხოლოდ ტექსტის ჩასმა',
title: 'მხოლოდ ტექსტის ჩასმა'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'km', {
button: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា',
title: 'បិទ​ភ្ជាប់​ជា​អត្ថបទ​ធម្មតា'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ko', {
button: '텍스트로 붙여넣기',
title: '텍스트로 붙여넣기'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ku', {
button: 'لکاندنی وەك دەقی ڕوون',
title: 'لکاندنی وەك دەقی ڕوون'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'lt', {
button: 'Įdėti kaip gryną tekstą',
title: 'Įdėti kaip gryną tekstą'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'lv', {
button: 'Ievietot kā vienkāršu tekstu',
title: 'Ievietot kā vienkāršu tekstu'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'mk', {
button: 'Paste as plain text', // MISSING
title: 'Paste as Plain Text' // MISSING
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'mn', {
button: 'Энгийн бичвэрээр буулгах',
title: 'Энгийн бичвэрээр буулгах'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ms', {
button: 'Tampal sebagai text biasa',
title: 'Tampal sebagai text biasa'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'nb', {
button: 'Lim inn som ren tekst',
title: 'Lim inn som ren tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'nl', {
button: 'Plakken als platte tekst',
title: 'Plakken als platte tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'no', {
button: 'Lim inn som ren tekst',
title: 'Lim inn som ren tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'pl', {
button: 'Wklej jako czysty tekst',
title: 'Wklej jako czysty tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'pt-br', {
button: 'Colar como Texto sem Formatação',
title: 'Colar como Texto sem Formatação'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'pt', {
button: 'Colar como Texto Simples',
title: 'Colar como Texto Simples'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ro', {
button: 'Adaugă ca text simplu (Plain Text)',
title: 'Adaugă ca text simplu (Plain Text)'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ru', {
button: 'Вставить только текст',
title: 'Вставить только текст'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'si', {
button: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න',
title: 'සාමාන්‍ය අක්ෂර ලෙස අලවන්න'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sk', {
button: 'Vložiť ako čistý text',
title: 'Vložiť ako čistý text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sl', {
button: 'Prilepi kot golo besedilo',
title: 'Prilepi kot golo besedilo'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sq', {
button: 'Hidhe si tekst të thjeshtë',
title: 'Hidhe si Tekst të Thjeshtë'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sr-latn', {
button: 'Zalepi kao čist tekst',
title: 'Zalepi kao čist tekst'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sr', {
button: 'Залепи као чист текст',
title: 'Залепи као чист текст'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'sv', {
button: 'Klistra in som vanlig text',
title: 'Klistra in som vanlig text'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'th', {
button: 'วางแบบตัวอักษรธรรมดา',
title: 'วางแบบตัวอักษรธรรมดา'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'tr', {
button: 'Düz Metin Olarak Yapıştır',
title: 'Düz Metin Olarak Yapıştır'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'tt', {
button: 'Форматлаусыз текст өстәү',
title: 'Форматлаусыз текст өстәү'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ug', {
button: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا',
title: 'پىچىمى يوق تېكىست سۈپىتىدە چاپلا'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'uk', {
button: 'Вставити тільки текст',
title: 'Вставити тільки текст'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'vi', {
button: 'Dán theo định dạng văn bản thuần',
title: 'Dán theo định dạng văn bản thuần'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'zh-cn', {
button: '粘贴为无格式文本',
title: '粘贴为无格式文本'
} );

View File

@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'zh', {
button: '貼成純文字',
title: '貼成純文字'
} );

View File

@@ -0,0 +1,78 @@
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Paste as plain text plugin.
*/
( function() {
// The pastetext command definition.
var pasteTextCmd = {
// Snapshots are done manually by editable.insertXXX methods.
canUndo: false,
async: true,
exec: function( editor ) {
editor.getClipboardData( { title: editor.lang.pastetext.title }, function( data ) {
// Do not use editor#paste, because it would start from beforePaste event.
data && editor.fire( 'paste', { type: 'text', dataValue: data.dataValue } );
editor.fire( 'afterCommandExec', {
name: 'pastetext',
command: pasteTextCmd,
returnValue: !!data
} );
} );
}
};
// Register the plugin.
CKEDITOR.plugins.add( 'pastetext', {
requires: 'clipboard',
// jscs:disable maximumLineLength
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
// jscs:enable maximumLineLength
icons: 'pastetext,pastetext-rtl', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
init: function( editor ) {
var commandName = 'pastetext';
editor.addCommand( commandName, pasteTextCmd );
editor.ui.addButton && editor.ui.addButton( 'PasteText', {
label: editor.lang.pastetext.button,
command: commandName,
toolbar: 'clipboard,40'
} );
if ( editor.config.forcePasteAsPlainText ) {
editor.on( 'beforePaste', function( evt ) {
// Do NOT overwrite if HTML format is explicitly requested.
// This allows pastefromword dominates over pastetext.
if ( evt.data.type != 'html' )
evt.data.type = 'text';
} );
}
editor.on( 'pasteState', function( evt ) {
editor.getCommand( commandName ).setState( evt.data );
} );
}
} );
} )();
/**
* Whether to force all pasting operations to insert on plain text into the
* editor, loosing any formatting information possibly available in the source
* text.
*
* **Note:** paste from word (dialog) is not affected by this configuration.
*
* config.forcePasteAsPlainText = true;
*
* @cfg {Boolean} [forcePasteAsPlainText=false]
* @member CKEDITOR.config
*/