Logo
Explore Help
Register Sign In
davidl/tolaria
1
0
Fork 0
You've already forked tolaria
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
d29d5a03aec00a42bae769e200908c98d32701c8
tolaria/design/raw-editor-mode.pen

2 lines
31 B
Plaintext
Raw Normal View History

feat: raw editor mode — plain textarea with frontmatter + wikilink autocomplete Adds a third editor mode (alongside WYSIWYG and Diff) that shows the raw markdown file in a monospaced textarea. Includes: - useRawMode hook with derived state (no setState-in-effect) and onFlushPending - RawEditorView: textarea with 500ms debounce, YAML error banner, wikilink autocomplete via [[ trigger, Cmd+S save - BreadcrumbBar Code icon toggles raw mode; mutual exclusion with diff mode - Command palette: "Toggle Raw Editor" (View group, requires active tab) - useEditorModeExclusion hook extracted to keep Editor.tsx under complexity threshold - buildViewCommands extracted from useCommandRegistry for same reason - RawToggleButton and RawModeEditorSection components extracted for clean CC Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 18:38:25 +01:00
{"children":[],"variables":{}}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 34ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API