From 6aef9adbc9787b2cf124321a8a8fddfa4116f07e Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Thu, 12 Sep 2024 22:50:25 +0300 Subject: [PATCH] fix link in safari --- index.html | 79 +++++++++++- src/components/dom.ts | 2 +- .../inline-tools/inline-tool-link.ts | 122 ++++++++++++------ src/components/modules/toolbar/inline.ts | 12 ++ src/components/modules/ui.ts | 14 ++ src/components/utils/selection.ts | 50 +++++++ src/styles/ui.css | 7 + test/cypress/tests/utils/popover.cy.ts | 4 +- 8 files changed, 248 insertions(+), 42 deletions(-) create mode 100644 src/components/utils/selection.ts diff --git a/index.html b/index.html index 6f8ad4bb..d5668eb0 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,76 @@ API + +
@@ -83,7 +153,7 @@ - + @@ -97,6 +167,10 @@