diff --git a/CHANGELOG.md b/CHANGELOG.md index cbf6cb53a..c5ed2dae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [5.7.1] - 2026-08-06 +### Changed +- RDFa editor: annotation overlay rebuilt on demand (`rdfa-editor/overlay.xsl`) + +### Fixed +- RDFa editor: exit-canvas save fired a duplicate PATCH that 412'd on a stale `If-Match`; `onfocusout` is now the sole save trigger +- RDFa editor: block drag-handle visibility (bootstrap.css collision) and dropping blocks inside a LinkedDataHub document +- RDFa editor: annotation overlay dismissed on teardown; caret lands at the clicked word + ## [5.7.0] - 2026-08-02 ### Changed - WYMEditor replaced with the RDFa editor for `rdf:XMLLiteral` editing (#336) diff --git a/pom.xml b/pom.xml index 72e2eb852..d1910cdc2 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.atomgraph linkeddatahub - 5.7.0 + 5.7.1-SNAPSHOT ${packaging.type} AtomGraph LinkedDataHub @@ -46,7 +46,7 @@ https://github.com/AtomGraph/LinkedDataHub scm:git:git://github.com/AtomGraph/LinkedDataHub.git scm:git:git@github.com:AtomGraph/LinkedDataHub.git - linkeddatahub-5.7.0 + linkeddatahub-5.5.4 diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css index a2a07d9e1..4321cd554 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css @@ -231,3 +231,7 @@ circle { cursor: move; } .edit-dialog .rdfa-editor-ui .action-buttons { margin-top: 10px; } .edit-dialog .rdfa-editor-ui .checkbox-label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin-top: 8px; } .editor-bar:not(:has(#edit-toolbar)), body:not(:has(.rdfa-editor-content)) .editor-bar, body:not(:has(.rdfa-editor-content)) #rdfa-editor-breadcrumb { display: none; } +/* Host-page gutter for the block drag handles (rendered at left:-1.5em, outside each block's box). + The editor documents this as a host requirement (padding-left >= 2.5em); LDH must reserve it since + the .rdfa-editor-content div is generated bare by the XMLLiteral form control. */ +.rdfa-editor-content { padding-left: 2.5em; } diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl index 1f0383fa2..acf32d258 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl @@ -44,6 +44,7 @@ xmlns:srx="&srx;" xmlns:spin="&spin;" xmlns:dct="&dct;" xmlns:bs2="http://graphity.org/xsl/bootstrap/2.3.2" +xmlns:rdfae="https://w3id.org/atomgraph/rdfa-editor#" extension-element-prefixes="ixsl" exclude-result-prefixes="#all" > @@ -323,27 +324,29 @@ exclude-result-prefixes="#all" - - - - - - - - - - - - - + + + + + + + + + @@ -362,6 +365,41 @@ exclude-result-prefixes="#all" + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -474,9 +512,14 @@ exclude-result-prefixes="#all" - + + - + @@ -495,7 +538,7 @@ exclude-result-prefixes="#all" - + @@ -512,7 +555,7 @@ exclude-result-prefixes="#all" - + @@ -535,7 +578,7 @@ exclude-result-prefixes="#all" - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl index 52fa98404..f4319ad3e 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl @@ -150,9 +150,9 @@ WHERE - - - + + + @@ -164,9 +164,64 @@ WHERE - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1254,10 +1309,13 @@ WHERE + + - + diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/overlay.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/overlay.xsl index 534b80f7a..cd076d873 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/overlay.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/overlay.xsl @@ -257,6 +257,13 @@ version="3.0"> + + + + +