Skip to content

Commit

Permalink
Merge branch 't/12163'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Aug 29, 2014
2 parents c9a0a2a + 034751f commit 665e3b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -11,6 +11,7 @@ Fixed Issues:
* [#12113](http://dev.ckeditor.com/ticket/12113): Fixed: Code snippet should be presented in elements path as "codesnippet".
* [#12311](http://dev.ckeditor.com/ticket/12311): Fixed: Remove format should also remove `<cite>` elements.
* [#12261](http://dev.ckeditor.com/ticket/12261): Fixed: Filter has to be destroyed and removed from [`CKEDITOR.filter.instances`](http://docs.ckeditor.com/#!/api/CKEDITOR.filter-static-property-instances) on editor destroy.
* [#12163](http://dev.ckeditor.com/ticket/12163): Fixed: Maximize plugin should abort its initialization if the [Shared Spaces plugin](http://ckeditor.com/addon/sharedspace) is initialized.

## CKEditor 4.4.4

Expand Down
6 changes: 5 additions & 1 deletion plugins/maximize/plugin.js
Expand Up @@ -96,10 +96,14 @@
icons: 'maximize', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
init: function( editor ) {
// Maximize plugin isn't available in inline mode yet.
// Maximize plugin isn't available in inline mode yet...
if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE )
return;

// ...and when sharedspace plugin is present.
if ( editor.plugins.sharedspace )
return;

var lang = editor.lang;
var mainDocument = CKEDITOR.document,
mainWindow = mainDocument.getWindow();
Expand Down
4 changes: 2 additions & 2 deletions plugins/sharedspace/samples/sharedspace.html
Expand Up @@ -83,7 +83,7 @@ <h3>

CKEDITOR.appendTo( 'framed1', {
extraPlugins: 'sharedspace',
removePlugins: 'maximize,resize',
removePlugins: 'resize',
sharedSpaces: {
top: 'top',
bottom: 'bottom'
Expand All @@ -94,7 +94,7 @@ <h3>

CKEDITOR.appendTo( 'framed2', {
extraPlugins: 'sharedspace',
removePlugins: 'maximize,resize',
removePlugins: 'resize',
sharedSpaces: {
top: 'top',
bottom: 'bottom'
Expand Down

0 comments on commit 665e3b9

Please sign in to comment.