@jinntec/jinntap 1.27.0 → 1.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -2
  2. package/dist/jinn-tap.es.js +2262 -2250
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  Edit TEI XML documents using a rich text editor. JinnTap preserves the structure of the XML in the editor. There's no need for complex transformation steps from TEI to HTML and back. The representation of the document in the editor corresponds directly with the XML. TEI elements are converted to HTML custom elements, preserving all attributes and structural features.
6
6
 
7
+ JinnTap comes as a web component. While it can be used standalone, it is usually meant to be embedded into a larger application context such as TEI Publisher 10, which will include JinnTap and does allow saving and reloading documents. TP 10 has not been released yet.
8
+
7
9
  ## Installation
8
10
 
9
11
  ```bash
@@ -68,7 +70,7 @@ npm run cypress:run
68
70
  document.addEventListener('DOMContentLoaded', () => {
69
71
  const editor = document.querySelector('jinn-tap');
70
72
  const output = document.querySelector('#output');
71
-
73
+
72
74
  editor.addEventListener('content-change', (event) => {
73
75
  output.textContent = event.detail.teiXml;
74
76
  });
@@ -145,4 +147,4 @@ editor.addEventListener('content-change', (event) => {
145
147
 
146
148
  ## License
147
149
 
148
- [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html)
150
+ [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html)