From 591bb55af10f5347aa17cbcae79433550a1d7bec Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 10 May 2023 09:16:28 -0300 Subject: [PATCH] usar eva-icons porque bootstrap se rompe un poco --- package.json | 3 ++- pnpm-lock.yaml | 7 +++++++ src/editor/BubbleMenu.svelte | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a3692e4..698d338 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "prosemirror-commands": "~1.3.1", "prosemirror-dropcursor": "~1.6.1", "prosemirror-gapcursor": "~1.3.1", + "prosemirror-history": "^1.3.0", "prosemirror-keymap": "~1.2.1", "prosemirror-markdown": "~1.10.1", "prosemirror-model": "~1.18.3", @@ -26,7 +27,6 @@ "prosemirror-state": "~1.4.2", "prosemirror-transform": "~1.7.1", "prosemirror-view": "~1.29.2", - "prosemirror-history": "^1.3.0", "svelte": "^3.58.0", "svelte-check": "^2.10.3", "tslib": "^2.5.0", @@ -35,6 +35,7 @@ }, "dependencies": { "bootstrap-icons": "^1.10.4", + "eva-icons": "^1.1.3", "nanoid": "^4.0.2", "navaid": "^1.2.0", "regexparam": "^2.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa2011a..4688a88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ dependencies: bootstrap-icons: specifier: ^1.10.4 version: 1.10.4 + eva-icons: + specifier: ^1.1.3 + version: 1.1.3 nanoid: specifier: ^4.0.2 version: 4.0.2 @@ -606,6 +609,10 @@ packages: '@esbuild/win32-x64': 0.17.17 dev: true + /eva-icons@1.1.3: + resolution: {integrity: sha512-QBSEWNbEx1H0numXP1qgxKVCZHonRaky5ft4pGzQBcO4cy7mEja6TuJ8rc7BqX2pmkvetVQWKDH+DK/8y7GTag==} + dev: false + /fast-glob@3.2.12: resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} diff --git a/src/editor/BubbleMenu.svelte b/src/editor/BubbleMenu.svelte index ef8e37c..bcbf177 100644 --- a/src/editor/BubbleMenu.svelte +++ b/src/editor/BubbleMenu.svelte @@ -7,9 +7,9 @@ import ItalicIcon from "bootstrap-icons/icons/type-italic.svg"; import UnderlineIcon from "bootstrap-icons/icons/type-underline.svg"; import StrikethroughIcon from "bootstrap-icons/icons/type-strikethrough.svg"; - import LinkIcon from "bootstrap-icons/icons/box-arrow-up-right.svg"; - import InternalLinkIcon from "bootstrap-icons/icons/folder-symlink.svg"; - import CloseIcon from "bootstrap-icons/icons/x.svg"; + import LinkIcon from "eva-icons/outline/svg/external-link-outline.svg"; + import InternalLinkIcon from "eva-icons/outline/svg/menu-arrow-outline.svg"; + import CloseIcon from "eva-icons/outline/svg/close-outline.svg"; import type { Command } from "./ps-utils"; import {