Version 1.4.6
Features
- Added Finnish and Korean UI translation
- Made editor component auto-position behavior optional (via a the
autoPosition
prop, defaults totrue
) - Added support for tagging vocabularies with ontology terms, where each vocabulary item consists of a label and a URI.
var r = Recogito.init({
content: 'content', // Element id or DOM node to attach to
widgets: [{
widget: 'TAG',
vocabulary: [
{ label: 'Place', uri: 'http://www.example.com/ontology/place' },
{ label: 'Person', uri: 'http://www.example.com/ontology/place' },
{ label: 'Event', uri: 'http://www.example.com/ontology/event' },
{ label: 'Organization', uri: 'http://www.example.com/ontology/organization' },
{ label: 'Animal', uri: 'http://www.example.com/ontology/animal' }
]
}]
});
It's also possible to mix normal terms and ontology terms.
var r = Recogito.init({
content: 'content', // Element id or DOM node to attach to
widgets: [{
widget: 'TAG',
vocabulary: [
{ label: 'Place', uri: 'http://www.example.com/ontology/place' },
'Person',
{ label: 'Event', uri: 'http://www.example.com/ontology/event' },
]
}]
});
Behavior/bugfixes
- Widget API:
saveImmediately
andonUpsertBody
now properly exposed to VanillaJS widgets