This update modifies the stroke color handling in both the SvgCanvas and ext-connector modules. When the stroke color is set to 'none', it now correctly assigns an empty string or 'none' instead of a hex value, ensuring proper rendering of SVG elements without strokes.
* Added alt tags to img elements.
* fixed lint issues
* Changed the SESpinInput to have a closed shadow DOM to fix the duplicate label id issue reported in browser.
* Fixed code in EditorStartup that fails if the editor is in a Web Component. $qq will not find the .svg_editor, but this.$container will.
* fix linter issue
* update packages
* remove closed as this causes the test to fail.
---------
Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
* basic drawing cursors
* Esc to cancel tool, I shortcut bug fix
* panel btns hover animation
* minor changes
* Linter fix
* update packages
* remove NYC coverage causing build errors
would be nice to find out a replacement or a fix
---------
Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
The zoomChange method was not being called on the extensions, and this
commit fixes this by calling the runExtensions method after updating the
zoom.
This commit addresses issue SVG-Edit/svgedit#896
* fix: Enhance text properties for multiple selected elements (SVG-Edit/svgedit#918)
This commit addresses issue SVG-Edit/svgedit#918 by improving
text property handling when multiple elements are selected.
You can now set Bold, Italic, Text-Decoration, Text-Anchor,
Letter-Spacing, Word-Spacing, Text Length, and Length Adjust.
* Update Editor.js
---------
Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
* Enhancement: add a parameter to the importSvgString function in order to permit to decide if the importation should apply a transformation on the imported element or not
* allow user to import SVG preserving the dimension
Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
now you can use directlt svgcanvas. see readme.md
* configure workspaces
* move svgcanvas to packages folder
* move utils to common and paint to svgcanvas
* make svgcanvas a dependency of svgedit
* update deps
* workspaces requires npm 7 at least so the ci needs a new node version
* update github actions to V3
* update snapshots using custom svg exports
* remove unmaintained cypress snapshot plugin
* new github action to add coverage in PR
* Update onpushandpullrequest.yml
* svgcanvas v7.1.6
* Update TopPanel.js
Enable text tool panel wen multiple text elements are selected.
* Fix linter error
* Update TopPanel.js
Refactor code per suggestion