Skip to content

fix: added ctrl + s transmitter for excalidraw#94

Merged
scolastico merged 1 commit intomainfrom
fix/ctrl-s-for-excalidraw
Feb 1, 2026
Merged

fix: added ctrl + s transmitter for excalidraw#94
scolastico merged 1 commit intomainfrom
fix/ctrl-s-for-excalidraw

Conversation

@scolastico
Copy link
Member

Description

Added receiver for not3/draw/save event to trigger save of note.

Related Issue

Closes not-three/main#19

Screenshots (if applicable)

n/a

Checklist

  • I have tested my changes locally
  • I have updated the documentation if needed
  • This PR follows the project's coding style

Additional Notes

n/a

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-01 10:22 UTC

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for triggering a note save from the embedded Excalidraw editor (intended for Ctrl/Cmd+S), closing issue #19.

Changes:

  • Import ~/lib/actions into the Excalidraw editor component.
  • Handle a new not3/draw/save postMessage event by updating stored Excalidraw content and calling Actions.SAVE().

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scolastico scolastico merged commit 5c65978 into main Feb 1, 2026
8 checks passed
@scolastico scolastico deleted the fix/ctrl-s-for-excalidraw branch February 1, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: ctrl + s does not work if excalidraw is open

2 participants