strapi-plugin-wysiwyg-tui-editor
A Strapi plugin to replace the default rich text editor with ToastUI Editor
Features
This plugin:
- Supports the editing modes of both markdown and WYSIWYG.
- Allows you to add images from the strapi's media library.
- Can switch between two preview layouts, either by tab or side-by-side.
- Can expand the editor to full screen for large writing area.
Installation
In the root of your strapi project, run:
With yarn:
yarn add strapi-plugin-wysiwyg-tui-editor
Or with npm:
npm install --save strapi-plugin-wysiwyg-tui-editor
Screenshots
Media Library in expanded view
Development
In order to develop on this plugin, you'll need to clone into your Strapi project and link the dependency to it.
- Make the folder plugins if you haven't already:
mkdir -p <path_to_strapi_project>/src/plugins cd <path_to_strapi_project>/src/plugins
- Clone the repo into the plugins folder:
git clone https://github.com/wizcas/strapi-plugin-wysiwyg-tui-editor.git
- Register a link to the cloned package:
cd strapi-plugin-wysiwyg-tui-editor && yarn link
- In your strapi's directory, link the local package as a dependency:
cd <path_to_strapi_project> && yarn link strapi-plugin-wysiwyg-tui-editor