Baidu editor to modify the contents of a fixed height (scroll bar issue)

// modify the content editor Baidu fixed height (scrollbar problem) the config.js file, modify autoHeightEnabled: false The following settings take effect
$ (function () {
var = UE.getEditor UE ( 'Container');
ue.ready ( function () {
ue.setHeight (.. $ ( "# Content") height () - $ ( "# edui1_toolbarbox") height ());
});
})

 

container for the editor box

UE.getEditor('container').setHeight(500)

Guess you like

Origin www.cnblogs.com/onceblog/p/11362982.html