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}
|
||||
|
||||
<div class="floating" style={barStyle}>
|
||||
<Linking {state} {view} />
|
||||
<Linking {state} />
|
||||
<div class="bubble" hidden={state.selection.empty}>
|
||||
{#if changingProp === false}
|
||||
<SimpleMarkItem {view} {state} type={view.state.schema.marks.strong}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
// Inspirado en https://collectednotes.com/blog/zettelkasten
|
||||
|
||||
import { schema } from "../schema";
|
||||
import LinkIcon from "bootstrap-icons/icons/box-arrow-up-right.svg";
|
||||
import InternalLinkIcon from "bootstrap-icons/icons/folder-symlink.svg";
|
||||
import LinkIcon from "eva-icons/outline/svg/external-link-outline.svg";
|
||||
import InternalLinkIcon from "eva-icons/outline/svg/menu-arrow-outline.svg";
|
||||
|
||||
const svgStyle = "width: 1em; height: 1em";
|
||||
|
||||
/** @type {import("prosemirror-view").EditorView} */
|
||||
export let view;
|
||||
// /** @type {import("prosemirror-view").EditorView} */
|
||||
// export let view;
|
||||
/** @type {import("prosemirror-state").EditorState} */
|
||||
export let state;
|
||||
|
||||
|
|
Loading…
Reference in a new issue