简体   繁体   English

Pagedown编辑器全屏模式

[英]pagedown editor full screen mode

I'm using pagedown editor . 我正在使用pagedown编辑器 Its a clone of stackoverflow editor. 它是stackoverflow编辑器的克隆。

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 . 在全屏模式下,我希望editor in the left 50% areapreview in the right 50% area

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 .. 并使用这些值,您应该得到想要的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM