X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fpiedsjaloux-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fplugins%2Fimage%2Fdialogs%2Fimage.js;fp=sources%2Fplugins%2Fimage%2Fdialogs%2Fimage.js;h=5302a7c77a341a05978427b557e491faf2627f02;hp=4f62f99c8c6237f3c4d60be08007294f4a5db884;hb=317f8f8f0651488f226b5280a8f036c7c135c639;hpb=1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c diff --git a/sources/plugins/image/dialogs/image.js b/sources/plugins/image/dialogs/image.js index 4f62f99..5302a7c 100644 --- a/sources/plugins/image/dialogs/image.js +++ b/sources/plugins/image/dialogs/image.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -107,7 +107,7 @@ var oImageOriginal = dialog.originalElement; - // Dialog may already closed. (#5505) + // Dialog may already closed. (http://dev.ckeditor.com/ticket/5505) if ( !oImageOriginal ) return null; @@ -233,7 +233,7 @@ this.firstLoad = false; this.dontResetSize = false; - // Possible fix for #12818. + // Possible fix for http://dev.ckeditor.com/ticket/12818. updatePreview( this ); }; @@ -270,7 +270,7 @@ return { title: editor.lang.image[ dialogType == 'image' ? 'title' : 'titleButton' ], - minWidth: 420, + minWidth: ( CKEDITOR.skinName || editor.config.skin ) == 'moono-lisa' ? 500 : 420, minHeight: 360, onShow: function() { this.imageElement = false; @@ -310,7 +310,7 @@ this.linkEditMode = true; // If there is an existing link, by default keep it (true). - // It will be removed if certain conditions are met and Link tab is enabled. (#13351) + // It will be removed if certain conditions are met and Link tab is enabled. (http://dev.ckeditor.com/ticket/13351) this.addLink = true; // Look for Image element. @@ -490,6 +490,7 @@ type: 'hbox', widths: [ '280px', '110px' ], align: 'right', + className: 'cke_dialog_image_url', children: [ { id: 'txtUrl', type: 'text', @@ -541,7 +542,7 @@ this.getDialog().dontResetSize = true; field.setValue( url ); // And call this.onChange() - // Manually set the initial value.(#4191) + // Manually set the initial value.(http://dev.ckeditor.com/ticket/4191) field.setInitValue(); } }, @@ -692,6 +693,7 @@ { id: 'ratioLock', type: 'html', + className: 'cke_dialog_image_ratiolock', style: 'margin-top:30px;width:40px;height:40px;', onLoad: function() { // Activate Reset button @@ -1014,6 +1016,7 @@ { type: 'button', id: 'browse', + className: 'cke_dialog_image_browse', filebrowser: { action: 'Browse', target: 'Link:txtUrl',