Download and add the fakeobjects ckeditor plugin library, needed for Footnotes

to integrate with CKEditor WYSIWYG.

Ref #70
This commit is contained in:
benjamin melançon 2019-10-02 10:08:17 -04:00
parent af1581d181
commit 638e50c9da
71 changed files with 969 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'af', {
anchor: 'Anker',
flash: 'Flash animasie',
hiddenfield: 'Verborge veld',
iframe: 'IFrame',
unknown: 'Onbekende objek'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ar', {
anchor: 'إرساء',
flash: 'رسم متحرك بالفلاش',
hiddenfield: 'إدراج حقل خفي',
iframe: 'iframe',
unknown: 'عنصر غير معروف'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'az', {
anchor: 'Lövbər',
flash: 'Flash animasiya',
hiddenfield: 'Gizli xana',
iframe: 'IFrame',
unknown: 'Tanımamış obyekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bg', {
anchor: 'Кука',
flash: 'Флаш анимация',
hiddenfield: 'Скрито поле',
iframe: 'IFrame',
unknown: 'Неизвестен обект'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bn', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bs', {
anchor: 'Anchor',
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ca', {
anchor: 'Àncora',
flash: 'Animació Flash',
hiddenfield: 'Camp ocult',
iframe: 'IFrame',
unknown: 'Objecte desconegut'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'cs', {
anchor: 'Záložka',
flash: 'Flash animace',
hiddenfield: 'Skryté pole',
iframe: 'IFrame',
unknown: 'Neznámý objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'cy', {
anchor: 'Angor',
flash: 'Animeiddiant Flash',
hiddenfield: 'Maes Cudd',
iframe: 'IFrame',
unknown: 'Gwrthrych Anhysbys'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'da', {
anchor: 'Anker',
flash: 'Flashanimation',
hiddenfield: 'Skjult felt',
iframe: 'Iframe',
unknown: 'Ukendt objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'de-ch', {
anchor: 'Anker',
flash: 'Flash-Animation',
hiddenfield: 'Verstecktes Feld',
iframe: 'IFrame',
unknown: 'Unbekanntes Objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'de', {
anchor: 'Anker',
flash: 'Flash-Animation',
hiddenfield: 'Verstecktes Feld',
iframe: 'IFrame',
unknown: 'Unbekanntes Objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'el', {
anchor: 'Άγκυρα',
flash: 'Ταινία Flash',
hiddenfield: 'Κρυφό Πεδίο',
iframe: 'IFrame',
unknown: 'Άγνωστο Αντικείμενο'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-au', {
anchor: 'Anchor',
flash: 'Flash Animation',
hiddenfield: 'Hidden Field',
iframe: 'IFrame',
unknown: 'Unknown Object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-ca', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-gb', {
anchor: 'Anchor',
flash: 'Flash Animation',
hiddenfield: 'Hidden Field',
iframe: 'IFrame',
unknown: 'Unknown Object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'en', {
anchor: 'Anchor',
flash: 'Flash Animation',
hiddenfield: 'Hidden Field',
iframe: 'IFrame',
unknown: 'Unknown Object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'eo', {
anchor: 'Ankro',
flash: 'FlaŝAnimacio',
hiddenfield: 'Kaŝita kampo',
iframe: 'Enlinia Kadro (IFrame)',
unknown: 'Nekonata objekto'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'es-mx', {
anchor: 'Ancla',
flash: 'Animación flash',
hiddenfield: 'Campo oculto',
iframe: 'IFrame',
unknown: 'Objeto desconocido'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'es', {
anchor: 'Ancla',
flash: 'Animación flash',
hiddenfield: 'Campo oculto',
iframe: 'IFrame',
unknown: 'Objeto desconocido'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'et', {
anchor: 'Ankur',
flash: 'Flashi animatsioon',
hiddenfield: 'Varjatud väli',
iframe: 'IFrame',
unknown: 'Tundmatu objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'eu', {
anchor: 'Aingura',
flash: 'Flash animazioa',
hiddenfield: 'Ezkutuko eremua',
iframe: 'IFrame-a',
unknown: 'Objektu ezezaguna'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fa', {
anchor: 'لنگر',
flash: 'انیمشن فلش',
hiddenfield: 'فیلد پنهان',
iframe: 'IFrame',
unknown: 'شیء ناشناخته'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fi', {
anchor: 'Ankkuri',
flash: 'Flash animaatio',
hiddenfield: 'Piilokenttä',
iframe: 'IFrame-kehys',
unknown: 'Tuntematon objekti'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fo', {
anchor: 'Anchor',
flash: 'Flash Animation',
hiddenfield: 'Fjaldur teigur',
iframe: 'IFrame',
unknown: 'Ókent Object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr-ca', {
anchor: 'Ancre',
flash: 'Animation Flash',
hiddenfield: 'Champ caché',
iframe: 'IFrame',
unknown: 'Objet inconnu'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr', {
anchor: 'Ancre',
flash: 'Animation Flash',
hiddenfield: 'Champ invisible',
iframe: 'Cadre de contenu incorporé',
unknown: 'Objet inconnu'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'gl', {
anchor: 'Ancoraxe',
flash: 'Animación «Flash»',
hiddenfield: 'Campo agochado',
iframe: 'IFrame',
unknown: 'Obxecto descoñecido'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'gu', {
anchor: 'અનકર',
flash: 'ફ્લેશ ',
hiddenfield: 'હિડન ',
iframe: 'IFrame',
unknown: 'અનનોન ઓબ્જેક્ટ'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'he', {
anchor: 'עוגן',
flash: 'סרטון פלאש',
hiddenfield: 'שדה חבוי',
iframe: 'חלון פנימי (iframe)',
unknown: 'אובייקט לא ידוע'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'hi', {
anchor: 'ऐंकर इन्सर्ट/संपादन',
flash: 'Flash Animation', // MISSING
hiddenfield: 'गुप्त फ़ील्ड',
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'hr', {
anchor: 'Sidro',
flash: 'Flash animacija',
hiddenfield: 'Sakriveno polje',
iframe: 'IFrame',
unknown: 'Nepoznati objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'hu', {
anchor: 'Horgony',
flash: 'Flash animáció',
hiddenfield: 'Rejtett mezõ',
iframe: 'IFrame',
unknown: 'Ismeretlen objektum'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'id', {
anchor: 'Anchor', // MISSING
flash: 'Animasi Flash',
hiddenfield: 'Kolom Tersembunyi',
iframe: 'IFrame',
unknown: 'Obyek Tak Dikenal'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'is', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'it', {
anchor: 'Ancora',
flash: 'Animazione Flash',
hiddenfield: 'Campo Nascosto',
iframe: 'IFrame',
unknown: 'Oggetto sconosciuto'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ja', {
anchor: 'アンカー',
flash: 'Flash Animation',
hiddenfield: '不可視フィールド',
iframe: 'IFrame',
unknown: 'Unknown Object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ka', {
anchor: 'ღუზა',
flash: 'Flash ანიმაცია',
hiddenfield: 'მალული ველი',
iframe: 'IFrame',
unknown: 'უცნობი ობიექტი'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'km', {
anchor: 'យុថ្កា',
flash: 'Flash មាន​ចលនា',
hiddenfield: 'វាល​កំបាំង',
iframe: 'IFrame',
unknown: 'វត្ថុ​មិន​ស្គាល់'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ko', {
anchor: '책갈피',
flash: '플래시 애니메이션',
hiddenfield: '숨은 입력 칸',
iframe: '아이프레임',
unknown: '알 수 없는 객체'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ku', {
anchor: 'لەنگەر',
flash: 'فلاش',
hiddenfield: 'شاردنەوەی خانه',
iframe: 'لەچوارچێوە',
unknown: 'بەرکارێکی نەناسراو'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'lt', {
anchor: 'Žymė',
flash: 'Flash animacija',
hiddenfield: 'Paslėptas laukas',
iframe: 'IFrame',
unknown: 'Nežinomas objektas'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'lv', {
anchor: 'Iezīme',
flash: 'Flash animācija',
hiddenfield: 'Slēpts lauks',
iframe: 'Iframe',
unknown: 'Nezināms objekts'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'mk', {
anchor: 'Anchor',
flash: 'Flash Animation', // MISSING
hiddenfield: 'Скриено поле',
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'mn', {
anchor: 'Зангуу',
flash: 'Flash Animation', // MISSING
hiddenfield: 'Нууц талбар',
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ms', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'nb', {
anchor: 'Anker',
flash: 'Flash-animasjon',
hiddenfield: 'Skjult felt',
iframe: 'IFrame',
unknown: 'Ukjent objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'nl', {
anchor: 'Interne link',
flash: 'Flash animatie',
hiddenfield: 'Verborgen veld',
iframe: 'IFrame',
unknown: 'Onbekend object'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'no', {
anchor: 'Anker',
flash: 'Flash-animasjon',
hiddenfield: 'Skjult felt',
iframe: 'IFrame',
unknown: 'Ukjent objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'oc', {
anchor: 'Ancòra',
flash: 'Animacion Flash',
hiddenfield: 'Camp invisible',
iframe: 'Quadre de contengut incorporat',
unknown: 'Objècte desconegut'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'pl', {
anchor: 'Kotwica',
flash: 'Animacja Flash',
hiddenfield: 'Pole ukryte',
iframe: 'IFrame',
unknown: 'Nieznany obiekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'pt-br', {
anchor: 'Âncora',
flash: 'Animação em Flash',
hiddenfield: 'Campo Oculto',
iframe: 'IFrame',
unknown: 'Objeto desconhecido'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'pt', {
anchor: ' Inserir/Editar âncora',
flash: 'Animação Flash',
hiddenfield: 'Campo oculto',
iframe: 'IFrame',
unknown: 'Objeto desconhecido'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ro', {
anchor: 'Inserează/Editează ancoră',
flash: 'Element Flash',
hiddenfield: 'Câmp ascuns (HiddenField)',
iframe: 'Fereastră în fereastră (iframe)',
unknown: 'Necunoscut'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ru', {
anchor: 'Якорь',
flash: 'Flash анимация',
hiddenfield: 'Скрытое поле',
iframe: 'iFrame',
unknown: 'Неизвестный объект'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'si', {
anchor: 'ආධාරය',
flash: 'Flash Animation', // MISSING
hiddenfield: 'සැඟවුණු ප්‍රදේශය',
iframe: 'IFrame',
unknown: 'Unknown Object' // MISSING
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sk', {
anchor: 'Kotva',
flash: 'Flash animácia',
hiddenfield: 'Skryté pole',
iframe: 'IFrame',
unknown: 'Neznámy objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sl', {
anchor: 'Sidro',
flash: 'Animacija flash',
hiddenfield: 'Skrito polje',
iframe: 'IFrame',
unknown: 'Neznan objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sq', {
anchor: 'Spirancë',
flash: 'Objekt flash',
hiddenfield: 'Fushë e fshehur',
iframe: 'IFrame',
unknown: 'Objekt i Panjohur'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sr-latn', {
anchor: 'Sidro',
flash: 'Fleš animacija',
hiddenfield: 'Skriveno polje',
iframe: 'IFrame',
unknown: 'Nepoznat objekat'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sr', {
anchor: 'Сидро',
flash: 'Флеш анимација',
hiddenfield: 'Скривено полје',
iframe: 'IFrame',
unknown: 'Непознат објекат'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'sv', {
anchor: 'Ankare',
flash: 'Flashanimation',
hiddenfield: 'Gömt fält',
iframe: 'iFrame',
unknown: 'Okänt objekt'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'th', {
anchor: 'แทรก/แก้ไข Anchor',
flash: 'ภาพอนิเมชั่นแฟลช',
hiddenfield: 'ฮิดเดนฟิลด์',
iframe: 'IFrame',
unknown: 'วัตถุไม่ทราบชนิด'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'tr', {
anchor: 'Bağlantı',
flash: 'Flash Animasyonu',
hiddenfield: 'Gizli Alan',
iframe: 'IFrame',
unknown: 'Bilinmeyen Nesne'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'tt', {
anchor: 'Якорь',
flash: 'Флеш анимациясы',
hiddenfield: 'Яшерен кыр',
iframe: 'IFrame',
unknown: 'Танылмаган объект'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ug', {
anchor: 'لەڭگەرلىك نۇقتا',
flash: 'Flash جانلاندۇرۇم',
hiddenfield: 'يوشۇرۇن دائىرە',
iframe: 'IFrame',
unknown: 'يوچۇن نەڭ'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'uk', {
anchor: 'Якір',
flash: 'Flash-анімація',
hiddenfield: 'Приховані Поля',
iframe: 'IFrame',
unknown: 'Невідомий об\'єкт'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'vi', {
anchor: 'Điểm neo',
flash: 'Flash',
hiddenfield: 'Trường ẩn',
iframe: 'IFrame',
unknown: 'Đối tượng không rõ ràng'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'zh-cn', {
anchor: '锚点',
flash: 'Flash 动画',
hiddenfield: '隐藏域',
iframe: 'IFrame',
unknown: '未知对象'
} );

View file

@ -0,0 +1,11 @@
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'zh', {
anchor: '錨點',
flash: 'Flash 動畫',
hiddenfield: '隱藏欄位',
iframe: 'IFrame',
unknown: '無法辨識的物件'
} );

View file

@ -0,0 +1,199 @@
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
( function() {
var cssStyle = CKEDITOR.htmlParser.cssStyle,
cssLength = CKEDITOR.tools.cssLength;
var cssLengthRegex = /^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i;
// Replacing the former CSS length value with the later one, with
// adjustment to the length unit.
function replaceCssLength( length1, length2 ) {
var parts1 = cssLengthRegex.exec( length1 ),
parts2 = cssLengthRegex.exec( length2 );
// Omit pixel length unit when necessary,
// e.g. replaceCssLength( 10, '20px' ) -> 20
if ( parts1 ) {
if ( !parts1[ 2 ] && parts2[ 2 ] == 'px' )
return parts2[ 1 ];
if ( parts1[ 2 ] == 'px' && !parts2[ 2 ] )
return parts2[ 1 ] + 'px';
}
return length2;
}
var htmlFilterRules = {
elements: {
$: function( element ) {
var attributes = element.attributes,
realHtml = attributes && attributes[ 'data-cke-realelement' ],
realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( decodeURIComponent( realHtml ) ),
realElement = realFragment && realFragment.children[ 0 ];
// Width/height in the fake object are subjected to clone into the real element.
if ( realElement && element.attributes[ 'data-cke-resizable' ] ) {
var styles = new cssStyle( element ).rules,
realAttrs = realElement.attributes,
width = styles.width,
height = styles.height;
width && ( realAttrs.width = replaceCssLength( realAttrs.width, width ) );
height && ( realAttrs.height = replaceCssLength( realAttrs.height, height ) );
}
return realElement;
}
}
};
CKEDITOR.plugins.add( 'fakeobjects', {
// jscs:disable maximumLineLength
lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
// jscs:enable maximumLineLength
init: function( editor ) {
// Allow image with all styles and classes plus src, alt and title attributes.
// We need them when fakeobject is pasted.
editor.filter.allow( 'img[!data-cke-realelement,src,alt,title](*){*}', 'fakeobjects' );
},
afterInit: function( editor ) {
var dataProcessor = editor.dataProcessor,
htmlFilter = dataProcessor && dataProcessor.htmlFilter;
if ( htmlFilter ) {
htmlFilter.addRules( htmlFilterRules, {
applyToAll: true
} );
}
}
} );
/**
* Creates fake {@link CKEDITOR.dom.element} based on real element.
* Fake element is an img with special attributes, which keep real element properties.
*
* @member CKEDITOR.editor
* @param {CKEDITOR.dom.element} realElement Real element to transform.
* @param {String} className Class name which will be used as class of fake element.
* @param {String} realElementType Stores type of fake element.
* @param {Boolean} isResizable Keeps information if element is resizable.
* @returns {CKEDITOR.dom.element} Fake element.
*/
CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, realElementType, isResizable ) {
var lang = this.lang.fakeobjects,
label = lang[ realElementType ] || lang.unknown;
var attributes = {
'class': className,
'data-cke-realelement': encodeURIComponent( realElement.getOuterHtml() ),
'data-cke-real-node-type': realElement.type,
alt: label,
title: label,
align: realElement.getAttribute( 'align' ) || ''
};
// Do not set "src" on high-contrast so the alt text is displayed. (https://dev.ckeditor.com/ticket/8945)
if ( !CKEDITOR.env.hc )
attributes.src = CKEDITOR.tools.transparentImageData;
if ( realElementType )
attributes[ 'data-cke-real-element-type' ] = realElementType;
if ( isResizable ) {
attributes[ 'data-cke-resizable' ] = isResizable;
var fakeStyle = new cssStyle();
var width = realElement.getAttribute( 'width' ),
height = realElement.getAttribute( 'height' );
width && ( fakeStyle.rules.width = cssLength( width ) );
height && ( fakeStyle.rules.height = cssLength( height ) );
fakeStyle.populate( attributes );
}
return this.document.createElement( 'img', { attributes: attributes } );
};
/**
* Creates fake {@link CKEDITOR.htmlParser.element} based on real element.
*
* @member CKEDITOR.editor
* @param {CKEDITOR.dom.element} realElement Real element to transform.
* @param {String} className Class name which will be used as class of fake element.
* @param {String} realElementType Store type of fake element.
* @param {Boolean} isResizable Keep information if element is resizable.
* @returns {CKEDITOR.htmlParser.element} Fake htmlParser element.
*/
CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, className, realElementType, isResizable ) {
var lang = this.lang.fakeobjects,
label = lang[ realElementType ] || lang.unknown,
html;
var writer = new CKEDITOR.htmlParser.basicWriter();
realElement.writeHtml( writer );
html = writer.getHtml();
var attributes = {
'class': className,
'data-cke-realelement': encodeURIComponent( html ),
'data-cke-real-node-type': realElement.type,
alt: label,
title: label,
align: realElement.attributes.align || ''
};
// Do not set "src" on high-contrast so the alt text is displayed. (https://dev.ckeditor.com/ticket/8945)
if ( !CKEDITOR.env.hc )
attributes.src = CKEDITOR.tools.transparentImageData;
if ( realElementType )
attributes[ 'data-cke-real-element-type' ] = realElementType;
if ( isResizable ) {
attributes[ 'data-cke-resizable' ] = isResizable;
var realAttrs = realElement.attributes,
fakeStyle = new cssStyle();
var width = realAttrs.width,
height = realAttrs.height;
width !== undefined && ( fakeStyle.rules.width = cssLength( width ) );
height !== undefined && ( fakeStyle.rules.height = cssLength( height ) );
fakeStyle.populate( attributes );
}
return new CKEDITOR.htmlParser.element( 'img', attributes );
};
/**
* Creates {@link CKEDITOR.dom.element} from fake element.
*
* @member CKEDITOR.editor
* @param {CKEDITOR.dom.element} fakeElement Fake element to transform.
* @returns {CKEDITOR.dom.element/null} Returns real element or `null` if transformed element wasn't fake.
*/
CKEDITOR.editor.prototype.restoreRealElement = function( fakeElement ) {
if ( fakeElement.data( 'cke-real-node-type' ) != CKEDITOR.NODE_ELEMENT )
return null;
var element = CKEDITOR.dom.element.createFromHtml( decodeURIComponent( fakeElement.data( 'cke-realelement' ) ), this.document );
if ( fakeElement.data( 'cke-resizable' ) ) {
var width = fakeElement.getStyle( 'width' ),
height = fakeElement.getStyle( 'height' );
width && element.setAttribute( 'width', replaceCssLength( element.getAttribute( 'width' ), width ) );
height && element.setAttribute( 'height', replaceCssLength( element.getAttribute( 'height' ), height ) );
}
return element;
};
} )();