Blogger Information
Blog 2
fans 0
comment 0
visits 1326
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
ueditor图表功能的显示
SAdmin
Original
908 people have browsed it

使用ueditor时发现有一个表格的图表功能,使用起来很方便,自带的效果很多,但是发现只有编辑的时候有效果,浏览的时候却没有效果,查询文档发现解决办法。
首先,在设计表格时,要使ueditor自带的表格标题行和表格标题列,画出表格后,在点击右键弹出的菜单里的表格菜单里即可看到。
然后,点击图标按钮,添加标题和单位等,在选择图表样式。
最后,在显示页的head里加载ueditor.uparse.js,在body里建立一个div设置class作为容器放置表格代码,在div下面调用uParse函数。
<script>
uParse(‘.div的class名’, {
rootPath: ‘ueditor目录地址’
})
</script>
这样,表格的图表就可以显示了,这个方法同样适用于显示表格的边框。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!