
Research
/Security News
Malicious Chrome and Firefox Extensions Steal Crypto Traders’ Session and Wallet Data
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.
@jinntec/jinntap
Advanced tools

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.
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.
Full documentation — including a detailed tei-schema.json reference and a live editor — is published at https://jinnelements.github.io/jinn-tap/.
Work on the docs locally with:
npm run docs:dev # Eleventy dev server with hot reload
npm run build:site # build library + docs site into dist/
npm install @jinntec/jinntap
# Install dependencies
npm install
# Build the library
npm run build
# Docs site with embedded TEI/JATS editors
npm run docs:dev
# Vite dev server for Cypress tests (serves test/*.html)
npm run dev
# Open Cypress test runner
npm run cypress:open
# Run tests in headless mode
npm run cypress:run
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<!-- Import the general editor styles; document styles load from the schema `css` property -->
<link rel="stylesheet" href="node_modules/@jinntec/jinntap/dist/jinn-tap.css" />
<script type="module" src="node_modules/@jinntec/jinntap/dist/jinn-tap.es.js"></script>
</head>
<body>
<jinn-tap></jinn-tap>
<pre id="output"></pre>
<script>
document.addEventListener('DOMContentLoaded', () => {
const editor = document.querySelector('jinn-tap');
const output = document.querySelector('#output');
editor.addEventListener('content-change', (event) => {
output.textContent = event.detail.teiXml;
});
});
</script>
</body>
</html>
<jinn-tap content="<tei-div><tei-p>Initial content</tei-p></tei-div>"></jinn-tap>
// Get the editor instance
const editor = document.querySelector('jinn-tap').tiptap;
// Set content programmatically
editor.commands.setContent('<tei-div><tei-p>New content</tei-p></tei-div>');
// Get content as HTML
const htmlContent = editor.getHTML();
// Get content as TEI XML
const teiXml = editor.teiXml;
// Focus the editor
editor.focus();
The editor supports the following keyboard shortcuts:
Ctrl/Cmd + B - Toggle bold text (hi with rend="bold")Ctrl/Cmd + I - Toggle italic text (hi with rend="italic")Ctrl/Cmd + U - Toggle underline text (hi with rend="underline")Ctrl/Cmd + Shift + P - Insert TEI persNameCtrl/Cmd + Shift + L - Toggle listCtrl/Cmd + Shift + U - Insert footnoteTab - Indent list itemShift + Tab - Outdent list itemEnter - Create new list itemBackspace at start of list item - Convert to paragraphCtrl/Cmd + C - Copy selected textCtrl/Cmd + V - Paste textCtrl/Cmd + X - Cut textCtrl/Cmd + Z - UndoCtrl/Cmd + Shift + Z - RedoThe component dispatches the following events:
Fired when the editor content changes.
editor.addEventListener('content-change', (event) => {
const { content, teiXml } = event.detail;
// content: HTML content
// teiXml: TEI XML content
});
GNU General Public License v3.0 or later — see LICENSE.
Copyright (C) 2025-2026 Jinntec GmbH and the JinnTap contributors. Contributions are accepted under the Contributor License Agreement.
FAQs

We found that @jinntec/jinntap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.