feat: add Excalidraw drawing canvas support for .excalidraw and .canvas files - #703
Open
Adityakk9031 wants to merge 1 commit into
Open
feat: add Excalidraw drawing canvas support for .excalidraw and .canvas files#703Adityakk9031 wants to merge 1 commit into
Adityakk9031 wants to merge 1 commit into
Conversation
Adityakk9031
had a problem deploying
to
inkeep-oss-sync
July 20, 2026 12:01 — with
GitHub Actions
Error
Contributor
Author
|
@tim-inkeep have a look |
Contributor
|
We are investigating how to add tldraw, but given it's more strict licensing we are preferring other options like Excalidraw and JSONCanvas. |
anubra266
had a problem deploying
to
inkeep-oss-sync
August 3, 2026 20:01 — with
GitHub Actions
Error
|
Excalidraw would be cool :-) |
Adityakk9031
had a problem deploying
to
inkeep-oss-sync
August 12, 2026 11:44 — with
GitHub Actions
Error
Adityakk9031
had a problem deploying
to
inkeep-oss-sync
August 12, 2026 11:47 — with
GitHub Actions
Error
Contributor
Author
|
Thanks for the feedback @amikofalvy! That makes total sense regarding I have updated this PR to switch from Summary of updates in the latest commit (
Ready for another look when you have a chance! |
Adityakk9031
force-pushed
the
feat-tldraw-canvas
branch
from
August 12, 2026 11:52
0b1581a to
198fba8
Compare
Adityakk9031
had a problem deploying
to
inkeep-oss-sync
August 12, 2026 11:52 — with
GitHub Actions
Error
Contributor
Author
|
@anubra266 please review all the changes |
Adityakk9031
requested a deployment
to
inkeep-oss-sync
August 12, 2026 11:55 — with
GitHub Actions
Waiting
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.
Resolves #696
Description
This PR introduces native support for drawing canvases within the OpenKnowledge editor using the
Excalidrawlibrary (@excalidraw/excalidraw). Users can now create, open, and edit infinite canvas drawing boards by opening files with.excalidraw,.canvas, or.okdrawextensions.What Changed
.excalidraw,.canvas, and.okdrawfile extensions toLINKABLE_ASSET_EXTENSIONSand implemented theisExcalidrawDocFilehelper.ExcalidrawDocEditor.tsxinpackages/app. It renders the<Excalidraw>canvas and serializes/deserializes canvas JSON snapshots directly to the underlyingY.Text('source')doc string with live CRDT synchronization.EditorActivityPool.tsxto mount theExcalidrawDocEditorcomponent when an.excalidraw,.canvas, or.okdrawdocument is active.@excalidraw/excalidrawdependency topackages/appand included.changeset/add-excalidraw-canvas-support.md.Testing
canvas.excalidraw,canvas.canvas, andcanvas.okdrawand verified that the Excalidraw editor loaded correctly.Y.Text('source').@inkeep/open-knowledge-coreand@inkeep/open-knowledge-appcompile and pass TypeScript typechecking cleanly.