Coder Social home page Coder Social logo

diduweiwu / wangeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangeditor-team/wangeditor

0.0 1.0 0.0 15.77 MB

wangEditor —— 轻量级web富文本框

Home Page: http://www.wangeditor.com/

License: MIT License

JavaScript 2.59% CSS 0.59% HTML 3.83% Shell 0.18% Less 1.85% TypeScript 90.96%

wangeditor's Introduction

wangEditor

做了一些改进
1.为图片添加了更多的缩放比例
2.设置默认字体为 仿宋GB2312
用法,编译后在使用的项目index.html引入 wangeditor.min.js  后续使用 window.E 进行初始化就好了

Stars badge Forks badge cypress badge jest badge build badge MIT License


Logo

wangEditor

轻量级 web 富文本编辑器,配置方便,使用简单!
官网 · 文档

English · 在线示例 · 提交 bug · 建议增加新功能

体验新版本

wangEditor V5 新版本已公开测试,请查看 V5 文档

项目介绍

wangEditor 是一款使用 Typescript 开发的 Web 富文本编辑器, 轻量、简洁、易用、开源免费。

兼容常见的 PC 浏览器:Chrome,Firefox,Safar,Edge,QQ 浏览器,IE11。

不支持移动端。

当前是 v4 版本。想继续使用 v3 版本看这里

Product Screen Shot

安装和使用

NPM

npm i wangeditor --save

安装后几行代码即可创建一个编辑器:

import E from "wangeditor";
const editor = new E("#div1");
editor.create();

CDN

<script type="text/javascript" src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
<script type="text/javascript">
  const E = window.wangEditor
  const editor = new E('#div1')
  // 或者 const editor = new E(document.getElementById('div1'))
  editor.create()
</script>

贡献

贡献使得开源社区成为一个学习、激励和创造的好地方,非常感谢你所做的任何贡献。在贡献 wangEditor 之前,你需要阅读文档 contribution

许可证

项目在 MIT 的许可证下发布, 查看更多 MIT 许可证信息。

交流

加入 QQ 群

  • 164999061(人已满)
  • 710646022(人已满)
  • 901247714(人已满)
  • 606602511(人已满)
  • 764778054

提交 bug 或建议

开发团队

有专业开发团队维护,非个人单兵作战。

想加入 wangEditor 研发团队,可申请加入 QQ 群,然后私聊群主。

为我们加油

你的支持,将激励我们输出更多优质内容!

wangeditor's People

Watchers

 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.