就是这样,从后台获取数据,赋值给编辑器,但是在编辑器里那些style的line-height等的值都无法传进去,后台发来的数据是有的,有大神知道是什么原因吗?
走同样的路,发现不同的人生
Just configure the whitelist
var data = '<p style="line-height: 2;font-size:20px">123</p>' UE.getEditor('editor').setContent(data);
Is this the way to pass the value? I tried it and found that there is no problem
Thank you for the invitation, you can find it on Baiduhttp://www.cnblogs.com/Olive1...
Just configure the whitelist
Is this the way to pass the value? I tried it and found that there is no problem
Thank you for the invitation, you can find it on Baidu
http://www.cnblogs.com/Olive1...