lblod/ember-rdfa-editor

Content-predicate properties do not get serialized/parsed correctly

Closed this issue · 1 comments

At the moment content-predicate properties do not get serialized/parsed correctly.
When adding a resource-node with some content; and adding a content-predicate property, the property gets converted to a normal literal property after a reload.

Reproduction:
Screencast from 2024-03-11 15-25-54.webm

The issue only occurs when the datatype of the content-predicate property is http://www.w3.org/2001/XMLSchema#string. When no datatype is provided, the issue does not occur.