Giter Club home page Giter Club logo

yang-ueditor's Introduction

yangueditor

把ueditor拿到vue上用的一个组件

install

npm install yang-ueditor-vue --save

use

下载UEditor jsp版本 或者用我提供的 
https://github.com/wa-monster/yang-ueditor 的public目录下,放到对应项目的public下

import '../public/UEditor/ueditor.config.js'
import '../public/UEditor/ueditor.all.js'
import '../public/UEditor/lang/zh-cn/zh-cn.js'
import '../public/UEditor/ueditor.parse.min.js'


<!-- 默认引入umd格式,所以es6模块的时候请使用 如下引入方式 -->
import * as yangUEditorVue from 'yang-ueditor-vue'



Vue.use(yangUEditorVue)

<yang-editor
  ref="ue"
  :default-msg="description"
  :config="config"
  id="uEditor"></yang-editor>

  default-msg :储存编辑器里面的文字
  config :ueditor的配置
  id :渲染必须的id

yang-ueditor's People

Contributors

wa-monster avatar

Stargazers

 avatar

Watchers

James Cloos 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.