|
5 months ago | |
---|---|---|
.github | 7 months ago | |
apps | 5 months ago | |
docs | 1 year ago | |
libs | 6 months ago | |
plugins | 5 months ago | |
.gitignore | 1 year ago | |
.prettierignore | 1 year ago | |
.prettierrc.js | 1 year ago | |
CODE_OF_CONDUCT.md | 1 year ago | |
CONTRIBUTING.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 6 months ago | |
babel.config.js | 1 year ago | |
lerna.json | 12 months ago | |
package-lock.json | 6 months ago | |
package.json | 7 months ago |
GFM Markdown and WYSIWYG Editor - Productive and Extensible
Name | Description |
---|---|
@toast-ui/editor |
Plain JavaScript component |
Name | Description |
---|---|
@toast-ui/jquery-editor |
jQuery wrapper component |
@toast-ui/react-editor |
React wrapper component |
@toast-ui/vue-editor |
Vue wrapper component |
Name | Description |
---|---|
@toast-ui/editor-plugin-chart |
Plugin to render chart |
@toast-ui/editor-plugin-code-syntax-highlight |
Plugin to highlight code syntax |
@toast-ui/editor-plugin-color-syntax |
Plugin to color editing text |
@toast-ui/editor-plugin-table-merged-cell |
Plugin to merge table columns |
@toast-ui/editor-plugin-uml |
Plugin to render UML |
TOAST UI Editor provides Markdown mode and WYSIWYG mode. Depending on the type of use you want like production of Markdown or maybe to just edit the Markdown. The TOAST UI Editor can be helpful for both the usage. It offers Markdown mode and WYSIWYG mode, which can be switched any point in time.
CommonMark + GFM Specifications
Today CommonMark is the de-facto Markdown standard. GFM (GitHub Flavored Markdown) is another popular specification based on CommonMark - maintained by GitHub, which is the Markdown mostly used. TOAST UI Editor follows both CommonMark and GFM specifications. Write documents with ease using productive tools provided by TOAST UI Editor and you can easily open the produced document wherever the specifications are supported.
CommonMark and GFM are great, but we often need more abstraction. The TOAST UI Editor comes with powerful Plugins in compliance with the Markdown syntax.
Five basic plugins are provided as follows, and can be downloaded and used with npm.
chart
: A code block marked as a 'chart' will render TOAST UI Chart.code-syntax-highlight
: Highlight the code block area corresponding to the language provided by highlight.js.color-syntax
:
Using TOAST UI ColorPicker, you can change the color of the editing text with the GUI.table-merged-cell
:
You can merge columns of the table header and body area.uml
: A code block marked as an 'uml' will render UML diagrams.Here are more examples and play with TOAST UI Editor!
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
Yes | 10+ | Yes | Yes | Yes |
TOAST UI products are open source, so you can create a pull request(PR) after you fix issues. Run npm scripts and develop yourself with the following process.
Fork master
branch into your personal repository. Clone it to local computer. Install node modules. Before starting development, you should check to see if there are any errors.
$ git clone https://github.com/{your-personal-repo}/tui.editor.git
$ cd [project-name]
$ npm install
$ npm run setup:libs
$ cd [project-name]/apps/editor
$ npm install
$ npm run test
You can see your code is reflected as soon as you saving the codes by running a server. Don't miss adding test cases and then make green rights.
$ npm run serve
$ npm run test
Before creating a PR, test and check for any errors. If there are no errors, then commit and push.
For more information, please refer to the Contributing section.