React Design Editor has started to developed direct manipulation of editable design tools like Powerpoint, We've developed it with reactjs, ant.design, fabricjs
React Design Editor 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…
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.
Try it out today - the project is being continually developed to support a variety of different functions.
Then import the components you need from the package entry.
Getting Started
Clone this Project with git clone https://github.com/salgum1114/react-design-editor.git
Install dependencies with npm install or yarn
Run the App with npm start or yarn start
Open your web browser to http://localhost:4000
Library builds run with Vite only:
npm run build:demo builds the demo app into docs
npm run build:lib builds the package into dist and emits declarations
npm run serve previews the demo build locally
Using the Canvas Component
The published package provides the Canvas component and its canvas handlers. Toolbars, palettes and property panels shown in the demo can be built around this component as needed.
Use canvasRef.current.handler to add or remove objects, change the selection, control zoom, run undo/redo operations and import or export canvas data. The parent element or the style prop must provide a visible height when responsive sizing is enabled.
评论