https://github.com/inception-project/inception-intertext-editor-plugin
https://github.com/inception-project/inception-intertext-editor-plugin
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/inception-project/inception-intertext-editor-plugin
- Owner: inception-project
- License: apache-2.0
- Created: 2022-10-11T11:13:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T09:04:42.000Z (over 1 year ago)
- Last Synced: 2025-04-08T10:22:40.295Z (over 1 year ago)
- Language: TypeScript
- Size: 10.3 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# INCEpTION Intertext Editor Plugin
**Note: This is an early access repository. The way that things work will likely be subject to regular changes for the time being.**

This repository is an example based on the [RecogitoJS](https://github.com/recogito/recogito-js) JavaScript editor component of how to integrate a JavaScript-based annotation editor with INCEpTION. It also uses a special CSS stylesheet to render two separately scrolling areas. This feature depends on the **generic XML** importer from INCEpTION and requires that the imported files follow this structure:
```
...
...
```
Note that importing generic XML is currently an experimental feature that needs to be activated by creating (or updating) a `settings.properties` file in your INCEpTION application home and adding the line `format.generic-xml.enabled=true`.
Starting with INCEpTION v23, external editor plugins are supported. To use this editor, first create a folder named `editors` in your INCEpTION application home. By default, this is `~/.inception`, but on server installations, you will usually have set it to something else such as `/srv/inception`.
Clone this repository as a sub-folder under the `editors` folder.
tl;dr:
```
$ cd ~/.inception
$ mkdir editors
$ cd editors
$ git clone https://github.com/inception-project/inception-intertext-editor-plugin.git
```
Finally, start INCEpTION. Early during start-up, you should see a message like this:
```
ExternalEditorLoader - Loading editor plugin: Intertext (external)
```
Also, on the annotation page, you should be able to switch to that editor.