feat: Add event detail modal with markdown rendering and editing (WYSIWYG)#60
Open
cybersader wants to merge 1 commit intomark-when:mainfrom
Open
feat: Add event detail modal with markdown rendering and editing (WYSIWYG)#60cybersader wants to merge 1 commit intomark-when:mainfrom
cybersader wants to merge 1 commit intomark-when:mainfrom
Conversation
Author
Obsidian_myoAFNpD01.mp4 |
Author
|
I couldn't figure out a WYSIWYG editor for this - seems there's not an obvious way to do this since Obsidian uses its own code mirror 6 under the hood to do this. Then again, I very well don't probably know what I'm talking about since this is my first Obsidian plugin contribution |
Author
|
Attempting to refactor or revive the WYSIWYG approach |
431a5cf to
fa6f58e
Compare
Major features: - True WYSIWYG editor using CodeMirror 6 with inline formatting - Bold, italic, strikethrough render inline (syntax hidden until cursor on line) - Interactive checkboxes for task lists (click to toggle) - Fenced code block highlighting with background styling - Links show as clickable text, URL hidden until editing - Full undo/redo support (Ctrl+Z, Ctrl+Shift+Z) - Editable event titles directly in the modal - Date/time picker with: - Combined datetime-local inputs for From/To - Smart time display (only shows time when not midnight) - Live summary preview of formatted date range - Settings toggle between WYSIWYG and plain text editor modes - Fixed title parsing bug with times containing colons (e.g., 10:30am) - Cleaner date format when dragging events on timeline 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fa6f58e to
bce18b7
Compare
Author
Obsidian_aUoVRuanZF.mp4 |
Author
|
Loved using this last month btw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the ability to click on timeline events to view and edit their details with a rich editing experience.
Features
WYSIWYG Event Editor (New!)
til cursor is on that
line)
Date/Time Picker
Editor Mode Settings
atting
nly
Event Detail Modal
Bug Fixes
0:30am)
clicks became
unreliable
Technical Changes
component
only)
ttings
r/lang-markdown,
@codemirror/language)
Closes #4, Related to #22, #43