zazuko/rdfjs-elements

Allow no default prefixes in RDF-Editor

cristianvasquez opened this issue · 3 comments

Sometimes, one would like to show an editor instance without the default prefixes.

It's not clear from the documentation if this is possible.

No, at the moment rdf, rdfs and xsd are always added

I'm particularly interested in showing two prefixes, and nothing more:

@prefix p:    <https://pipeline.described.at/> .
@prefix code: <https://code.described.at/> .

Which are not part of the Vocabularies.

Perhaps one could have a (custom) map of prefixes that overwrites the default ones?

I'm happy to remove the default prefixes altogether. Maybe it's not as useful a feature after all :)