Forum closed. New forum available at http://community.wymeditor.org/

how to setup the fullscreen plugin

Support forum for WYMeditor.

how to setup the fullscreen plugin

Postby confused on Mon Jul 05, 2010 10:47 pm

Hi,

I'm new to WYMeditor and try to integrate it in my project. I wonder how to enable and setup the fullscreen plugin. Is there an option or something I have to enable?
I don't see the fullscreen button.

regards,
Confused :)
confused
 
Posts: 1
Joined: Mon Jul 05, 2010 10:43 pm

Re: how to setup the fullscreen plugin

Postby mr_lundis on Thu Jul 15, 2010 12:10 pm

Hi!
You'll need to call wym.fullscreen() from the postInit callback, and of course include the plugin source file.

Code: Select all
    $('.wymeditor').wymeditor({
        postInit: function(wym) {
            wym.fullscreen();
        }
    });


Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron