Blogger Information
Blog 8
fans 0
comment 0
visits 5993
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Ueditor编辑器
相心生、心相取的博客
Original
754 people have browsed it
  1. 下载编辑器Ueditor

  2. 创建demo.html文件

  3. 文件内容,大致4部分:

    1. 加载编辑器容器:<script id="container' name="content" type=""text/plain>内容</script>

    2. 加载配置文件:<script type="text/javascript" src="ueditor.config.js"></script>

    3. 加载编辑器源码文件:<script type="text/javasript" src="ueditor.all.js"></script>

    4. 实例化编辑器:<script type="text/javascript"> var ue=UE.getUeditor('container');</script>


    4.浏览器中输入demo.html浏览内容

    5.传入自定义参数: autoHeight:false

    6.定制工具栏图标:一种方法:修改配置ueditor.config.js里面的toolbars

                                二种方法:在实例化编辑器的时候传入toolbars参数

    7.后台部署:在配置文件ueditor.config.js中修改serverUrl:的路径,去指定后台接受的文件地址;或者修改php中的config.json配置文件中的参数选项,来修改配置

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