added ckeditors libraries

This commit is contained in:
2023-02-09 10:08:14 +01:00
parent a5ec70b81b
commit 2d69691ea2
146 changed files with 2091 additions and 0 deletions

View File

@@ -0,0 +1,227 @@
/**
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
( function() {
// Map 'true' and 'false' values to match W3C's specifications
// http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5
var checkboxValues = {
scrolling: { 'true': 'yes', 'false': 'no' },
frameborder: { 'true': '1', 'false': '0' },
tabindex: { 'true': '-1', 'false': false }
};
function loadValue( iframeNode ) {
var isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox;
if ( iframeNode.hasAttribute( this.id ) ) {
var value = iframeNode.getAttribute( this.id );
if ( isCheckbox )
this.setValue( checkboxValues[ this.id ][ 'true' ] == value.toLowerCase() );
else
this.setValue( value );
}
}
function commitValue( iframeNode ) {
var value = this.getValue(),
attributeName = this.att || this.id,
isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox,
attributeValue = isCheckbox ? checkboxValues[ this.id ][ value ] : value,
isRemove = value === '' || ( attributeName === 'tabindex' && value === false );
if ( isRemove ) {
iframeNode.removeAttribute( attributeName );
} else {
iframeNode.setAttribute( attributeName, attributeValue );
}
}
CKEDITOR.dialog.add( 'iframe', function( editor ) {
var iframeLang = editor.lang.iframe,
commonLang = editor.lang.common,
dialogadvtab = editor.plugins.dialogadvtab;
return {
title: iframeLang.title,
minWidth: 350,
minHeight: 260,
getModel: function( editor ) {
var element = editor.getSelection().getSelectedElement();
if ( element && element.data( 'cke-real-element-type' ) === 'iframe' ) {
return element;
}
return null;
},
onShow: function() {
// Clear previously saved elements.
this.fakeImage = this.iframeNode = null;
var fakeImage = this.getSelectedElement();
if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'iframe' ) {
this.fakeImage = fakeImage;
var iframeNode = editor.restoreRealElement( fakeImage );
this.iframeNode = iframeNode;
this.setupContent( iframeNode );
}
},
onOk: function() {
var iframeNode;
if ( !this.fakeImage )
iframeNode = new CKEDITOR.dom.element( 'iframe' );
else
iframeNode = this.iframeNode;
// A subset of the specified attributes/styles
// should also be applied on the fake element to
// have better visual effect. (https://dev.ckeditor.com/ticket/5240)
var extraStyles = {},
extraAttributes = {};
this.commitContent( iframeNode, extraStyles, extraAttributes );
// Refresh the fake image.
var newFakeImage = editor.createFakeElement( iframeNode, 'cke_iframe', 'iframe', true );
newFakeImage.setAttributes( extraAttributes );
newFakeImage.setStyles( extraStyles );
if ( this.fakeImage ) {
newFakeImage.replace( this.fakeImage );
editor.getSelection().selectElement( newFakeImage );
} else {
editor.insertElement( newFakeImage );
}
},
contents: [ {
id: 'info',
label: commonLang.generalTab,
accessKey: 'I',
elements: [ {
type: 'vbox',
padding: 0,
children: [ {
id: 'src',
type: 'text',
label: commonLang.url,
required: true,
validate: CKEDITOR.dialog.validate.notEmpty( iframeLang.noUrl ),
setup: loadValue,
commit: commitValue
} ]
},
{
type: 'hbox',
children: [ {
id: 'width',
type: 'text',
requiredContent: 'iframe[width]',
style: 'width:100%',
labelLayout: 'vertical',
label: commonLang.width,
validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.width ) ),
setup: loadValue,
commit: commitValue
},
{
id: 'height',
type: 'text',
requiredContent: 'iframe[height]',
style: 'width:100%',
labelLayout: 'vertical',
label: commonLang.height,
validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.height ) ),
setup: loadValue,
commit: commitValue
},
{
id: 'align',
type: 'select',
requiredContent: 'iframe[align]',
'default': '',
items: [
[ commonLang.notSet, '' ],
[ commonLang.left, 'left' ],
[ commonLang.right, 'right' ],
[ commonLang.alignTop, 'top' ],
[ commonLang.alignMiddle, 'middle' ],
[ commonLang.alignBottom, 'bottom' ]
],
style: 'width:100%',
labelLayout: 'vertical',
label: commonLang.align,
setup: function( iframeNode, fakeImage ) {
loadValue.apply( this, arguments );
if ( fakeImage ) {
var fakeImageAlign = fakeImage.getAttribute( 'align' );
this.setValue( fakeImageAlign && fakeImageAlign.toLowerCase() || '' );
}
},
commit: function( iframeNode, extraStyles, extraAttributes ) {
commitValue.apply( this, arguments );
if ( this.getValue() )
extraAttributes.align = this.getValue();
}
} ]
},
{
type: 'hbox',
widths: [ '33%', '33%', '33%' ],
children: [ {
id: 'scrolling',
type: 'checkbox',
requiredContent: 'iframe[scrolling]',
label: iframeLang.scrolling,
setup: loadValue,
commit: commitValue
},
{
id: 'frameborder',
type: 'checkbox',
requiredContent: 'iframe[frameborder]',
label: iframeLang.border,
setup: loadValue,
commit: commitValue
},
{
id: 'tabindex',
type: 'checkbox',
requiredContent: 'iframe[tabindex]',
label: iframeLang.tabindex,
setup: loadValue,
commit: commitValue
} ]
},
{
type: 'hbox',
widths: [ '50%', '50%' ],
children: [ {
id: 'name',
type: 'text',
requiredContent: 'iframe[name]',
label: commonLang.name,
setup: loadValue,
commit: commitValue
},
{
id: 'title',
type: 'text',
requiredContent: 'iframe[title]',
label: commonLang.advisoryTitle,
setup: loadValue,
commit: commitValue
} ]
},
{
id: 'longdesc',
type: 'text',
requiredContent: 'iframe[longdesc]',
label: commonLang.longDescr,
setup: loadValue,
commit: commitValue
} ]
},
dialogadvtab && dialogadvtab.createAdvancedTab( editor, { id: 1, classes: 1, styles: 1 }, 'iframe' )
] };
} );
} )();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'af', {
border: 'Wys rand van raam',
noUrl: 'Gee die iframe URL',
scrolling: 'Skuifbalke aan',
title: 'IFrame Eienskappe',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ar', {
border: 'إظهار حدود الإطار',
noUrl: 'فضلا أكتب رابط الـ iframe',
scrolling: 'تفعيل أشرطة الإنتقال',
title: 'خصائص iframe',
toolbar: 'iframe',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'az', {
border: 'Çərçivə sərhədlərini göstər',
noUrl: 'Çərçivənin ünvanı daxil edin',
scrolling: 'Şürüşdürmələri əlavə et',
title: 'İFRAME elementinin alətləri',
toolbar: 'İFRAME',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'bg', {
border: 'Показва рамка на карето',
noUrl: 'Моля въведете URL за iFrame',
scrolling: 'Активира прелистване',
title: 'IFrame настройки',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'bn', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'bs', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ca', {
border: 'Mostra la vora del marc',
noUrl: 'Si us plau, introdueixi la URL de l\'iframe',
scrolling: 'Activa les barres de desplaçament',
title: 'Propietats de l\'IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'cs', {
border: 'Zobrazit okraj',
noUrl: 'Zadejte prosím URL obsahu pro IFrame',
scrolling: 'Zapnout posuvníky',
title: 'Vlastnosti IFrame',
toolbar: 'IFrame',
tabindex: 'Odstranit ze zaměření tabulátorem.'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'cy', {
border: 'Dangos ymyl y ffrâm',
noUrl: 'Rhowch URL yr iframe',
scrolling: 'Galluogi bariau sgrolio',
title: 'Priodweddau IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'da', {
border: 'Vis kant på rammen',
noUrl: 'Venligst indsæt URL på iframen',
scrolling: 'Aktiver scrollbars',
title: 'Iframe egenskaber',
toolbar: 'Iframe',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'de-ch', {
border: 'Rahmen anzeigen',
noUrl: 'Bitte geben Sie die IFrame-URL an',
scrolling: 'Rollbalken anzeigen',
title: 'IFrame-Eigenschaften',
toolbar: 'IFrame',
tabindex: 'Aus Tab-Reihenfolge entfernen'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'de', {
border: 'Rahmen anzeigen',
noUrl: 'Bitte geben Sie die IFrame-URL an',
scrolling: 'Rollbalken anzeigen',
title: 'IFrame-Eigenschaften',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'el', {
border: 'Προβολή περιγράμματος πλαισίου',
noUrl: 'Παρακαλούμε εισάγεται το URL του iframe',
scrolling: 'Ενεργοποίηση μπαρών κύλισης',
title: 'Ιδιότητες IFrame',
toolbar: 'IFrame',
tabindex: 'Απομάκρυνση από ευρετήριο στηλοθέτη.'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'en-au', {
border: 'Show frame border',
noUrl: 'Please type the iframe URL',
scrolling: 'Enable scrollbars',
title: 'IFrame Properties',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'en-ca', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'en-gb', {
border: 'Show frame border',
noUrl: 'Please type the iframe URL',
scrolling: 'Enable scrollbars',
title: 'IFrame Properties',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'en', {
border: 'Show frame border',
noUrl: 'Please type the iframe URL',
scrolling: 'Enable scrollbars',
title: 'IFrame Properties',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'eo', {
border: 'Montri borderon de kadro (frame)',
noUrl: 'Bonvolu entajpi la retadreson de la ligilo al la enlinia kadro (IFrame)',
scrolling: 'Ebligi rulumskalon',
title: 'Atributoj de la enlinia kadro (IFrame)',
toolbar: 'Enlinia kadro (IFrame)',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'es-mx', {
border: 'Mostrar el borde del marco',
noUrl: 'Ingresa la URL del iframe',
scrolling: 'Habilitar la barra de desplazamiento',
title: 'Propiedades del IFrame',
toolbar: 'Iframe',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'es', {
border: 'Mostrar borde del marco',
noUrl: 'Por favor, escriba la dirección del iframe',
scrolling: 'Activar barras de desplazamiento',
title: 'Propiedades de iframe',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'et', {
border: 'Raami äärise näitamine',
noUrl: 'Vali iframe URLi liik',
scrolling: 'Kerimisribade lubamine',
title: 'IFrame omadused',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'eu', {
border: 'Erakutsi markoaren ertza',
noUrl: 'Idatzi iframe-aren URLa, mesedez.',
scrolling: 'Gaitu korritze-barrak',
title: 'IFrame-aren propietateak',
toolbar: 'IFrame-a',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'fa', {
border: 'نمایش خطوط frame',
noUrl: 'لطفا مسیر URL iframe را درج کنید',
scrolling: 'نمایش خطکشها',
title: 'ویژگیهای IFrame',
toolbar: 'IFrame',
tabindex: 'حذف از tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'fi', {
border: 'Näytä kehyksen reunat',
noUrl: 'Anna IFrame-kehykselle lähdeosoite (src)',
scrolling: 'Näytä vierityspalkit',
title: 'IFrame-kehyksen ominaisuudet',
toolbar: 'IFrame-kehys',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'fo', {
border: 'Vís frame kant',
noUrl: 'Vinarliga skriva URL til iframe',
scrolling: 'Loyv scrollbars',
title: 'Møguleikar fyri IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'fr-ca', {
border: 'Afficher la bordure du cadre',
noUrl: 'Veuillez entre l\'URL du IFrame',
scrolling: 'Activer les barres de défilement',
title: 'Propriétés du IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'fr', {
border: 'Afficher la bordure du cadre',
noUrl: 'Veuillez entrer l\'URL du contenu du cadre',
scrolling: 'Activer les barres de défilement',
title: 'Propriétés du cadre de contenu incorporé',
toolbar: 'Cadre de contenu incorporé',
tabindex: 'Supprimer de tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'gl', {
border: 'Amosar o bordo do marco',
noUrl: 'Escriba o enderezo do iframe',
scrolling: 'Activar as barras de desprazamento',
title: 'Propiedades do iFrame',
toolbar: 'IFrame',
tabindex: 'Eliminar do índice de tabulación'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'gu', {
border: 'ફ્રેમ બોર્ડેર બતાવવી',
noUrl: 'iframe URL ટાઈપ્ કરો',
scrolling: 'સ્ક્રોલબાર ચાલુ કરવા',
title: 'IFrame વિકલ્પો',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'he', {
border: 'הראה מסגרת לחלון',
noUrl: 'יש להכניס כתובת לחלון.',
scrolling: 'אפשר פסי גלילה',
title: 'מאפייני חלון פנימי (iframe)',
toolbar: 'חלון פנימי (iframe)',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'hi', {
border: 'Show frame border',
noUrl: 'Please type the iframe URL',
scrolling: 'Enable scrollbars',
title: 'IFrame Properties',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'hr', {
border: 'Prikaži okvir IFrame-a',
noUrl: 'Unesite URL IFrame-a',
scrolling: 'Omogući trake za skrolanje',
title: 'IFrame svojstva',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'hu', {
border: 'Legyen keret',
noUrl: 'Kérem írja be a iframe URL-t',
scrolling: 'Gördítősáv bekapcsolása',
title: 'IFrame Tulajdonságok',
toolbar: 'IFrame',
tabindex: 'Eltávolítás a tabindexből'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'id', {
border: 'Tampilkan Batas Bingkai',
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Aktifkan Scrollbar',
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'is', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'it', {
border: 'Mostra il bordo',
noUrl: 'Inserire l\'URL del campo IFrame',
scrolling: 'Abilita scrollbar',
title: 'Proprietà IFrame',
toolbar: 'IFrame',
tabindex: 'Rimuovi da tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ja', {
border: 'フレームの枠を表示',
noUrl: 'iframeのURLを入力してください。',
scrolling: 'スクロールバーの表示を許可',
title: 'iFrameのプロパティ',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ka', {
border: 'ჩარჩოს გამოჩენა',
noUrl: 'აკრიფეთ iframe-ის URL',
scrolling: 'გადახვევის ზოლების დაშვება',
title: 'IFrame-ის პარამეტრები',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'km', {
border: 'បង្ហាញ​បន្ទាត់​ស៊ុម',
noUrl: 'សូម​បញ្ចូល URL របស់ iframe',
scrolling: 'ប្រើ​របារ​រំកិល',
title: 'លក្ខណៈ​សម្បត្តិ IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ko', {
border: '프레임 테두리 표시',
noUrl: '아이프레임 주소(URL)를 입력해주세요.',
scrolling: '스크롤바 사용',
title: '아이프레임 속성',
toolbar: '아이프레임',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ku', {
border: 'نیشاندانی لاکێشه بە چوواردەوری چووارچێوە',
noUrl: 'تکایه ناونیشانی بەستەر بنووسه بۆ چووارچێوه',
scrolling: 'چالاککردنی هاتووچۆپێکردن',
title: 'دیالۆگی چووارچێوه',
toolbar: 'چووارچێوه',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'lt', {
border: 'Rodyti rėmelį',
noUrl: 'Nurodykite iframe nuorodą',
scrolling: 'Įjungti slankiklius',
title: 'IFrame nustatymai',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'lv', {
border: 'Rādīt rāmi',
noUrl: 'Norādiet iframe adresi',
scrolling: 'Atļaut ritjoslas',
title: 'IFrame uzstādījumi',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'mk', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'mn', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ms', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame', // MISSING
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'nb', {
border: 'Vis ramme rundt iframe',
noUrl: 'Vennligst skriv inn URL for iframe',
scrolling: 'Aktiver scrollefelt',
title: 'Egenskaper for IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'nl', {
border: 'Framerand tonen',
noUrl: 'Vul de IFrame URL in',
scrolling: 'Scrollbalken inschakelen',
title: 'IFrame-eigenschappen',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'no', {
border: 'Viss ramme rundt iframe',
noUrl: 'Vennligst skriv inn URL for iframe',
scrolling: 'Aktiver scrollefelt',
title: 'Egenskaper for IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'oc', {
border: 'Afichar la bordadura del quadre',
noUrl: 'Entratz l\'URL del contengut del quadre',
scrolling: 'Activar las barras de desfilament',
title: 'Proprietats del quadre de contengut incorporat',
toolbar: 'Quadre de contengut incorporat',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'pl', {
border: 'Pokaż obramowanie obiektu IFrame',
noUrl: 'Podaj adres URL elementu IFrame',
scrolling: 'Włącz paski przewijania',
title: 'Właściwości elementu IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'pt-br', {
border: 'Mostra borda do iframe',
noUrl: 'Insira a URL do iframe',
scrolling: 'Abilita scrollbars',
title: 'Propriedade do IFrame',
toolbar: 'IFrame',
tabindex: 'Remover da tabulação'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'pt', {
border: 'Mostrar a borda da Frame',
noUrl: 'Por favor, digite o URL da iframe',
scrolling: 'Ativar barras de rolamento',
title: 'Propriedades da IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ro', {
border: 'Arată bordura chenarului',
noUrl: 'Te rog scrie URL-ul iframe-ului',
scrolling: 'Permite bare de defilare',
title: 'Proprietăți IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ru', {
border: 'Показать границы фрейма',
noUrl: 'Пожалуйста, введите ссылку фрейма',
scrolling: 'Отображать полосы прокрутки',
title: 'Свойства iFrame',
toolbar: 'iFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'si', {
border: 'සැකිල්ලේ කඩයිම් ',
noUrl: 'කරුණාකර රුපයේ URL ලියන්න',
scrolling: 'සක්ක්‍රිය කරන්න',
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sk', {
border: 'Zobraziť rám frame-u',
noUrl: 'Prosím, vložte URL iframe',
scrolling: 'Povoliť skrolovanie',
title: 'Vlastnosti IFrame',
toolbar: 'IFrame',
tabindex: 'Odstrániť z tabindexu'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sl', {
border: 'Pokaži obrobo okvirja',
noUrl: 'Prosimo, vnesite iframe URL',
scrolling: 'Omogoči drsnike',
title: 'Lastnosti IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sq', {
border: 'Shfaq kufirin e kornizës',
noUrl: 'Ju lutemi shkruani URL-në e iframe-it',
scrolling: 'Lejo shiritët zvarritës',
title: 'Karakteristikat e IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sr-latn', {
border: 'Prikaži granicu okvira',
noUrl: 'Unesite iframe URL',
scrolling: 'Uključi pomerajuće trake',
title: 'IFrame podešavanje',
toolbar: 'IFrame',
tabindex: 'Uklonite sa tabindeksa'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sr', {
border: 'Прикажи границу оквира',
noUrl: 'Унесите iframe УРЛ',
scrolling: 'Укљзчи померајуће траке.',
title: 'IFrame подешавање',
toolbar: 'IFrame',
tabindex: 'Уклоните са табиндекcа '
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'sv', {
border: 'Visa ramkant',
noUrl: 'Skriv in URL för iFrame',
scrolling: 'Aktivera rullningslister',
title: 'iFrame-egenskaper',
toolbar: 'iFrame',
tabindex: 'Ta bort från tabindex'
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'th', {
border: 'Show frame border', // MISSING
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame Properties', // MISSING
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'tr', {
border: 'Çerceve sınırlarını göster',
noUrl: 'Lütfen IFrame köprü (URL) bağlantısını yazın',
scrolling: 'Kaydırma çubuklarını aktif et',
title: 'IFrame Özellikleri',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'tt', {
border: 'Frame чикләрен күрсәтү',
noUrl: 'Please type the iframe URL', // MISSING
scrolling: 'Enable scrollbars', // MISSING
title: 'IFrame үзлекләре',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'ug', {
border: 'كاندۇك گىرۋەكلىرىنى كۆرسەت',
noUrl: 'كاندۇكنىڭ ئادرېسى(Url)نى كىرگۈزۈڭ',
scrolling: 'دومىلىما سۈرگۈچكە يول قوي',
title: 'IFrame خاسلىق',
toolbar: 'IFrame ',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'uk', {
border: 'Показати рамки фрейму',
noUrl: 'Будь ласка введіть URL посилання для IFrame',
scrolling: 'Увімкнути прокрутку',
title: 'Налаштування для IFrame',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'vi', {
border: 'Hiển thị viền khung',
noUrl: 'Vui lòng nhập địa chỉ iframe',
scrolling: 'Kích hoạt thanh cuộn',
title: 'Thuộc tính iframe',
toolbar: 'Iframe',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'zh-cn', {
border: '显示框架边框',
noUrl: '请输入框架的 URL',
scrolling: '允许滚动条',
title: 'IFrame 属性',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2003-2022, 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( 'iframe', 'zh', {
border: '顯示框架框線',
noUrl: '請輸入 iframe URL',
scrolling: '啟用捲軸列',
title: 'IFrame 屬性',
toolbar: 'IFrame',
tabindex: 'Remove from tabindex' // MISSING
} );

View File

@@ -0,0 +1,85 @@
/**
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
( function() {
CKEDITOR.plugins.add( 'iframe', {
requires: 'dialog,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
icons: 'iframe', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
onLoad: function() {
CKEDITOR.addCss( 'img.cke_iframe' +
'{' +
'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' +
'background-position: center center;' +
'background-repeat: no-repeat;' +
'border: 1px solid #a9a9a9;' +
'width: 80px;' +
'height: 80px;' +
'}'
);
},
init: function( editor ) {
var pluginName = 'iframe',
lang = editor.lang.iframe,
allowed = 'iframe[align,longdesc,tabindex,frameborder,height,name,scrolling,src,title,width]';
if ( editor.plugins.dialogadvtab )
allowed += ';iframe' + editor.plugins.dialogadvtab.allowedContent( { id: 1, classes: 1, styles: 1 } );
CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/iframe.js' );
editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName, {
allowedContent: allowed,
requiredContent: 'iframe'
} ) );
editor.ui.addButton && editor.ui.addButton( 'Iframe', {
label: lang.toolbar,
command: pluginName,
toolbar: 'insert,80'
} );
editor.on( 'doubleclick', function( evt ) {
var element = evt.data.element;
if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' )
evt.data.dialog = 'iframe';
} );
if ( editor.addMenuItems ) {
editor.addMenuItems( {
iframe: {
label: lang.title,
command: 'iframe',
group: 'image'
}
} );
}
// If the "contextmenu" plugin is loaded, register the listeners.
if ( editor.contextMenu ) {
editor.contextMenu.addListener( function( element ) {
if ( element && element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' )
return { iframe: CKEDITOR.TRISTATE_OFF };
} );
}
},
afterInit: function( editor ) {
var dataProcessor = editor.dataProcessor,
dataFilter = dataProcessor && dataProcessor.dataFilter;
if ( dataFilter ) {
dataFilter.addRules( {
elements: {
iframe: function( element ) {
return editor.createFakeParserElement( element, 'cke_iframe', 'iframe', true );
}
}
} );
}
}
} );
} )();