This commit is contained in:
parent
5b8b11b0e8
commit
c25419b274
2 changed files with 5 additions and 5 deletions
|
@ -135,7 +135,7 @@ transform: scale(${1 / viewport.scale});
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="floating" style={barStyle}>
|
<div class="floating" style={barStyle}>
|
||||||
<Linking {state} {view} />
|
<Linking {state} />
|
||||||
<div class="bubble" hidden={state.selection.empty}>
|
<div class="bubble" hidden={state.selection.empty}>
|
||||||
{#if changingProp === false}
|
{#if changingProp === false}
|
||||||
<SimpleMarkItem {view} {state} type={view.state.schema.marks.strong}
|
<SimpleMarkItem {view} {state} type={view.state.schema.marks.strong}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
// Inspirado en https://collectednotes.com/blog/zettelkasten
|
// Inspirado en https://collectednotes.com/blog/zettelkasten
|
||||||
|
|
||||||
import { schema } from "../schema";
|
import { schema } from "../schema";
|
||||||
import LinkIcon from "bootstrap-icons/icons/box-arrow-up-right.svg";
|
import LinkIcon from "eva-icons/outline/svg/external-link-outline.svg";
|
||||||
import InternalLinkIcon from "bootstrap-icons/icons/folder-symlink.svg";
|
import InternalLinkIcon from "eva-icons/outline/svg/menu-arrow-outline.svg";
|
||||||
|
|
||||||
const svgStyle = "width: 1em; height: 1em";
|
const svgStyle = "width: 1em; height: 1em";
|
||||||
|
|
||||||
/** @type {import("prosemirror-view").EditorView} */
|
// /** @type {import("prosemirror-view").EditorView} */
|
||||||
export let view;
|
// export let view;
|
||||||
/** @type {import("prosemirror-state").EditorState} */
|
/** @type {import("prosemirror-state").EditorState} */
|
||||||
export let state;
|
export let state;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue