Update editor, workspace, Git services, appearance, and project guides

This commit is contained in:
Knotty Wyvern
2026-10-11 09:41:16 -07:00
parent a8b1defb9d
commit 909894b9c8
153 changed files with 7967 additions and 775 deletions
+3 -1
View File
@@ -9,6 +9,7 @@
import ContextMenu from "$lib/layout/ContextMenu.svelte";
import type { MenuItem } from "$lib/layout/menuTypes";
import { writerContextItems } from "./writerMenu";
import { useSpellingMenu } from "./spellingMenu";
type Props = {
buffer: OpenBuffer;
@@ -132,9 +133,10 @@
],
content: html,
editorProps: {
attributes: { class: "reading writer-doc" },
attributes: { class: "reading writer-doc", spellcheck: "true" },
handleDOMEvents: {
contextmenu: (pmView, event) => {
if (useSpellingMenu(event, pmView.state.selection.empty)) { menu = null; return false; }
event.preventDefault();
if (!editor) {
return true;