64 questions
0 votes
1 answer
952 views
How do I run svg-editor without using node.js?
I am trying to add https://github.com/SVG-Edit/svgedit to a website. The install instructions show how to use this with Node.js I was told that the editor would run also without Node.js so I tried to ...
0 votes
2 answers
351 views
What is the best way to include this within a React application? #731
I'd considering SVGEdit (https://github.com/SVG-Edit/svgedit) within a larger React context, what would be the best way to include it for development? At first, I was thinking I'd 1) clone the entire ...
1 vote
0 answers
317 views
how to implement current svgedit within webpack or vue project
I failed to implement SVG-Edit into my project, can somebody show me how. Here below is my failed solution: Vue2: copy the compiled svg-edit code into vue project's public folder, and set vue project ...
0 votes
1 answer
323 views
SVGedit: how to remove all elements from svgCanvas?
How to remove all elements from svgCanvas ? I tried with : svgCanvas.clearSvgContentElement() svgCanvas.clearSelection(); With no success. (and if possible avoid blinking effect)
1 vote
1 answer
1k views
Can SVG-Edit be made to work in a standalone/offline context?
Because SVG-Edit is such a unique and appealing program, I've been searching for an answer to this question for years, but have come up dry. After a major struggle, I was able to get it to work by ...
0 votes
3 answers
244 views
Why image doesn't scale properly in SVG?
I am taking input(x,y, height, and width) from user to create a dynamic img in SVG through javascript. It works fine but Height and width don't scale according to the value (it act as padding across ...
0 votes
1 answer
145 views
getting proper mouse position inside a zoomable iframe
I have a project on svg-edit where i have to create polygon on mouse-click , the svg-canvas (not HTML5 canvas suppose as drawing board) is zoomable, i can create polygon on 100% zoom but when i zoomin ...
0 votes
0 answers
268 views
I can't drag and drop a svg element having viewbox which is dynamically appended in svgedit tool's canvas
I am working on a SVG project i have to add a svg text by giving manually its size and other parameters. but there is no heght parameter in svg text element so i am using a svg as parent element of ...
0 votes
1 answer
280 views
How to position a text element to a specific position and resizable in SVG?
I am creating a rect element based on input values from textbox(getting Height,Width,X and Y from textbox). When rect is created and appended in parent g element. I am creating a text element showing ...
1 vote
1 answer
747 views
How to change gradient colors in svg-edit?
How can I select the colors for a linear gradient in svg-edit? The "Change fill color" popup lets me select a gradient, which seems to be based on the current solid color of the shape. But there is ...
1 vote
1 answer
176 views
iOS 11.3 causes drawing canvas to pan/scroll with selection with Method-Draw / SVG-Edit
We use MethodDraw which is a fork of SVG-Edit. Ever since the last iOS update on the iPad or iPhone, the screen scrolls when you try to draw a line on the drawing canvas. When making a simple ...
0 votes
1 answer
1k views
Svg to png base64 using HTML5 Canvas does not work reliably on IOS browsers (Chrome / Safari)
I am building a web app using asp.net-core with angular 4 templates and uses svg-edit to allow user to draw / load / save images on mobile devices particularly on the IOS devices / android devices. ...
0 votes
1 answer
512 views
Load SVG-Edit in browser locale
How do i load the svg-edit in browser locale.I want to load the tools in browser language especially chinese. Anyone please help. Thanks in advance.
0 votes
1 answer
279 views
Edit svg using JavaScript and place a PNG inside an SVG
How can I edit an SVG same like fill color and other methods of SVG I want to place an SVG/PNG inside an SVG at some specific path/group of SVG, How come it is possible can anyone help me out on this?
0 votes
0 answers
123 views
Does svg-edit retain arbitrary attributes
Using svg-edit and some of the variants I've found that seem like they are based on the same JS libraries, I create a basic drawing then using either source editor within svg-edit, or loading up an ...