iq9891 / xEditor

Web富文本编辑器

Home Page:https://iq9891.github.io/xEditor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xeditor

xEditor is a rich text editor on the web. React and Angular are currently not supported. 。Online

xeditor NPM downloads NPM downloads NPM downloads

Sauce Labs Test Status (for master branch)

xeditor preview

中文 README

Features

  • Drag and drop upload
  • ajax image upload
  • base64 image display
  • extended class name
  • Multi-language support
  • Menu classification
  • Color configurable
  • Style customization

Related Links

Usage

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>xeditor</title>
    <script src="https://unpkg.com/xeditor"></script>
  </head>
  <body>
    <div id="xe" class="xe"></div>
    <script>
    var myEditor = new window.xEditor('#xe')
    myEditor.create();
    </script>
  </body>
</html>

Run the demo

  • Download source https://github.com/iq9891/xEditor.git
  • Install or upgrade the latest version NodeJs (minimum v9.x.x)
  • Enter the directory, install the dependency package cd xEditor && yarn install
  • After the installation package is complete, the windows user runs npm run dev and the Mac user runs npm start
  • Open browser http://localhost:8080/

About

Web富文本编辑器

https://iq9891.github.io/xEditor

License:MIT License


Languages

Language:JavaScript 85.4%Language:CSS 8.6%Language:HTML 5.8%Language:Shell 0.1%