diff --git a/plugins/editors/tinymce/tinymce.php b/plugins/editors/tinymce/tinymce.php index 314263b1703df..67ac6a2e351a4 100644 --- a/plugins/editors/tinymce/tinymce.php +++ b/plugins/editors/tinymce/tinymce.php @@ -817,7 +817,12 @@ private function tinyButtons($name, $excluded) // Set width/height $tempConstructor[] = 'if(modalWidth){modalOptions.width=modalWidth;}'; $tempConstructor[] = 'if(modalHeight){modalOptions.height = modalHeight;}'; - $tempConstructor[] = 'editor.windowManager.open(modalOptions);'; + $tempConstructor[] = 'var win=editor.windowManager.open(modalOptions);'; + + if (JFactory::getApplication()->client->mobile) + { + $tempConstructor[] = 'win.fullscreen(true);'; + } if ($onclick && ($button->get('modal') || $href)) {