Skip to content

playground: go-notebook/playground v0.11.0 (code editor) - #23

Merged
tannevaled merged 2 commits into
mainfrom
playground-v0.11.0
Nov 13, 2026
Merged

tannevaled merged 2 commits into
mainfrom
playground-v0.11.0

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

This PR documents go-notebook/playground v0.11.0 (playground#27).

  • Editor: code cells are the toolkit CodeEditor on a webcanvas surface, with go-rouge highlighting.
  • Accessibility: each cell is one textbox for screen readers.
  • Browser behaviour: IME works, Ctrl+F finds code, a selection from prose into code copies, and the wheel scrolls the page.
  • Fallback: the textarea page renders first and stays if the editor fails to load.
  • Prose cells keep their textarea.

🤖 Generated with Claude Code

tannevaled and others added 2 commits November 13, 2026 18:30
playground/go.mod and go.sum now pin go-notebook/playground v0.11.0; the card text says code cells are a syntax-highlighting editor with a text-box fallback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The deploy build compiles github.com/go-notebook/playground/cmd/editor
(js/wasm, new in v0.11.0) in this module. tools.go named only cmd/build, so
the editor's imports (toolkit/rougelex, webcanvas, window/webmirror) had no
go.sum entry, and the build failed: "missing go.sum entry". tools.go now
names cmd/editor too, and `GOOS=js GOARCH=wasm go build` of it succeeds here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 3b4024e into main Nov 13, 2026
5 checks passed
@tannevaled
tannevaled deleted the playground-v0.11.0 branch November 13, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant