GithubHelp home page GithubHelp logo

easyui-ueditor's Introduction

easyui-ueditor

基于EasyUI的百度U Editor富文本编辑器插件。

在基于Easyui的项目开发中遇到了富文本编辑器的兼容问题,之前一直使用 夏悸 贡献的kindeditor的easyui插件,但是遇到了在IE6/7/8下焦点问题的Bug,后来选择了百度的U Editor,但是网上未搜索到相关插件,所以自己动手写了一个;可以让Ueditor像easyUI自身的插件一样使用。
例如:<div class="easyui-ueditor" data-options="width:600,height:400"/>
取值方法:<button onclick="javascript:alert($('.easyui-ueditor').ueditor('getValue'));">获得内容</button>
<button onclick="javascript:($('.easyui-ueditor').ueditor('setValue','你好'));">设置内容</button>
目前只实现了我用到的几个方法以及设置,架子已经弄好,配置相可以完全使用UEditor的配置项,方法调用还需要网友自己完善。

为达到无缝集成,做了如下改进:

1.增加和Form组件的集成,可以自动与form的加载和提交数据挂钩; 2.增加和easyui-validatebox的集成,并能与Form的validate方法挂钩;

easyui-ueditor's People

Contributors

jeasonyoung avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.