TinyMCE editor fixed size with no scrollers?

前端 未结 5 1990
长情又很酷
长情又很酷 2021-01-18 14:48

At the moment I have this:

    tinyMCE.init({
// General options
mode : \"exact\",
elements : \"fkField, lkField, ukcField, khField\",
theme : \"advanced\",
         


        
5条回答
  •  囚心锁ツ
    2021-01-18 15:33

    I got it to work by adding this to my extra tinyMCE CSS file:

    IFRAME {overflow:hidden;}   
    

    Previously, the scrollbars were only off in Firefox. This fixes it for Chrome as well. However, it does add a gray bar the side of a scrollbar at the bottom, so I need to enlarge the height of my text editor.

提交回复
热议问题