diff options
Diffstat (limited to 'sources/plugins/iframe')
72 files changed, 1029 insertions, 0 deletions
diff --git a/sources/plugins/iframe/dialogs/iframe.js b/sources/plugins/iframe/dialogs/iframe.js new file mode 100644 index 0000000..4b874ca --- /dev/null +++ b/sources/plugins/iframe/dialogs/iframe.js | |||
@@ -0,0 +1,207 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | ( function() { | ||
7 | // Map 'true' and 'false' values to match W3C's specifications | ||
8 | // http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5 | ||
9 | var checkboxValues = { | ||
10 | scrolling: { 'true': 'yes', 'false': 'no' }, | ||
11 | frameborder: { 'true': '1', 'false': '0' } | ||
12 | }; | ||
13 | |||
14 | function loadValue( iframeNode ) { | ||
15 | var isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox; | ||
16 | if ( iframeNode.hasAttribute( this.id ) ) { | ||
17 | var value = iframeNode.getAttribute( this.id ); | ||
18 | if ( isCheckbox ) | ||
19 | this.setValue( checkboxValues[ this.id ][ 'true' ] == value.toLowerCase() ); | ||
20 | else | ||
21 | this.setValue( value ); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | function commitValue( iframeNode ) { | ||
26 | var isRemove = this.getValue() === '', | ||
27 | isCheckbox = this instanceof CKEDITOR.ui.dialog.checkbox, | ||
28 | value = this.getValue(); | ||
29 | if ( isRemove ) | ||
30 | iframeNode.removeAttribute( this.att || this.id ); | ||
31 | else if ( isCheckbox ) | ||
32 | iframeNode.setAttribute( this.id, checkboxValues[ this.id ][ value ] ); | ||
33 | else | ||
34 | iframeNode.setAttribute( this.att || this.id, value ); | ||
35 | } | ||
36 | |||
37 | CKEDITOR.dialog.add( 'iframe', function( editor ) { | ||
38 | var iframeLang = editor.lang.iframe, | ||
39 | commonLang = editor.lang.common, | ||
40 | dialogadvtab = editor.plugins.dialogadvtab; | ||
41 | return { | ||
42 | title: iframeLang.title, | ||
43 | minWidth: 350, | ||
44 | minHeight: 260, | ||
45 | onShow: function() { | ||
46 | // Clear previously saved elements. | ||
47 | this.fakeImage = this.iframeNode = null; | ||
48 | |||
49 | var fakeImage = this.getSelectedElement(); | ||
50 | if ( fakeImage && fakeImage.data( 'cke-real-element-type' ) && fakeImage.data( 'cke-real-element-type' ) == 'iframe' ) { | ||
51 | this.fakeImage = fakeImage; | ||
52 | |||
53 | var iframeNode = editor.restoreRealElement( fakeImage ); | ||
54 | this.iframeNode = iframeNode; | ||
55 | |||
56 | this.setupContent( iframeNode ); | ||
57 | } | ||
58 | }, | ||
59 | onOk: function() { | ||
60 | var iframeNode; | ||
61 | if ( !this.fakeImage ) | ||
62 | iframeNode = new CKEDITOR.dom.element( 'iframe' ); | ||
63 | else | ||
64 | iframeNode = this.iframeNode; | ||
65 | |||
66 | // A subset of the specified attributes/styles | ||
67 | // should also be applied on the fake element to | ||
68 | // have better visual effect. (#5240) | ||
69 | var extraStyles = {}, | ||
70 | extraAttributes = {}; | ||
71 | this.commitContent( iframeNode, extraStyles, extraAttributes ); | ||
72 | |||
73 | // Refresh the fake image. | ||
74 | var newFakeImage = editor.createFakeElement( iframeNode, 'cke_iframe', 'iframe', true ); | ||
75 | newFakeImage.setAttributes( extraAttributes ); | ||
76 | newFakeImage.setStyles( extraStyles ); | ||
77 | if ( this.fakeImage ) { | ||
78 | newFakeImage.replace( this.fakeImage ); | ||
79 | editor.getSelection().selectElement( newFakeImage ); | ||
80 | } else { | ||
81 | editor.insertElement( newFakeImage ); | ||
82 | } | ||
83 | }, | ||
84 | contents: [ { | ||
85 | id: 'info', | ||
86 | label: commonLang.generalTab, | ||
87 | accessKey: 'I', | ||
88 | elements: [ { | ||
89 | type: 'vbox', | ||
90 | padding: 0, | ||
91 | children: [ { | ||
92 | id: 'src', | ||
93 | type: 'text', | ||
94 | label: commonLang.url, | ||
95 | required: true, | ||
96 | validate: CKEDITOR.dialog.validate.notEmpty( iframeLang.noUrl ), | ||
97 | setup: loadValue, | ||
98 | commit: commitValue | ||
99 | } ] | ||
100 | }, | ||
101 | { | ||
102 | type: 'hbox', | ||
103 | children: [ { | ||
104 | id: 'width', | ||
105 | type: 'text', | ||
106 | requiredContent: 'iframe[width]', | ||
107 | style: 'width:100%', | ||
108 | labelLayout: 'vertical', | ||
109 | label: commonLang.width, | ||
110 | validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.width ) ), | ||
111 | setup: loadValue, | ||
112 | commit: commitValue | ||
113 | }, | ||
114 | { | ||
115 | id: 'height', | ||
116 | type: 'text', | ||
117 | requiredContent: 'iframe[height]', | ||
118 | style: 'width:100%', | ||
119 | labelLayout: 'vertical', | ||
120 | label: commonLang.height, | ||
121 | validate: CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.height ) ), | ||
122 | setup: loadValue, | ||
123 | commit: commitValue | ||
124 | }, | ||
125 | { | ||
126 | id: 'align', | ||
127 | type: 'select', | ||
128 | requiredContent: 'iframe[align]', | ||
129 | 'default': '', | ||
130 | items: [ | ||
131 | [ commonLang.notSet, '' ], | ||
132 | [ commonLang.alignLeft, 'left' ], | ||
133 | [ commonLang.alignRight, 'right' ], | ||
134 | [ commonLang.alignTop, 'top' ], | ||
135 | [ commonLang.alignMiddle, 'middle' ], | ||
136 | [ commonLang.alignBottom, 'bottom' ] | ||
137 | ], | ||
138 | style: 'width:100%', | ||
139 | labelLayout: 'vertical', | ||
140 | label: commonLang.align, | ||
141 | setup: function( iframeNode, fakeImage ) { | ||
142 | loadValue.apply( this, arguments ); | ||
143 | if ( fakeImage ) { | ||
144 | var fakeImageAlign = fakeImage.getAttribute( 'align' ); | ||
145 | this.setValue( fakeImageAlign && fakeImageAlign.toLowerCase() || '' ); | ||
146 | } | ||
147 | }, | ||
148 | commit: function( iframeNode, extraStyles, extraAttributes ) { | ||
149 | commitValue.apply( this, arguments ); | ||
150 | if ( this.getValue() ) | ||
151 | extraAttributes.align = this.getValue(); | ||
152 | } | ||
153 | } ] | ||
154 | }, | ||
155 | { | ||
156 | type: 'hbox', | ||
157 | widths: [ '50%', '50%' ], | ||
158 | children: [ { | ||
159 | id: 'scrolling', | ||
160 | type: 'checkbox', | ||
161 | requiredContent: 'iframe[scrolling]', | ||
162 | label: iframeLang.scrolling, | ||
163 | setup: loadValue, | ||
164 | commit: commitValue | ||
165 | }, | ||
166 | { | ||
167 | id: 'frameborder', | ||
168 | type: 'checkbox', | ||
169 | requiredContent: 'iframe[frameborder]', | ||
170 | label: iframeLang.border, | ||
171 | setup: loadValue, | ||
172 | commit: commitValue | ||
173 | } ] | ||
174 | }, | ||
175 | { | ||
176 | type: 'hbox', | ||
177 | widths: [ '50%', '50%' ], | ||
178 | children: [ { | ||
179 | id: 'name', | ||
180 | type: 'text', | ||
181 | requiredContent: 'iframe[name]', | ||
182 | label: commonLang.name, | ||
183 | setup: loadValue, | ||
184 | commit: commitValue | ||
185 | }, | ||
186 | { | ||
187 | id: 'title', | ||
188 | type: 'text', | ||
189 | requiredContent: 'iframe[title]', | ||
190 | label: commonLang.advisoryTitle, | ||
191 | setup: loadValue, | ||
192 | commit: commitValue | ||
193 | } ] | ||
194 | }, | ||
195 | { | ||
196 | id: 'longdesc', | ||
197 | type: 'text', | ||
198 | requiredContent: 'iframe[longdesc]', | ||
199 | label: commonLang.longDescr, | ||
200 | setup: loadValue, | ||
201 | commit: commitValue | ||
202 | } ] | ||
203 | }, | ||
204 | dialogadvtab && dialogadvtab.createAdvancedTab( editor, { id: 1, classes: 1, styles: 1 }, 'iframe' ) | ||
205 | ] }; | ||
206 | } ); | ||
207 | } )(); | ||
diff --git a/sources/plugins/iframe/icons/hidpi/iframe.png b/sources/plugins/iframe/icons/hidpi/iframe.png new file mode 100644 index 0000000..ff17604 --- /dev/null +++ b/sources/plugins/iframe/icons/hidpi/iframe.png | |||
Binary files differ | |||
diff --git a/sources/plugins/iframe/icons/iframe.png b/sources/plugins/iframe/icons/iframe.png new file mode 100644 index 0000000..f72d191 --- /dev/null +++ b/sources/plugins/iframe/icons/iframe.png | |||
Binary files differ | |||
diff --git a/sources/plugins/iframe/images/placeholder.png b/sources/plugins/iframe/images/placeholder.png new file mode 100644 index 0000000..4af0956 --- /dev/null +++ b/sources/plugins/iframe/images/placeholder.png | |||
Binary files differ | |||
diff --git a/sources/plugins/iframe/lang/af.js b/sources/plugins/iframe/lang/af.js new file mode 100644 index 0000000..4770879 --- /dev/null +++ b/sources/plugins/iframe/lang/af.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'af', { | ||
6 | border: 'Wys rand van raam', | ||
7 | noUrl: 'Gee die iframe URL', | ||
8 | scrolling: 'Skuifbalke aan', | ||
9 | title: 'IFrame Eienskappe', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ar.js b/sources/plugins/iframe/lang/ar.js new file mode 100644 index 0000000..1b5c046 --- /dev/null +++ b/sources/plugins/iframe/lang/ar.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ar', { | ||
6 | border: 'إظهار حدود الإطار', | ||
7 | noUrl: 'فضلا أكتب رابط الـ iframe', | ||
8 | scrolling: 'تفعيل أشرطة الإنتقال', | ||
9 | title: 'خصائص iframe', | ||
10 | toolbar: 'iframe' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/bg.js b/sources/plugins/iframe/lang/bg.js new file mode 100644 index 0000000..d365742 --- /dev/null +++ b/sources/plugins/iframe/lang/bg.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'bg', { | ||
6 | border: 'Показва рамка на карето', | ||
7 | noUrl: 'Моля въведете URL за iFrame', | ||
8 | scrolling: 'Вкл. скролбаровете', | ||
9 | title: 'IFrame настройки', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/bn.js b/sources/plugins/iframe/lang/bn.js new file mode 100644 index 0000000..0a91e7c --- /dev/null +++ b/sources/plugins/iframe/lang/bn.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'bn', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/bs.js b/sources/plugins/iframe/lang/bs.js new file mode 100644 index 0000000..63eb7b6 --- /dev/null +++ b/sources/plugins/iframe/lang/bs.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'bs', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ca.js b/sources/plugins/iframe/lang/ca.js new file mode 100644 index 0000000..0802715 --- /dev/null +++ b/sources/plugins/iframe/lang/ca.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ca', { | ||
6 | border: 'Mostra la vora del marc', | ||
7 | noUrl: 'Si us plau, introdueixi la URL de l\'iframe', | ||
8 | scrolling: 'Activa les barres de desplaçament', | ||
9 | title: 'Propietats de l\'IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/cs.js b/sources/plugins/iframe/lang/cs.js new file mode 100644 index 0000000..fa3e85c --- /dev/null +++ b/sources/plugins/iframe/lang/cs.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'cs', { | ||
6 | border: 'Zobrazit okraj', | ||
7 | noUrl: 'Zadejte prosím URL obsahu pro IFrame', | ||
8 | scrolling: 'Zapnout posuvníky', | ||
9 | title: 'Vlastnosti IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/cy.js b/sources/plugins/iframe/lang/cy.js new file mode 100644 index 0000000..e89adc7 --- /dev/null +++ b/sources/plugins/iframe/lang/cy.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'cy', { | ||
6 | border: 'Dangos ymyl y ffrâm', | ||
7 | noUrl: 'Rhowch URL yr iframe', | ||
8 | scrolling: 'Galluogi bariau sgrolio', | ||
9 | title: 'Priodweddau IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/da.js b/sources/plugins/iframe/lang/da.js new file mode 100644 index 0000000..d14b8cd --- /dev/null +++ b/sources/plugins/iframe/lang/da.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'da', { | ||
6 | border: 'Vis kant på rammen', | ||
7 | noUrl: 'Venligst indsæt URL på iframen', | ||
8 | scrolling: 'Aktiver scrollbars', | ||
9 | title: 'Iframe egenskaber', | ||
10 | toolbar: 'Iframe' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/de-ch.js b/sources/plugins/iframe/lang/de-ch.js new file mode 100644 index 0000000..233b55b --- /dev/null +++ b/sources/plugins/iframe/lang/de-ch.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'de-ch', { | ||
6 | border: 'Rahmen anzeigen', | ||
7 | noUrl: 'Bitte geben Sie die IFrame-URL an', | ||
8 | scrolling: 'Rollbalken anzeigen', | ||
9 | title: 'IFrame-Eigenschaften', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/de.js b/sources/plugins/iframe/lang/de.js new file mode 100644 index 0000000..184387f --- /dev/null +++ b/sources/plugins/iframe/lang/de.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'de', { | ||
6 | border: 'Rahmen anzeigen', | ||
7 | noUrl: 'Bitte geben Sie die IFrame-URL an', | ||
8 | scrolling: 'Rollbalken anzeigen', | ||
9 | title: 'IFrame-Eigenschaften', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/el.js b/sources/plugins/iframe/lang/el.js new file mode 100644 index 0000000..b09fdf9 --- /dev/null +++ b/sources/plugins/iframe/lang/el.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'el', { | ||
6 | border: 'Προβολή περιγράμματος πλαισίου', | ||
7 | noUrl: 'Παρακαλούμε εισάγεται το URL του iframe', | ||
8 | scrolling: 'Ενεργοποίηση μπαρών κύλισης', | ||
9 | title: 'Ιδιότητες IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/en-au.js b/sources/plugins/iframe/lang/en-au.js new file mode 100644 index 0000000..9f0885f --- /dev/null +++ b/sources/plugins/iframe/lang/en-au.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'en-au', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/en-ca.js b/sources/plugins/iframe/lang/en-ca.js new file mode 100644 index 0000000..20d438c --- /dev/null +++ b/sources/plugins/iframe/lang/en-ca.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'en-ca', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/en-gb.js b/sources/plugins/iframe/lang/en-gb.js new file mode 100644 index 0000000..86a3fc0 --- /dev/null +++ b/sources/plugins/iframe/lang/en-gb.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'en-gb', { | ||
6 | border: 'Show frame border', | ||
7 | noUrl: 'Please type the iframe URL', | ||
8 | scrolling: 'Enable scrollbars', | ||
9 | title: 'IFrame Properties', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/en.js b/sources/plugins/iframe/lang/en.js new file mode 100644 index 0000000..cf39cbe --- /dev/null +++ b/sources/plugins/iframe/lang/en.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'en', { | ||
6 | border: 'Show frame border', | ||
7 | noUrl: 'Please type the iframe URL', | ||
8 | scrolling: 'Enable scrollbars', | ||
9 | title: 'IFrame Properties', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/eo.js b/sources/plugins/iframe/lang/eo.js new file mode 100644 index 0000000..1f50783 --- /dev/null +++ b/sources/plugins/iframe/lang/eo.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'eo', { | ||
6 | border: 'Montri borderon de kadro (frame)', | ||
7 | noUrl: 'Bonvolu entajpi la retadreson de la ligilo al la enlinia kadro (IFrame)', | ||
8 | scrolling: 'Ebligi rulumskalon', | ||
9 | title: 'Atributoj de la enlinia kadro (IFrame)', | ||
10 | toolbar: 'Enlinia kadro (IFrame)' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/es.js b/sources/plugins/iframe/lang/es.js new file mode 100644 index 0000000..67955e3 --- /dev/null +++ b/sources/plugins/iframe/lang/es.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'es', { | ||
6 | border: 'Mostrar borde del marco', | ||
7 | noUrl: 'Por favor, escriba la dirección del iframe', | ||
8 | scrolling: 'Activar barras de desplazamiento', | ||
9 | title: 'Propiedades de iframe', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/et.js b/sources/plugins/iframe/lang/et.js new file mode 100644 index 0000000..e01acb8 --- /dev/null +++ b/sources/plugins/iframe/lang/et.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'et', { | ||
6 | border: 'Raami äärise näitamine', | ||
7 | noUrl: 'Vali iframe URLi liik', | ||
8 | scrolling: 'Kerimisribade lubamine', | ||
9 | title: 'IFrame omadused', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/eu.js b/sources/plugins/iframe/lang/eu.js new file mode 100644 index 0000000..9f78376 --- /dev/null +++ b/sources/plugins/iframe/lang/eu.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'eu', { | ||
6 | border: 'Erakutsi markoaren ertza', | ||
7 | noUrl: 'Idatzi iframe-aren URLa, mesedez.', | ||
8 | scrolling: 'Gaitu korritze-barrak', | ||
9 | title: 'IFrame-aren propietateak', | ||
10 | toolbar: 'IFrame-a' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/fa.js b/sources/plugins/iframe/lang/fa.js new file mode 100644 index 0000000..4f96602 --- /dev/null +++ b/sources/plugins/iframe/lang/fa.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'fa', { | ||
6 | border: 'نمایش خطوط frame', | ||
7 | noUrl: 'لطفا مسیر URL iframe را درج کنید', | ||
8 | scrolling: 'نمایش خطکشها', | ||
9 | title: 'ویژگیهای IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/fi.js b/sources/plugins/iframe/lang/fi.js new file mode 100644 index 0000000..3413f0e --- /dev/null +++ b/sources/plugins/iframe/lang/fi.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'fi', { | ||
6 | border: 'Näytä kehyksen reunat', | ||
7 | noUrl: 'Anna IFrame-kehykselle lähdeosoite (src)', | ||
8 | scrolling: 'Näytä vierityspalkit', | ||
9 | title: 'IFrame-kehyksen ominaisuudet', | ||
10 | toolbar: 'IFrame-kehys' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/fo.js b/sources/plugins/iframe/lang/fo.js new file mode 100644 index 0000000..877e5d8 --- /dev/null +++ b/sources/plugins/iframe/lang/fo.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'fo', { | ||
6 | border: 'Vís frame kant', | ||
7 | noUrl: 'Vinarliga skriva URL til iframe', | ||
8 | scrolling: 'Loyv scrollbars', | ||
9 | title: 'Møguleikar fyri IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/fr-ca.js b/sources/plugins/iframe/lang/fr-ca.js new file mode 100644 index 0000000..d472cf9 --- /dev/null +++ b/sources/plugins/iframe/lang/fr-ca.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'fr-ca', { | ||
6 | border: 'Afficher la bordure du cadre', | ||
7 | noUrl: 'Veuillez entre l\'URL du IFrame', | ||
8 | scrolling: 'Activer les barres de défilement', | ||
9 | title: 'Propriétés du IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/fr.js b/sources/plugins/iframe/lang/fr.js new file mode 100644 index 0000000..3cfd49a --- /dev/null +++ b/sources/plugins/iframe/lang/fr.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'fr', { | ||
6 | border: 'Afficher une bordure de la IFrame', | ||
7 | noUrl: 'Veuillez entrer l\'adresse du lien de la IFrame', | ||
8 | scrolling: 'Permettre à la barre de défilement', | ||
9 | title: 'Propriétés de la IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/gl.js b/sources/plugins/iframe/lang/gl.js new file mode 100644 index 0000000..a19d1ee --- /dev/null +++ b/sources/plugins/iframe/lang/gl.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'gl', { | ||
6 | border: 'Amosar o bordo do marco', | ||
7 | noUrl: 'Escriba o enderezo do iframe', | ||
8 | scrolling: 'Activar as barras de desprazamento', | ||
9 | title: 'Propiedades do iFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/gu.js b/sources/plugins/iframe/lang/gu.js new file mode 100644 index 0000000..285484c --- /dev/null +++ b/sources/plugins/iframe/lang/gu.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'gu', { | ||
6 | border: 'ફ્રેમ બોર્ડેર બતાવવી', | ||
7 | noUrl: 'iframe URL ટાઈપ્ કરો', | ||
8 | scrolling: 'સ્ક્રોલબાર ચાલુ કરવા', | ||
9 | title: 'IFrame વિકલ્પો', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/he.js b/sources/plugins/iframe/lang/he.js new file mode 100644 index 0000000..bd9ce8b --- /dev/null +++ b/sources/plugins/iframe/lang/he.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'he', { | ||
6 | border: 'הראה מסגרת לחלון', | ||
7 | noUrl: 'יש להכניס כתובת לחלון.', | ||
8 | scrolling: 'אפשר פסי גלילה', | ||
9 | title: 'מאפייני חלון פנימי (iframe)', | ||
10 | toolbar: 'חלון פנימי (iframe)' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/hi.js b/sources/plugins/iframe/lang/hi.js new file mode 100644 index 0000000..a51c275 --- /dev/null +++ b/sources/plugins/iframe/lang/hi.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'hi', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/hr.js b/sources/plugins/iframe/lang/hr.js new file mode 100644 index 0000000..d01d19a --- /dev/null +++ b/sources/plugins/iframe/lang/hr.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'hr', { | ||
6 | border: 'Prikaži okvir IFrame-a', | ||
7 | noUrl: 'Unesite URL iframe-a', | ||
8 | scrolling: 'Omogući trake za skrolanje', | ||
9 | title: 'IFrame svojstva', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/hu.js b/sources/plugins/iframe/lang/hu.js new file mode 100644 index 0000000..7b69168 --- /dev/null +++ b/sources/plugins/iframe/lang/hu.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'hu', { | ||
6 | border: 'Legyen keret', | ||
7 | noUrl: 'Kérem írja be a iframe URL-t', | ||
8 | scrolling: 'Gördítősáv bekapcsolása', | ||
9 | title: 'IFrame Tulajdonságok', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/id.js b/sources/plugins/iframe/lang/id.js new file mode 100644 index 0000000..9f2fb24 --- /dev/null +++ b/sources/plugins/iframe/lang/id.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'id', { | ||
6 | border: 'Tampilkan Batas Bingkai', | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Aktifkan Scrollbar', | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/is.js b/sources/plugins/iframe/lang/is.js new file mode 100644 index 0000000..7a75de8 --- /dev/null +++ b/sources/plugins/iframe/lang/is.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'is', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/it.js b/sources/plugins/iframe/lang/it.js new file mode 100644 index 0000000..a785132 --- /dev/null +++ b/sources/plugins/iframe/lang/it.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'it', { | ||
6 | border: 'Mostra il bordo', | ||
7 | noUrl: 'Inserire l\'URL del campo IFrame', | ||
8 | scrolling: 'Abilita scrollbar', | ||
9 | title: 'Proprietà IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ja.js b/sources/plugins/iframe/lang/ja.js new file mode 100644 index 0000000..a24dd15 --- /dev/null +++ b/sources/plugins/iframe/lang/ja.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ja', { | ||
6 | border: 'フレームの枠を表示', | ||
7 | noUrl: 'iframeのURLを入力してください。', | ||
8 | scrolling: 'スクロールバーの表示を許可', | ||
9 | title: 'iFrameのプロパティ', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ka.js b/sources/plugins/iframe/lang/ka.js new file mode 100644 index 0000000..a7d3320 --- /dev/null +++ b/sources/plugins/iframe/lang/ka.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ka', { | ||
6 | border: 'ჩარჩოს გამოჩენა', | ||
7 | noUrl: 'აკრიფეთ iframe-ის URL', | ||
8 | scrolling: 'გადახვევის ზოლების დაშვება', | ||
9 | title: 'IFrame-ის პარამეტრები', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/km.js b/sources/plugins/iframe/lang/km.js new file mode 100644 index 0000000..0fea30c --- /dev/null +++ b/sources/plugins/iframe/lang/km.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'km', { | ||
6 | border: 'បង្ហាញបន្ទាត់ស៊ុម', | ||
7 | noUrl: 'សូមបញ្ចូល URL របស់ iframe', | ||
8 | scrolling: 'ប្រើរបាររំកិល', | ||
9 | title: 'លក្ខណៈសម្បត្តិ IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ko.js b/sources/plugins/iframe/lang/ko.js new file mode 100644 index 0000000..358b101 --- /dev/null +++ b/sources/plugins/iframe/lang/ko.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ko', { | ||
6 | border: '프레임 테두리 표시', | ||
7 | noUrl: '아이프레임 주소(URL)를 입력해주세요.', | ||
8 | scrolling: '스크롤바 사용', | ||
9 | title: '아이프레임 속성', | ||
10 | toolbar: '아이프레임' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ku.js b/sources/plugins/iframe/lang/ku.js new file mode 100644 index 0000000..6217ee1 --- /dev/null +++ b/sources/plugins/iframe/lang/ku.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ku', { | ||
6 | border: 'نیشاندانی لاکێشه بە چوواردەوری چووارچێوە', | ||
7 | noUrl: 'تکایه ناونیشانی بەستەر بنووسه بۆ چووارچێوه', | ||
8 | scrolling: 'چالاککردنی هاتووچۆپێکردن', | ||
9 | title: 'دیالۆگی چووارچێوه', | ||
10 | toolbar: 'چووارچێوه' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/lt.js b/sources/plugins/iframe/lang/lt.js new file mode 100644 index 0000000..6b4c298 --- /dev/null +++ b/sources/plugins/iframe/lang/lt.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'lt', { | ||
6 | border: 'Rodyti rėmelį', | ||
7 | noUrl: 'Nurodykite iframe nuorodą', | ||
8 | scrolling: 'Įjungti slankiklius', | ||
9 | title: 'IFrame nustatymai', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/lv.js b/sources/plugins/iframe/lang/lv.js new file mode 100644 index 0000000..6b10267 --- /dev/null +++ b/sources/plugins/iframe/lang/lv.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'lv', { | ||
6 | border: 'Rādīt rāmi', | ||
7 | noUrl: 'Norādiet iframe adresi', | ||
8 | scrolling: 'Atļaut ritjoslas', | ||
9 | title: 'IFrame uzstādījumi', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/mk.js b/sources/plugins/iframe/lang/mk.js new file mode 100644 index 0000000..6f0c2a2 --- /dev/null +++ b/sources/plugins/iframe/lang/mk.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'mk', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/mn.js b/sources/plugins/iframe/lang/mn.js new file mode 100644 index 0000000..bba8e02 --- /dev/null +++ b/sources/plugins/iframe/lang/mn.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'mn', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ms.js b/sources/plugins/iframe/lang/ms.js new file mode 100644 index 0000000..eea00cb --- /dev/null +++ b/sources/plugins/iframe/lang/ms.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ms', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/nb.js b/sources/plugins/iframe/lang/nb.js new file mode 100644 index 0000000..ffd6997 --- /dev/null +++ b/sources/plugins/iframe/lang/nb.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'nb', { | ||
6 | border: 'Vis ramme rundt iframe', | ||
7 | noUrl: 'Vennligst skriv inn URL for iframe', | ||
8 | scrolling: 'Aktiver scrollefelt', | ||
9 | title: 'Egenskaper for IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/nl.js b/sources/plugins/iframe/lang/nl.js new file mode 100644 index 0000000..fc80c47 --- /dev/null +++ b/sources/plugins/iframe/lang/nl.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'nl', { | ||
6 | border: 'Framerand tonen', | ||
7 | noUrl: 'Vul de IFrame URL in', | ||
8 | scrolling: 'Scrollbalken inschakelen', | ||
9 | title: 'IFrame-eigenschappen', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/no.js b/sources/plugins/iframe/lang/no.js new file mode 100644 index 0000000..59c7255 --- /dev/null +++ b/sources/plugins/iframe/lang/no.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'no', { | ||
6 | border: 'Viss ramme rundt iframe', | ||
7 | noUrl: 'Vennligst skriv inn URL for iframe', | ||
8 | scrolling: 'Aktiver scrollefelt', | ||
9 | title: 'Egenskaper for IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/pl.js b/sources/plugins/iframe/lang/pl.js new file mode 100644 index 0000000..3f63161 --- /dev/null +++ b/sources/plugins/iframe/lang/pl.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'pl', { | ||
6 | border: 'Pokaż obramowanie obiektu IFrame', | ||
7 | noUrl: 'Podaj adres URL elementu IFrame', | ||
8 | scrolling: 'Włącz paski przewijania', | ||
9 | title: 'Właściwości elementu IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/pt-br.js b/sources/plugins/iframe/lang/pt-br.js new file mode 100644 index 0000000..ae9157f --- /dev/null +++ b/sources/plugins/iframe/lang/pt-br.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'pt-br', { | ||
6 | border: 'Mostra borda do iframe', | ||
7 | noUrl: 'Insira a URL do iframe', | ||
8 | scrolling: 'Abilita scrollbars', | ||
9 | title: 'Propriedade do IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/pt.js b/sources/plugins/iframe/lang/pt.js new file mode 100644 index 0000000..0440cb0 --- /dev/null +++ b/sources/plugins/iframe/lang/pt.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'pt', { | ||
6 | border: 'Mostrar a borda da Frame', | ||
7 | noUrl: 'Por favor, digite o URL da iframe', | ||
8 | scrolling: 'Ativar barras de rolamento', | ||
9 | title: 'Propriedades da IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ro.js b/sources/plugins/iframe/lang/ro.js new file mode 100644 index 0000000..96dbb43 --- /dev/null +++ b/sources/plugins/iframe/lang/ro.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ro', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ru.js b/sources/plugins/iframe/lang/ru.js new file mode 100644 index 0000000..ca0bf8e --- /dev/null +++ b/sources/plugins/iframe/lang/ru.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ru', { | ||
6 | border: 'Показать границы фрейма', | ||
7 | noUrl: 'Пожалуйста, введите ссылку фрейма', | ||
8 | scrolling: 'Отображать полосы прокрутки', | ||
9 | title: 'Свойства iFrame', | ||
10 | toolbar: 'iFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/si.js b/sources/plugins/iframe/lang/si.js new file mode 100644 index 0000000..17d800d --- /dev/null +++ b/sources/plugins/iframe/lang/si.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'si', { | ||
6 | border: 'සැකිල්ලේ කඩයිම් ', | ||
7 | noUrl: 'කරුණාකර රුපයේ URL ලියන්න', | ||
8 | scrolling: 'සක්ක්රිය කරන්න', | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sk.js b/sources/plugins/iframe/lang/sk.js new file mode 100644 index 0000000..1b360d8 --- /dev/null +++ b/sources/plugins/iframe/lang/sk.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sk', { | ||
6 | border: 'Zobraziť rám frame-u', | ||
7 | noUrl: 'Prosím, vložte URL iframe', | ||
8 | scrolling: 'Povoliť skrolovanie', | ||
9 | title: 'Vlastnosti IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sl.js b/sources/plugins/iframe/lang/sl.js new file mode 100644 index 0000000..13eab17 --- /dev/null +++ b/sources/plugins/iframe/lang/sl.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sl', { | ||
6 | border: 'Pokaži mejo okvira', | ||
7 | noUrl: 'Prosimo, vnesite iframe URL', | ||
8 | scrolling: 'Omogoči scrollbars', | ||
9 | title: 'IFrame Lastnosti', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sq.js b/sources/plugins/iframe/lang/sq.js new file mode 100644 index 0000000..671f743 --- /dev/null +++ b/sources/plugins/iframe/lang/sq.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sq', { | ||
6 | border: 'Shfaq kufirin e kornizës', | ||
7 | noUrl: 'Ju lutemi shkruani URL-në e iframe-it', | ||
8 | scrolling: 'Lejo shiritët zvarritës', | ||
9 | title: 'Karakteristikat e IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sr-latn.js b/sources/plugins/iframe/lang/sr-latn.js new file mode 100644 index 0000000..7b7e316 --- /dev/null +++ b/sources/plugins/iframe/lang/sr-latn.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sr-latn', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sr.js b/sources/plugins/iframe/lang/sr.js new file mode 100644 index 0000000..d59430a --- /dev/null +++ b/sources/plugins/iframe/lang/sr.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sr', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' // MISSING | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/sv.js b/sources/plugins/iframe/lang/sv.js new file mode 100644 index 0000000..bd9f5f5 --- /dev/null +++ b/sources/plugins/iframe/lang/sv.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'sv', { | ||
6 | border: 'Visa ramkant', | ||
7 | noUrl: 'Skriv in URL för iFrame', | ||
8 | scrolling: 'Aktivera rullningslister', | ||
9 | title: 'iFrame Egenskaper', | ||
10 | toolbar: 'iFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/th.js b/sources/plugins/iframe/lang/th.js new file mode 100644 index 0000000..f22f335 --- /dev/null +++ b/sources/plugins/iframe/lang/th.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'th', { | ||
6 | border: 'Show frame border', // MISSING | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame Properties', // MISSING | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/tr.js b/sources/plugins/iframe/lang/tr.js new file mode 100644 index 0000000..6738e2a --- /dev/null +++ b/sources/plugins/iframe/lang/tr.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'tr', { | ||
6 | border: 'Çerceve sınırlarını göster', | ||
7 | noUrl: 'Lütfen IFrame köprü (URL) bağlantısını yazın', | ||
8 | scrolling: 'Kaydırma çubuklarını aktif et', | ||
9 | title: 'IFrame Özellikleri', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/tt.js b/sources/plugins/iframe/lang/tt.js new file mode 100644 index 0000000..8523323 --- /dev/null +++ b/sources/plugins/iframe/lang/tt.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'tt', { | ||
6 | border: 'Frame чикләрен күрсәтү', | ||
7 | noUrl: 'Please type the iframe URL', // MISSING | ||
8 | scrolling: 'Enable scrollbars', // MISSING | ||
9 | title: 'IFrame үзлекләре', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/ug.js b/sources/plugins/iframe/lang/ug.js new file mode 100644 index 0000000..3cbd5b0 --- /dev/null +++ b/sources/plugins/iframe/lang/ug.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'ug', { | ||
6 | border: 'كاندۇك گىرۋەكلىرىنى كۆرسەت', | ||
7 | noUrl: 'كاندۇكنىڭ ئادرېسى(Url)نى كىرگۈزۈڭ', | ||
8 | scrolling: 'دومىلىما سۈرگۈچكە يول قوي', | ||
9 | title: 'IFrame خاسلىق', | ||
10 | toolbar: 'IFrame ' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/uk.js b/sources/plugins/iframe/lang/uk.js new file mode 100644 index 0000000..c5173d2 --- /dev/null +++ b/sources/plugins/iframe/lang/uk.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'uk', { | ||
6 | border: 'Показати рамки фрейму', | ||
7 | noUrl: 'Будь ласка введіть URL посилання для IFrame', | ||
8 | scrolling: 'Увімкнути прокрутку', | ||
9 | title: 'Налаштування для IFrame', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/vi.js b/sources/plugins/iframe/lang/vi.js new file mode 100644 index 0000000..d7c2bc0 --- /dev/null +++ b/sources/plugins/iframe/lang/vi.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'vi', { | ||
6 | border: 'Hiển thị viền khung', | ||
7 | noUrl: 'Vui lòng nhập địa chỉ iframe', | ||
8 | scrolling: 'Kích hoạt thanh cuộn', | ||
9 | title: 'Thuộc tính iframe', | ||
10 | toolbar: 'Iframe' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/zh-cn.js b/sources/plugins/iframe/lang/zh-cn.js new file mode 100644 index 0000000..99e657a --- /dev/null +++ b/sources/plugins/iframe/lang/zh-cn.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'zh-cn', { | ||
6 | border: '显示框架边框', | ||
7 | noUrl: '请输入框架的 URL', | ||
8 | scrolling: '允许滚动条', | ||
9 | title: 'IFrame 属性', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/lang/zh.js b/sources/plugins/iframe/lang/zh.js new file mode 100644 index 0000000..091b807 --- /dev/null +++ b/sources/plugins/iframe/lang/zh.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.plugins.setLang( 'iframe', 'zh', { | ||
6 | border: '顯示框架框線', | ||
7 | noUrl: '請輸入 iframe URL', | ||
8 | scrolling: '啟用捲軸列', | ||
9 | title: 'IFrame 屬性', | ||
10 | toolbar: 'IFrame' | ||
11 | } ); | ||
diff --git a/sources/plugins/iframe/plugin.js b/sources/plugins/iframe/plugin.js new file mode 100644 index 0000000..8f049a5 --- /dev/null +++ b/sources/plugins/iframe/plugin.js | |||
@@ -0,0 +1,85 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | ( function() { | ||
7 | CKEDITOR.plugins.add( 'iframe', { | ||
8 | requires: 'dialog,fakeobjects', | ||
9 | // jscs:disable maximumLineLength | ||
10 | lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% | ||
11 | // jscs:enable maximumLineLength | ||
12 | icons: 'iframe', // %REMOVE_LINE_CORE% | ||
13 | hidpi: true, // %REMOVE_LINE_CORE% | ||
14 | onLoad: function() { | ||
15 | CKEDITOR.addCss( 'img.cke_iframe' + | ||
16 | '{' + | ||
17 | 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' + | ||
18 | 'background-position: center center;' + | ||
19 | 'background-repeat: no-repeat;' + | ||
20 | 'border: 1px solid #a9a9a9;' + | ||
21 | 'width: 80px;' + | ||
22 | 'height: 80px;' + | ||
23 | '}' | ||
24 | ); | ||
25 | }, | ||
26 | init: function( editor ) { | ||
27 | var pluginName = 'iframe', | ||
28 | lang = editor.lang.iframe, | ||
29 | allowed = 'iframe[align,longdesc,frameborder,height,name,scrolling,src,title,width]'; | ||
30 | |||
31 | if ( editor.plugins.dialogadvtab ) | ||
32 | allowed += ';iframe' + editor.plugins.dialogadvtab.allowedContent( { id: 1, classes: 1, styles: 1 } ); | ||
33 | |||
34 | CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/iframe.js' ); | ||
35 | editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName, { | ||
36 | allowedContent: allowed, | ||
37 | requiredContent: 'iframe' | ||
38 | } ) ); | ||
39 | |||
40 | editor.ui.addButton && editor.ui.addButton( 'Iframe', { | ||
41 | label: lang.toolbar, | ||
42 | command: pluginName, | ||
43 | toolbar: 'insert,80' | ||
44 | } ); | ||
45 | |||
46 | editor.on( 'doubleclick', function( evt ) { | ||
47 | var element = evt.data.element; | ||
48 | if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' ) | ||
49 | evt.data.dialog = 'iframe'; | ||
50 | } ); | ||
51 | |||
52 | if ( editor.addMenuItems ) { | ||
53 | editor.addMenuItems( { | ||
54 | iframe: { | ||
55 | label: lang.title, | ||
56 | command: 'iframe', | ||
57 | group: 'image' | ||
58 | } | ||
59 | } ); | ||
60 | } | ||
61 | |||
62 | // If the "contextmenu" plugin is loaded, register the listeners. | ||
63 | if ( editor.contextMenu ) { | ||
64 | editor.contextMenu.addListener( function( element ) { | ||
65 | if ( element && element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'iframe' ) | ||
66 | return { iframe: CKEDITOR.TRISTATE_OFF }; | ||
67 | } ); | ||
68 | } | ||
69 | }, | ||
70 | afterInit: function( editor ) { | ||
71 | var dataProcessor = editor.dataProcessor, | ||
72 | dataFilter = dataProcessor && dataProcessor.dataFilter; | ||
73 | |||
74 | if ( dataFilter ) { | ||
75 | dataFilter.addRules( { | ||
76 | elements: { | ||
77 | iframe: function( element ) { | ||
78 | return editor.createFakeParserElement( element, 'cke_iframe', 'iframe', true ); | ||
79 | } | ||
80 | } | ||
81 | } ); | ||
82 | } | ||
83 | } | ||
84 | } ); | ||
85 | } )(); | ||