From 69e485352a50cab564e9fb4ffc2c829a889c9841 Mon Sep 17 00:00:00 2001
From: Timo Dittmann
Date: Tue, 4 Jan 2022 10:42:22 +0100
Subject: [PATCH] Added Text Decoration options
---
.../ui/__snapshots__/scenario.js.snap | 93 +++++++++++++++++++
cypress/integration/ui/scenario.js | 18 ++++
.../images/text_decoration_linethrough.svg | 6 ++
.../images/text_decoration_overline.svg | 6 ++
.../images/text_decoration_underline.svg | 6 ++
src/editor/locale/lang.af.js | 3 +
src/editor/locale/lang.ar.js | 3 +
src/editor/locale/lang.az.js | 3 +
src/editor/locale/lang.be.js | 3 +
src/editor/locale/lang.bg.js | 3 +
src/editor/locale/lang.ca.js | 3 +
src/editor/locale/lang.cs.js | 3 +
src/editor/locale/lang.cy.js | 3 +
src/editor/locale/lang.da.js | 3 +
src/editor/locale/lang.de.js | 3 +
src/editor/locale/lang.el.js | 3 +
src/editor/locale/lang.en.js | 3 +
src/editor/locale/lang.es.js | 3 +
src/editor/locale/lang.et.js | 3 +
src/editor/locale/lang.fa.js | 3 +
src/editor/locale/lang.fi.js | 3 +
src/editor/locale/lang.fr.js | 3 +
src/editor/locale/lang.fy.js | 3 +
src/editor/locale/lang.ga.js | 3 +
src/editor/locale/lang.gl.js | 3 +
src/editor/locale/lang.he.js | 3 +
src/editor/locale/lang.hi.js | 3 +
src/editor/locale/lang.hr.js | 3 +
src/editor/locale/lang.hu.js | 3 +
src/editor/locale/lang.hy.js | 3 +
src/editor/locale/lang.id.js | 3 +
src/editor/locale/lang.is.js | 3 +
src/editor/locale/lang.it.js | 3 +
src/editor/locale/lang.ja.js | 3 +
src/editor/locale/lang.ko.js | 3 +
src/editor/locale/lang.lt.js | 3 +
src/editor/locale/lang.lv.js | 3 +
src/editor/locale/lang.mk.js | 3 +
src/editor/locale/lang.ms.js | 3 +
src/editor/locale/lang.mt.js | 3 +
src/editor/locale/lang.nl.js | 3 +
src/editor/locale/lang.no.js | 3 +
src/editor/locale/lang.pl.js | 3 +
src/editor/locale/lang.pt-BR.js | 3 +
src/editor/locale/lang.pt-PT.js | 3 +
src/editor/locale/lang.ro.js | 3 +
src/editor/locale/lang.ru.js | 3 +
src/editor/locale/lang.sk.js | 3 +
src/editor/locale/lang.sl.js | 3 +
src/editor/locale/lang.sq.js | 3 +
src/editor/locale/lang.sr.js | 3 +
src/editor/locale/lang.sv.js | 3 +
src/editor/locale/lang.sw.js | 3 +
src/editor/locale/lang.test.js | 3 +
src/editor/locale/lang.th.js | 3 +
src/editor/locale/lang.tl.js | 3 +
src/editor/locale/lang.tr.js | 3 +
src/editor/locale/lang.uk.js | 3 +
src/editor/locale/lang.vi.js | 3 +
src/editor/locale/lang.yi.js | 3 +
src/editor/locale/lang.zh-CN.js | 3 +
src/editor/locale/lang.zh-HK.js | 3 +
src/editor/locale/lang.zh-TW.js | 3 +
src/editor/panels/TopPanel.html | 6 ++
src/editor/panels/TopPanel.js | 22 +++++
src/svgcanvas/elem-get-set.js | 50 ++++++++++
src/svgcanvas/sanitize.js | 2 +-
src/svgcanvas/svgcanvas.js | 3 +
68 files changed, 385 insertions(+), 1 deletion(-)
create mode 100644 src/editor/images/text_decoration_linethrough.svg
create mode 100644 src/editor/images/text_decoration_overline.svg
create mode 100644 src/editor/images/text_decoration_underline.svg
diff --git a/cypress/integration/ui/__snapshots__/scenario.js.snap b/cypress/integration/ui/__snapshots__/scenario.js.snap
index 0eb0afbd..db0a2bd4 100644
--- a/cypress/integration/ui/__snapshots__/scenario.js.snap
+++ b/cypress/integration/ui/__snapshots__/scenario.js.snap
@@ -637,3 +637,96 @@ exports[`use various parts of svg-edit > check tool_text_change_font_family #0`]
+
+
+
+
+
+