CKEditor's full screen mode is not supported on iOS (cf https://dev.ckeditor.com/ticket/8307)

SVN:trunk[4038]
This commit is contained in:
Denis Flaven
2016-05-09 15:36:26 +00:00
parent da69985970
commit 3e1607047e

View File

@@ -462,7 +462,7 @@ EOF
}, null, null, 4 ); // Listener with priority 4 will be executed before priority 5.
oEditor.on( 'instanceReady', function() {
if($('#'+oEditor.id+'_toolbox .editor_magnifier').length == 0)
if(!CKEDITOR.env.iOS && $('#'+oEditor.id+'_toolbox .editor_magnifier').length == 0)
{
$('#'+oEditor.id+'_toolbox').append('<span class="editor_magnifier" title="$sToggleFullScreen" style="display:block;width:12px;height:11px;border:1px #A6A6A6 solid;cursor:pointer; background-image:url($sAppRootUrl/images/full-screen.png)">&nbsp;</span>');
$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {