views:

440

answers:

2

Anyone with CKEDitor experience know if it is possible to use JavaScript to call with Full Screen function/action outside of the CKEDITOR?

thanks

+2  A: 

I think it is possible, have you tried the solution here: http://cksource.com/forums/viewtopic.php?f=11&t=14319

It would probably be something like:

var editor = CKEDITOR.instances[instanceName];
editor.execCommand('maximize');
Magicgunnar
A: 

if using the jquery version of ckeditor the below code works perfectly

$(".fullscreen_link").live("click", function () {
        var editor = $('.my_ckeditor').ckeditorGet();
               editor.execCommand('maximize');
    });
dave e