JuiceEditor-Draw
JuiceEditor is a powerful editor that now supports drawing functionality. Here's a guide on how to use this feature.
![editor](https://github.com/CofficLab/JuiceEditorDraw/raw/HEAD/./docs/hero.png)
Important
This project cannot work independently. It is an extension package for JuiceEditor.
Please read the JuiceEditor documentation first: JuiceEditor
Installation
-
Install package:
npm i @coffic/juice-editor
npm i @coffic/juice-editor-draw
-
Copy components to project directory:
cp -r node_modules/@coffic/juice-editor-draw/dist ./public/draw
-
Configure editor:
window.api.config.setDrawIoLink(
'http://localhost:5173/drawio/webapp/index.html?'
);
Related Projects
Contributing
Contributions are welcome! Please submit Pull Requests or report issues.
License
This project is licensed under the MIT License.