kindeditor解决手机显示,编辑器撑破div导致响应式失效的问题
作者:admin 日期:2019-06-27
editor = K.create('textarea[name="content"]', {
themeType : 'simple',
resizeType: 1,
height : "200px",
width:"100%", //将宽度设置为div宽度的100%即可
filterMode : false,
dialogAlignType:"page",
items: [
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'image', 'link'
]
});
[本日志由 admin 于 2020-03-01 09:50 PM 更新]






评论: 0 | 引用: 0 | 查看次数: -
发表评论