diff options
Diffstat (limited to 'sources/core/creators/themedui.js')
-rw-r--r-- | sources/core/creators/themedui.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/core/creators/themedui.js b/sources/core/creators/themedui.js index 04927d0..4e7a93e 100644 --- a/sources/core/creators/themedui.js +++ b/sources/core/creators/themedui.js | |||
@@ -280,10 +280,10 @@ CKEDITOR.replaceClass = 'ckeditor'; | |||
280 | outer = container; | 280 | outer = container; |
281 | } | 281 | } |
282 | 282 | ||
283 | // Set as border box width. (#5353) | 283 | // Set as border box width. (http://dev.ckeditor.com/ticket/5353) |
284 | outer.setSize( 'width', width, true ); | 284 | outer.setSize( 'width', width, true ); |
285 | 285 | ||
286 | // WebKit needs to refresh the iframe size to avoid rendering issues. (1/2) (#8348) | 286 | // WebKit needs to refresh the iframe size to avoid rendering issues. (1/2) (http://dev.ckeditor.com/ticket/8348) |
287 | contentsFrame && ( contentsFrame.style.width = '1%' ); | 287 | contentsFrame && ( contentsFrame.style.width = '1%' ); |
288 | 288 | ||
289 | // Get the height delta between the outer table and the content area. | 289 | // Get the height delta between the outer table and the content area. |
@@ -295,7 +295,7 @@ CKEDITOR.replaceClass = 'ckeditor'; | |||
295 | 295 | ||
296 | contents.setStyle( 'height', resultContentsHeight + 'px' ); | 296 | contents.setStyle( 'height', resultContentsHeight + 'px' ); |
297 | 297 | ||
298 | // WebKit needs to refresh the iframe size to avoid rendering issues. (2/2) (#8348) | 298 | // WebKit needs to refresh the iframe size to avoid rendering issues. (2/2) (http://dev.ckeditor.com/ticket/8348) |
299 | contentsFrame && ( contentsFrame.style.width = '100%' ); | 299 | contentsFrame && ( contentsFrame.style.width = '100%' ); |
300 | 300 | ||
301 | // Emit a resize event. | 301 | // Emit a resize event. |
@@ -337,7 +337,7 @@ CKEDITOR.replaceClass = 'ckeditor'; | |||
337 | // replacement will be done later in the editor creation lifecycle. | 337 | // replacement will be done later in the editor creation lifecycle. |
338 | element.setStyle( 'visibility', 'hidden' ); | 338 | element.setStyle( 'visibility', 'hidden' ); |
339 | 339 | ||
340 | // #8031 Remember if textarea was required and remove the attribute. | 340 | // http://dev.ckeditor.com/ticket/8031 Remember if textarea was required and remove the attribute. |
341 | editor._.required = element.hasAttribute( 'required' ); | 341 | editor._.required = element.hasAttribute( 'required' ); |
342 | element.removeAttribute( 'required' ); | 342 | element.removeAttribute( 'required' ); |
343 | } | 343 | } |
@@ -422,7 +422,7 @@ CKEDITOR.replaceClass = 'ckeditor'; | |||
422 | topHtml: topHtml ? '<span id="' + editor.ui.spaceId( 'top' ) + '" class="cke_top cke_reset_all" role="presentation" style="height:auto">' + topHtml + '</span>' : '', | 422 | topHtml: topHtml ? '<span id="' + editor.ui.spaceId( 'top' ) + '" class="cke_top cke_reset_all" role="presentation" style="height:auto">' + topHtml + '</span>' : '', |
423 | contentId: editor.ui.spaceId( 'contents' ), | 423 | contentId: editor.ui.spaceId( 'contents' ), |
424 | bottomHtml: bottomHtml ? '<span id="' + editor.ui.spaceId( 'bottom' ) + '" class="cke_bottom cke_reset_all" role="presentation">' + bottomHtml + '</span>' : '', | 424 | bottomHtml: bottomHtml ? '<span id="' + editor.ui.spaceId( 'bottom' ) + '" class="cke_bottom cke_reset_all" role="presentation">' + bottomHtml + '</span>' : '', |
425 | outerEl: CKEDITOR.env.ie ? 'span' : 'div' // #9571 | 425 | outerEl: CKEDITOR.env.ie ? 'span' : 'div' // http://dev.ckeditor.com/ticket/9571 |
426 | } ) ); | 426 | } ) ); |
427 | 427 | ||
428 | if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE ) { | 428 | if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE ) { |
@@ -451,7 +451,7 @@ CKEDITOR.replaceClass = 'ckeditor'; | |||
451 | // Disable browser context menu for editor's chrome. | 451 | // Disable browser context menu for editor's chrome. |
452 | container.disableContextMenu(); | 452 | container.disableContextMenu(); |
453 | 453 | ||
454 | // Redirect the focus into editor for webkit. (#5713) | 454 | // Redirect the focus into editor for webkit. (http://dev.ckeditor.com/ticket/5713) |
455 | CKEDITOR.env.webkit && container.on( 'focus', function() { | 455 | CKEDITOR.env.webkit && container.on( 'focus', function() { |
456 | editor.focus(); | 456 | editor.focus(); |
457 | } ); | 457 | } ); |