Search code examples
javascriptjqueryeditorpagedown

pagedown editor full screen mode


I'm using pagedown editor. Its a clone of stackoverflow editor.

This is the official project page of that editor.

Can someone tell me how to implement fullscreen mode.?

In fullscreen mode I want the editor in the left 50% area and preview in the right 50% area.


Solution

  • instead of taking time to trick the system , please take time to show us what you did ..

    my solution as im like most of the others wont go around and download the plugin and try , will be doing so ..

        $(function(){
    $('.link-to-fullscreen').click(function(){
        $('.wmd-panel').css({'width':'100%'});
    })
        })
    

    put it under the code for the plugin ! and play around with the values and you should get the result that you want ..