ue.setContent('<h1 style="color: yellow; text-align: center;background-color: darkblue;">夏令营</h1>');
通过style可以直接设置样式
但是如果使用css的话需要先放入iframe.css(专门放css的)
然后在ueditor.config.js中引入
然后就可以使用了。
css成功引入。
ue.setContent('<h1 style="color: yellow; text-align: center;background-color: darkblue;">夏令营</h1>');
通过style可以直接设置样式
但是如果使用css的话需要先放入iframe.css(专门放css的)
然后在ueditor.config.js中引入
然后就可以使用了。
css成功引入。