Remove fakeobjects library removed by composer…
OK, make up your mind, composer. Possible triggering change in next commit.
This commit is contained in:
parent
b08da36dbc
commit
1a67e98980
71 changed files with 0 additions and 939 deletions
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'af', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Verborge veld',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Onbekende objek'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ar', {
|
||||
anchor: 'إرساء',
|
||||
hiddenfield: 'إدراج حقل خفي',
|
||||
iframe: 'iframe',
|
||||
unknown: 'عنصر غير معروف'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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',
|
||||
hiddenfield: 'Gizli xana',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Tanımamış obyekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'bg', {
|
||||
anchor: 'Кука',
|
||||
hiddenfield: 'Скрито поле',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Неизвестен обект'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'bn', {
|
||||
anchor: 'Anchor', // MISSING
|
||||
hiddenfield: 'Hidden Field', // MISSING
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'bs', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Hidden Field', // MISSING
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ca', {
|
||||
anchor: 'Àncora',
|
||||
hiddenfield: 'Camp ocult',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objecte desconegut'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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',
|
||||
hiddenfield: 'Skryté pole',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Neznámý objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'cy', {
|
||||
anchor: 'Angor',
|
||||
hiddenfield: 'Maes Cudd',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Gwrthrych Anhysbys'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'da', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Skjult felt',
|
||||
iframe: 'Iframe',
|
||||
unknown: 'Ukendt objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'de-ch', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Verstecktes Feld',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unbekanntes Objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'de', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Verstecktes Feld',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unbekanntes Objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'el', {
|
||||
anchor: 'Άγκυρα',
|
||||
hiddenfield: 'Κρυφό Πεδίο',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Άγνωστο Αντικείμενο'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-au', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Hidden Field',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unknown Object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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
|
||||
hiddenfield: 'Hidden Field', // MISSING
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-gb', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Hidden Field',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unknown Object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'en', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Hidden Field',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unknown Object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'eo', {
|
||||
anchor: 'Ankro',
|
||||
hiddenfield: 'Kaŝita kampo',
|
||||
iframe: 'Enlinia Kadro (IFrame)',
|
||||
unknown: 'Nekonata objekto'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'es-mx', {
|
||||
anchor: 'Ancla',
|
||||
hiddenfield: 'Campo oculto',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objeto desconocido'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'es', {
|
||||
anchor: 'Ancla',
|
||||
hiddenfield: 'Campo oculto',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objeto desconocido'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'et', {
|
||||
anchor: 'Ankur',
|
||||
hiddenfield: 'Varjatud väli',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Tundmatu objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'eu', {
|
||||
anchor: 'Aingura',
|
||||
hiddenfield: 'Ezkutuko eremua',
|
||||
iframe: 'IFrame-a',
|
||||
unknown: 'Objektu ezezaguna'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'fa', {
|
||||
anchor: 'لنگر',
|
||||
hiddenfield: 'فیلد پنهان',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'شیء ناشناخته'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'fi', {
|
||||
anchor: 'Ankkuri',
|
||||
hiddenfield: 'Piilokenttä',
|
||||
iframe: 'IFrame-kehys',
|
||||
unknown: 'Tuntematon objekti'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'fo', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Fjaldur teigur',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Ókent Object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr-ca', {
|
||||
anchor: 'Ancre',
|
||||
hiddenfield: 'Champ caché',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objet inconnu'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr', {
|
||||
anchor: 'Ancre',
|
||||
hiddenfield: 'Champ invisible',
|
||||
iframe: 'Cadre de contenu incorporé',
|
||||
unknown: 'Objet inconnu'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'gl', {
|
||||
anchor: 'Ancoraxe',
|
||||
hiddenfield: 'Campo agochado',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Obxecto descoñecido'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'gu', {
|
||||
anchor: 'અનકર',
|
||||
hiddenfield: 'હિડન ',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'અનનોન ઓબ્જેક્ટ'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'he', {
|
||||
anchor: 'עוגן',
|
||||
hiddenfield: 'שדה חבוי',
|
||||
iframe: 'חלון פנימי (iframe)',
|
||||
unknown: 'אובייקט לא ידוע'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'hi', {
|
||||
anchor: 'ऐंकर इन्सर्ट/संपादन',
|
||||
hiddenfield: 'गुप्त फ़ील्ड',
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'hr', {
|
||||
anchor: 'Sidro',
|
||||
hiddenfield: 'Sakriveno polje',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Nepoznati objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'hu', {
|
||||
anchor: 'Horgony',
|
||||
hiddenfield: 'Rejtett mezõ',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Ismeretlen objektum'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'id', {
|
||||
anchor: 'Anchor', // MISSING
|
||||
hiddenfield: 'Kolom Tersembunyi',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Obyek Tak Dikenal'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'is', {
|
||||
anchor: 'Anchor', // MISSING
|
||||
hiddenfield: 'Hidden Field', // MISSING
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'it', {
|
||||
anchor: 'Ancora',
|
||||
hiddenfield: 'Campo Nascosto',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Oggetto sconosciuto'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ja', {
|
||||
anchor: 'アンカー',
|
||||
hiddenfield: '不可視フィールド',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unknown Object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ka', {
|
||||
anchor: 'ღუზა',
|
||||
hiddenfield: 'მალული ველი',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'უცნობი ობიექტი'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'km', {
|
||||
anchor: 'យុថ្កា',
|
||||
hiddenfield: 'វាលកំបាំង',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'វត្ថុមិនស្គាល់'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ko', {
|
||||
anchor: '책갈피',
|
||||
hiddenfield: '숨은 입력 칸',
|
||||
iframe: '아이프레임',
|
||||
unknown: '알 수 없는 객체'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ku', {
|
||||
anchor: 'لەنگەر',
|
||||
hiddenfield: 'شاردنەوەی خانه',
|
||||
iframe: 'لەچوارچێوە',
|
||||
unknown: 'بەرکارێکی نەناسراو'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'lt', {
|
||||
anchor: 'Žymė',
|
||||
hiddenfield: 'Paslėptas laukas',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Nežinomas objektas'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'lv', {
|
||||
anchor: 'Iezīme',
|
||||
hiddenfield: 'Slēpts lauks',
|
||||
iframe: 'Iframe',
|
||||
unknown: 'Nezināms objekts'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'mk', {
|
||||
anchor: 'Anchor',
|
||||
hiddenfield: 'Скриено поле',
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'mn', {
|
||||
anchor: 'Зангуу',
|
||||
hiddenfield: 'Нууц талбар',
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ms', {
|
||||
anchor: 'Anchor', // MISSING
|
||||
hiddenfield: 'Hidden Field', // MISSING
|
||||
iframe: 'IFrame', // MISSING
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'nb', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Skjult felt',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Ukjent objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'nl', {
|
||||
anchor: 'Interne link',
|
||||
hiddenfield: 'Verborgen veld',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Onbekend object'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'no', {
|
||||
anchor: 'Anker',
|
||||
hiddenfield: 'Skjult felt',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Ukjent objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'oc', {
|
||||
anchor: 'Ancòra',
|
||||
hiddenfield: 'Camp invisible',
|
||||
iframe: 'Quadre de contengut incorporat',
|
||||
unknown: 'Objècte desconegut'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'pl', {
|
||||
anchor: 'Kotwica',
|
||||
hiddenfield: 'Pole ukryte',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Nieznany obiekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'pt-br', {
|
||||
anchor: 'Âncora',
|
||||
hiddenfield: 'Campo Oculto',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objeto desconhecido'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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',
|
||||
hiddenfield: 'Campo oculto',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objeto desconhecido'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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ă',
|
||||
hiddenfield: 'Câmp ascuns (HiddenField)',
|
||||
iframe: 'Fereastră în fereastră (iframe)',
|
||||
unknown: 'Necunoscut'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ru', {
|
||||
anchor: 'Якорь',
|
||||
hiddenfield: 'Скрытое поле',
|
||||
iframe: 'iFrame',
|
||||
unknown: 'Неизвестный объект'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'si', {
|
||||
anchor: 'ආධාරය',
|
||||
hiddenfield: 'සැඟවුණු ප්රදේශය',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Unknown Object' // MISSING
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sk', {
|
||||
anchor: 'Kotva',
|
||||
hiddenfield: 'Skryté pole',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Neznámy objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sl', {
|
||||
anchor: 'Sidro',
|
||||
hiddenfield: 'Skrito polje',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Neznan objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sq', {
|
||||
anchor: 'Spirancë',
|
||||
hiddenfield: 'Fushë e fshehur',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Objekt i Panjohur'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sr-latn', {
|
||||
anchor: 'Sidro',
|
||||
hiddenfield: 'Skriveno polje',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Nepoznat objekat'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sr', {
|
||||
anchor: 'Сидро',
|
||||
hiddenfield: 'Скривено полје',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Непознат објекат'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'sv', {
|
||||
anchor: 'Ankare',
|
||||
hiddenfield: 'Gömt fält',
|
||||
iframe: 'iFrame',
|
||||
unknown: 'Okänt objekt'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'th', {
|
||||
anchor: 'แทรก/แก้ไข Anchor',
|
||||
hiddenfield: 'ฮิดเดนฟิลด์',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'วัตถุไม่ทราบชนิด'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'tr', {
|
||||
anchor: 'Bağlantı',
|
||||
hiddenfield: 'Gizli Alan',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Bilinmeyen Nesne'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'tt', {
|
||||
anchor: 'Якорь',
|
||||
hiddenfield: 'Яшерен кыр',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Танылмаган объект'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'ug', {
|
||||
anchor: 'لەڭگەرلىك نۇقتا',
|
||||
hiddenfield: 'يوشۇرۇن دائىرە',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'يوچۇن نەڭ'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'uk', {
|
||||
anchor: 'Якір',
|
||||
hiddenfield: 'Приховані Поля',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Невідомий об\'єкт'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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',
|
||||
hiddenfield: 'Trường ẩn',
|
||||
iframe: 'IFrame',
|
||||
unknown: 'Đối tượng không rõ ràng'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'zh-cn', {
|
||||
anchor: '锚点',
|
||||
hiddenfield: '隐藏域',
|
||||
iframe: 'IFrame',
|
||||
unknown: '未知对象'
|
||||
} );
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'fakeobjects', 'zh', {
|
||||
anchor: '錨點',
|
||||
hiddenfield: '隱藏欄位',
|
||||
iframe: 'IFrame',
|
||||
unknown: '無法辨識的物件'
|
||||
} );
|
|
@ -1,239 +0,0 @@
|
|||
/**
|
||||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. 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;
|
||||
}
|
||||
|
||||
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( createHtmlFilterRules( editor ), {
|
||||
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 realElementHtml = decodeURIComponent( fakeElement.data( 'cke-realelement' ) ),
|
||||
filteredHtml = filterHtml( this, realElementHtml ),
|
||||
realElement = CKEDITOR.dom.element.createFromHtml( filteredHtml, this.document );
|
||||
|
||||
if ( fakeElement.data( 'cke-resizable' ) ) {
|
||||
var width = fakeElement.getStyle( 'width' ),
|
||||
height = fakeElement.getStyle( 'height' );
|
||||
|
||||
width && realElement.setAttribute( 'width', replaceCssLength( realElement.getAttribute( 'width' ), width ) );
|
||||
height && realElement.setAttribute( 'height', replaceCssLength( realElement.getAttribute( 'height' ), height ) );
|
||||
}
|
||||
|
||||
return realElement;
|
||||
};
|
||||
|
||||
function createHtmlFilterRules( editor ) {
|
||||
return {
|
||||
elements: {
|
||||
$: function( element ) {
|
||||
var attributes = element.attributes,
|
||||
realHtml = attributes && attributes[ 'data-cke-realelement' ],
|
||||
filteredRealHtml = filterHtml( editor, decodeURIComponent( realHtml ) ),
|
||||
realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( filteredRealHtml ),
|
||||
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;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Content stored inside fake element is raw and should be explicitly
|
||||
// passed to ACF filter. Additionally some elements can have prefixes in tag names,
|
||||
// which should be removed before filtering and added after it.
|
||||
function filterHtml( editor, html ) {
|
||||
var unprefixedElements = [],
|
||||
prefixRegex = /^cke:/i,
|
||||
dataFilter = new CKEDITOR.htmlParser.filter( {
|
||||
elements: {
|
||||
'^': function( element ) {
|
||||
if ( prefixRegex.test( element.name ) ) {
|
||||
element.name = element.name.replace( prefixRegex, '' );
|
||||
|
||||
unprefixedElements.push( element );
|
||||
}
|
||||
},
|
||||
iframe: function( element ) {
|
||||
element.children = [];
|
||||
}
|
||||
}
|
||||
} ),
|
||||
acfFilter = editor.activeFilter,
|
||||
writer = new CKEDITOR.htmlParser.basicWriter(),
|
||||
fragment = CKEDITOR.htmlParser.fragment.fromHtml( html );
|
||||
|
||||
dataFilter.applyTo( fragment );
|
||||
acfFilter.applyTo( fragment );
|
||||
|
||||
CKEDITOR.tools.array.forEach( unprefixedElements, function( element ) {
|
||||
element.name = 'cke:' + element.name;
|
||||
} );
|
||||
|
||||
fragment.writeHtml( writer );
|
||||
|
||||
return writer.getHtml();
|
||||
}
|
||||
} )();
|
Loading…
Add table
Reference in a new issue