Commit Graph

4052 Commits

Author SHA1 Message Date
JFH
887ad2e39f Fix group rotation (#1058)
* Update history.js
- Change `BatchCommand.unapply` to use `[...this.commands].reverse()` so the original array is never mutated.
- This preserves the order of commands and ensures history integrity.
2025-06-09 00:33:39 +08:00
Michael S. Scherotter
c127c3734b Fixed a bug where a rotated text or image did not translate correctly. (#1055) 2025-05-21 08:27:57 +02:00
JFH
ede259ae87 7.3.7 2025-05-12 10:36:09 +02:00
Michael S. Scherotter
f962f9d884 Fixed issue where foreignObject contents styles were getting removed on object moving (#1053) 2025-05-05 08:55:18 +02:00
Michael S. Scherotter
4b822fe190 Fixed issue where svgToString was converting HTML elements to uppercase in svgCanvas.svgToString() (#1051) 2025-05-01 23:02:34 +02:00
szerintem
baa68718c8 fix the order of config() and init() in readme (#1049) 2025-04-21 09:57:58 +02:00
JFH
c22cc05006 fixes #1042 (#1043) 2025-04-01 12:08:06 +02:00
JFH
8b55657c70 add cursors svg 2025-03-30 17:15:55 +02:00
JFH
2550af8353 7.3.6 2025-03-28 20:23:06 +01:00
JFH
1859978590 release 2025-03-28 20:09:29 +01:00
JFH
a7cc873583 update deps 2025-03-28 20:02:17 +01:00
JFH
0a89750036 start tests on components 2025-03-28 19:23:41 +01:00
Michael S. Scherotter
dc0ce52e71 Html elements in foreign object (#1041) 2025-03-28 18:00:19 +01:00
Michael S. Scherotter
5c05fd77bc Fixed bug in Editor.loadFromURL where the promise was not resolving (#1040) 2025-03-26 08:08:41 +01:00
Michael S. Scherotter
f4a66c989c Fixed bug in ext-opensave.js when dropping text. (#1038) 2025-03-23 08:11:39 +01:00
dependabot[bot]
dd6b48779f Bump jspdf from 3.0.0 to 3.0.1 (#1036) 2025-03-22 08:08:55 +01:00
JFH
56296446ba consider pathedit mode when zooming (#1035)
* consider pathedit mode when zooming
* new helper function and style improvements
* update dependencies
2025-03-16 11:58:39 +01:00
S1NJED
1b847fa20c Fix gradient (#1033)
* fix: color picker popup duplicate

Signed-off-by: sinjed <oooguuh@gmail.com>

* removed console log

Signed-off-by: sinjed <oooguuh@gmail.com>

* lint

Signed-off-by: sinjed <oooguuh@gmail.com>

---------

Signed-off-by: sinjed <oooguuh@gmail.com>
2025-03-12 09:22:33 +01:00
JFH
88be19fa59 release 7.3.5
* update react-test to react 19

* release 7.3.5
2025-03-09 22:46:01 +01:00
Michael S. Scherotter
61e8d439c4 Fixed issue in EditorStartup.init() where $qq will not work if the editor is in a Web Component (#1028)
* 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>
2025-03-09 21:41:41 +01:00
S1NJED
25e0d91add Fix: color picker value wont change after selecting a new element (#1030)
* fix: color picker failed to update when selecting a new element
Signed-off-by: S1NJED <oooguuh@gmail.com>
2025-03-09 19:19:43 +01:00
Michael S. Scherotter
5ad039a693 Added alt tags to img elements (#1026) 2025-03-02 14:30:07 +01:00
JFH
42840d51de Update to allow commas (#1023)
* update dependencies
* allow commas for separators
2025-02-23 14:21:25 +01:00
JFH
403237c182 Fix text scale #1008 (#1010)
* update dependencies

* fix #1008 by adjusting font-size

(allowing to keep the text keep his proportions to the font)

* refactor math.js
2024-12-27 21:37:05 +01:00
JFH
f0549e4629 Tspan fix (#1006)
* avoid creating x,y in a moving tspan if they didn't exist

* upgrade deps
2024-11-10 14:29:45 +01:00
JFH
3607cc8d69 Fix layer initialisation for orphans (#1005)
* beautify with standard

* update dependencies

* name is created below so no need here

* initialize name before using it.
2024-10-27 12:33:15 +01:00
JFH
989f637e6c Update whitelist with dominant-baseline (#1004) 2024-10-26 19:47:15 +02:00
JFH
346378ead6 convert to base64 before export as CORS restrictions would break the export of linked images (#1003) 2024-10-26 19:26:11 +02:00
Shivang Patel
29216f4f68 fix(config): Fix modifying array values, such as for dimensions (#999) 2024-10-21 22:35:03 +02:00
Venissa
49dd041bc0 Merge layer_view extension (#995)
* Add tested version of layer_view extension

* Fix linting errors

* Modify button style to SVG-Edit colour palette
2024-09-27 20:00:28 +02:00
Venissa
59690cd5f0 Populate layers after new file is opened (#993) 2024-09-20 19:53:59 +02:00
JFH
23c6bc2e23 September updates (#992)
* fix deprecated apple-mobile -web-app-capable
* fix issue #974
* update dependencies
* fix a trailing space for points
* fix issue with tspan recalculation
2024-09-16 13:13:05 +02:00
JFH
0c44b49450 Update dep (#988)
* update and adapt code to latest dependencies

-> need testIsolation to False with the latest Cypress

* need this for CI (bug https://github.com/npm/cli/issues/4828)

* run instrument before test

* fix test

* v7.3.4
2024-08-18 23:51:28 +02:00
w8w8w8
e81a4f8ba9 Update LayersPanel.js (#981)
* Update LayersPanel.js

fix the eye icon lost at right layers

* Update LayersPanel.js

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2024-07-05 00:10:05 +02:00
JFH
5a3f24ef72 deps updates (#984) 2024-07-05 00:01:34 +02:00
Paul Korecky
6eafa75325 fix double binding of shortcut "d" (#972) 2024-05-26 14:09:22 +02:00
Kamil
a4dc7f7396 Update lang.ru.js (#966) 2024-04-25 16:00:10 +02:00
Delmo Heredia
2c3f20635b Add convertUnit utility function to SvgCanvas instance (#965) 2024-04-23 16:22:06 +02:00
Delmo Heredia
04ab3dd873 Fix initial stroke width (#959)
* Fix initial stroke width

* refresh packages

* update snapshots

* Update issue-752.cy.js

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
2024-04-18 13:58:59 +02:00
Delmo Heredia
94f7710cfc Fix build-docs-remove npm script (#962) 2024-04-18 02:52:06 +02:00
Delmo Heredia
f748b05620 Fix main file path in package.json (#961) 2024-04-17 15:47:35 +02:00
cg-scorpio
b166aa02c7 detect a g layer with the className "Layer" instead of a non empty title (#955)
* detect a g layer with the className "Layer" instead of a non empty title

* fix TU
2024-03-12 06:19:47 +01:00
olekhshch
77b7bd95b7 Enhancement: Eyedropper (#948)
* cursor helper

* shortcuts

* Helper styling

* linter fix

* dasharray param fix
2024-01-30 08:14:17 +01:00
olekhshch
9f77e9c63a fix #832, floating btns closing, Esc to close confirmation dialog, 0x0 rects disabled (#947) 2024-01-20 22:53:20 +00:00
olekhshch
f75d1a83a0 Cursors, Esc to cancel active tool (#946)
* 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>
2024-01-17 15:19:37 +01:00
Mo'ath Zaghdad
24f78d3d0f fix: Call zoomChanged event after updating the zoom (#940)
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
2024-01-14 23:21:05 +01:00
olekhshch
19403a2755 Panning, modeChange Event, minor changes (#939)
* mode event, panning cursor

* Panning shortcuts(space,wheel), undo shortcut

* Undo/redo shortcuts, svgcanvas changes added to the main file

* minor refactoring
2023-12-28 11:20:26 +01:00
olekhshch
d502525cc0 Bottom panel styling, more adaptive palette, shortcuts (#937) 2023-12-24 01:48:27 +01:00
JFH
2f9f6e2f71 release 7.3.3 (publish.md and update svgcanvas) 2023-12-10 11:29:50 +01:00
JFH
2b9fa0be0c release 7.2.2 2023-12-10 11:22:50 +01:00