mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
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:
@@ -462,7 +462,7 @@ EOF
|
|||||||
}, null, null, 4 ); // Listener with priority 4 will be executed before priority 5.
|
}, null, null, 4 ); // Listener with priority 4 will be executed before priority 5.
|
||||||
|
|
||||||
oEditor.on( 'instanceReady', function() {
|
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)"> </span>');
|
$('#'+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)"> </span>');
|
||||||
$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {
|
$('#'+oEditor.id+'_toolbox .editor_magnifier').on('click', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user