0.0.5 • Published 10 months ago

react-design-editor-basic v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

❤️ Fork of

react-design-editor

Some features have been removed in this fork to ease maintainability.

React Design Editor

npm.io build npm.io

React Design Editor is a module for React, written in Javascript/Typescript which provides two primary features:

  • Image Editor - Create images in React, draw diagrams and arrange compositions using the image editor and save the result to one of several export formats, provides functionality similar to Powerpoint.
  • Business Process Modelling (BPM) - Design flowcharts and process workflows in React and export the model to JSON, which can be imported into the tool (load/save).

The module primarily uses the Ant Design, Fabric.js and React libraries, but a full list of required dependencies can be found below.

Feature List

  • Add, remove, resize, reorder, clone, copy/paste and drag/drop elements
  • Drawing capability, with polygon, line, arrows and link support
  • Preview mode, tooltips, group/ungroup and zoom functionality
  • Upload (with drag/drop), import and export to JSON or image
  • Image cropping, Image filters, alignment, alignment guides
  • Snap to grid, context menu, animation and video element
  • Various icons in icon picker and fonts from Google Fonts (20)
  • HTML/CSS/JS Element, iFrame element
  • Animation support, with Fade / Bounce / Shake / Scaling / Rotation / Flash effects
  • Code Editor with HTML / CSS / JS / Preview
  • Various interaction modes, including grasp, selection, ctrl + drag grab
  • Multiple layouts, with fixed, responsive, fullscreen and grid modes
  • SVG, Chart and GIF elements
  • Undo/Redo support
  • Full typescript support
  • Themable

Installation

Run npm install react-design-editor-basic or yarn add react-design-editor-basic

Getting Started

  1. Clone this Project with git clone https://github.com/Pontusg45/react-design-editor-basic.git
  2. Install dependencies with npm install or yarn
  3. Run the App with npm start or yarn start
  4. Open your web browser to http://localhost:4000

Dependencies

DependencyLicense(s)
ReactMIT
Ant DesignMIT
Fabric.jsMIT
MediaElement.jsMIT
React-AceMIT
interact.jsMIT
anime.jsMIT
Webpack 4MIT
BabelMIT
fontawesome5Icons (CC BY 4.0), Fonts (SIL OFL 1.1), Code (MIT)