Go to file
JFH 272d58730f fix typo 2021-11-12 17:57:43 +01:00
.github github ci activated on pr 2021-05-18 14:08:41 +02:00
archive remove connector for side effect on arrow 2021-10-19 00:25:47 +02:00
badges restore 2 tests and fix snapshot 2021-05-31 00:10:26 +02:00
cypress Merge branch 'master' into perf 2021-11-12 15:59:21 +01:00
demos remove change image and minor refactoring 2021-08-13 14:37:55 +02:00
docs identation requirement to eslint 2021-05-28 10:35:46 +02:00
src fix typo 2021-11-12 17:57:43 +01:00
.editorconfig - Docs: Update testing info; update CHANGES 2020-02-20 12:31:06 +08:00
.eslintignore remove mocha report 2021-07-25 21:26:48 +02:00
.eslintrc.js Update .eslintrc.js 2021-11-08 10:28:09 +01:00
.gitignore remove mocha report 2021-07-25 21:26:48 +02:00
.npmignore minor adjustments for release 2021-11-08 10:13:55 +01:00
AUTHORS minor adjustments for release 2021-11-08 10:13:55 +01:00
CHANGES.md minor adjustments for release 2021-11-08 10:13:55 +01:00
CODE_OF_CONDUCT.md prepare requirements for netlify 2020-09-13 12:44:35 +02:00
FUNDING.yml - Add name to FUNDING.yml 2020-09-17 10:28:36 +08:00
LICENSE-MIT.txt - Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`, 2018-05-13 09:58:13 +08:00
README.md update for V7.0.0 2021-11-08 09:28:22 +01:00
babel.config.json update dependencies 2021-11-01 20:27:52 +01:00
composer.json minor adjustments for release 2021-11-08 10:13:55 +01:00
cypress.json remove mocha reports (cypress coverage sufficient) 2021-07-25 21:21:54 +02:00
lgtm.yml fix several configuration issue and linter 2021-05-19 23:09:40 +02:00
licenseInfo.json #104 deparam changed ref: https://www.sitepoint.com/get-url-parameters-with-javascript/ 2021-05-27 14:17:01 +05:30
netlify.toml build master with netlify 2021-05-09 22:57:43 +02:00
nyc.config.js update master to V7 2021-05-09 19:29:45 +02:00
package-lock.json bump version - fix bug 2021-11-12 16:50:09 +01:00
package.json bump version - fix bug 2021-11-12 16:50:09 +01:00
rollup.config.js make Editor.js the entry point 2021-08-01 23:46:51 +02:00
web-dev-server.config.mjs Update web-dev-server.config.mjs 2021-08-03 17:10:33 +02:00

README.md

SVGEdit

npm Dependencies devDependencies

Tests badge Coverage badge

Known Vulnerabilities Total Alerts Code Quality: Javascript

issuehunt-to-marktext

SVG-edit is a fast, web-based, JavaScript-driven SVG drawing editor that works in any modern browser.

screenshot

Contributions

SVGEdit is the most popular open source SVG editor. It was started more than 10 years ago by a fantastic team of developers. Unfortunately, the product was not maintained for a quite long period. We decided to give this tool a new life by refreshing many aspects. Please let us know with an issue or a discussions if you wish to contribute.

Demo

Thanks to Netlify, you can test the following builds:

Try SVGEdit 7.0.0 here

Try SVGEdit 5.1.0 here

Try SVGEdit 6.1.0 here

Installation

Quick install

  1. Clone or copy the repository contents
  2. run npm i to install dependencies
  3. run npm run start to start a local server
  4. Use your browser to access http://localhost:8000/src/editor/index.html

Integrating SVGEdit into your own application

V7 is changing significantly the way to integrate and customize SVG-Edit. You can have a look to index.html to see how you can insert a div element into your HTML code and inject the editor into the div.

SVG-Edit is made of two major components:

  1. The "svgcanvas" that takes care of the underlying svg edition. It can be used to build your own editor. See example in the demos folder or the svg-edit-react repository.
  2. The "editor" that takes care of the editor UI (menus, buttons, etc.)

For earlier versions of SVGEdit, please look in their respective branches.

Supported browsers

Developments and Continuous Integration are done with a **Chrome** environment. Chrome, FireFox and Safari recent versions are supported (in the meaning that we will try to fix bugs for these browsers).
Support for old browsers may require to use an older version of the package. However, please open an issue if you need support for a specific version of your browser so the project team can decide if we should support with the latest version.

Further reading and more information

Hosting

SVGedit versions are deployed to: Deploys by Netlify