Commit 44c5009
Replace WYMEditor with the RDFa editor for XMLLiteral editing
- vendor the RDFa editor XSLT modules under xsl/rdfa-editor/ (synced
from the RDFa-Editor repo) and import them from client.xsl
- render XMLLiteral form controls as editable div.rdfa-editor-content
regions with hidden ol/lt inputs (imports/default.xsl)
- create the editor state container in the client main template;
full chrome bring-up on the first region, per-region init afterwards
via the upstream local:init-editor/local:init-region seams (form.xsl)
- serialize canonicalized editor content into the ol input in
ldh:FormPreSubmit
- run the ldh:FormPreSubmit pass before ldh:parse-rdf-post in the block
POST and generic row-form submit handlers (previously the param
defaults parsed the inputs before the pass could sync them, dropping
the empty ol and tripping the ldh:XHTML MissingValue constraint) and
canonicalize XMLLiterals in the request body (block.xsl, form.xsl)
- chain body onmousemove to the editor's sweep-selection tracker
which it shadowed by import precedence (navigation.xsl)
- host the singleton toolbar in a per-document editor-bar below the
action bar (document.xsl slot + local:toolbar-host override); sticky,
matching action-bar chrome, hidden while no editable region is open
along with the editor breadcrumb footer (bootstrap.css)
- drop the WYMEditor assets from layout.xsl; load rdfa-editor.css
under the same conditions instead
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 20c8277 commit 44c5009
27 files changed
Lines changed: 8915 additions & 44 deletions
File tree
- src/main/webapp/static/com/atomgraph/linkeddatahub
- css
- xsl
- bootstrap/2.3.2
- client
- imports
- rdfa-editor
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
0 commit comments