SaxonJS 3 result-document methods, and the caret survives clicks between blocks - #30
Open
namedgraph wants to merge 2 commits into
Open
SaxonJS 3 result-document methods, and the caret survives clicks between blocks#30namedgraph wants to merge 2 commits into
namedgraph wants to merge 2 commits into
Conversation
… DOM workarounds they emulate Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DfCWF1dExp6zyLrdfrAsZ4
… the editor Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DfCWF1dExp6zyLrdfrAsZ4
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.
Backports the two pending LinkedDataHub changes to the editor sources.
SaxonJS 3 result-document methods (
blocks.xsl,edit.xsl):xsl:result-documentwithixsl:replace-element,ixsl:replace-contentandixsl:insert-afterreplaces the DOM workarounds that emulated them (innerHTML+serialize(..., method: html)staging,ixsl:callappend/after plumbing).Caret placement on non-editable canvas (
edit.xsl,select.xsl): the region getstabindex="-1"as the canvas' focusable floor, and a press that lands outside every editable host (the surface between blocks, the handle gutter, a structural container's own box) focuses the nearest host and places the caret at the point instead of dropping focus out of the editor.Dialog buttons keep this repo's
btn-*classes (styled byoverlay.css); theldhc-btndesign-system classes stay a LinkedDataHub-side adaptation.Based on #29, which the backported files build on — merge that first. Headless suites pass on the result (52/52).
🤖 Generated with Claude Code
https://claude.ai/code/session_01DfCWF1dExp6zyLrdfrAsZ4