Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.2 KB

File metadata and controls

47 lines (30 loc) · 1.2 KB

JuiceEditor-Draw

editor

Important

This project cannot work independently. It is an extension package for JuiceEditor.

Please read the JuiceEditor documentation first: JuiceEditor

Installation

  1. Install package:

    npm i @coffic/juice-editor
    npm i @coffic/juice-editor-draw
  2. Copy components to project directory:

    rm -rf ./public/draw
    cp -rf node_modules/@coffic/juice-editor-draw/dist ./public/draw
  3. Configure editor:

    editor.setDrawLink('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.