GithubHelp home page GithubHelp logo

phox / angular-umeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from szwork2013/angular-umeditor

0.0 2.0 0.0 1.13 MB

百度 umeditor 富文本编辑器 angularjs 插件

CoffeeScript 0.67% HTML 2.73% CSS 3.87% JavaScript 92.74%

angular-umeditor's Introduction

baidu umeditor for angularjs

百度 umeditor 富文本编辑器 angularjs 插件

  • 将图片上传功能调整为 plupload 上传组件(并且该功能组件使用了简化过的 (qiniu javascript sdk->lib/qiniu/qiniu-simplify.js) 封装,可以直接将图片上传至七牛云存储, 只需要简单的配置)
  • 将视频插入功能修改为,插入一个 iframe 标签。(目前只支持youku,没有做其他视频网站处理)

get

bower install ng-umeditor

build

$ grunt build build ├─dialogs │ ├─emotion │ │ └─images │ ├─formula │ │ └─images │ ├─image │ │ └─images │ ├─image.back │ │ └─images │ ├─link │ ├─map │ ├─video │ │ └─images │ └─video.back │ └─images └─images ├─jquery-ui.min.css ├─jquery-ui.min.js ├─umeditor.min.css ├─umeditor.min.js ├─angular-umeditor.min.js #install requirejs wrapper angular-umeditor.coffee 1: #define ['angular'], (angular)-> open scriptsrc <script src="build/jquery-ui.min.js"></script> <script src="build/umeditor.min.css"></script>

angular.module('myApp', ['ng-umeditor']) <textarea ng-umeditor style="width: 600px; height: 200px;"></textarea>

Author: @yinchangsheng

#other

如果想 继续使用 百度 umeditor 提供的 image,video 功能的话,可以 dialogs 中的 .back 还原

angular-umeditor's People

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.