@kodaeditor/core
v1.1.0
Published
WYSIWYG rich-text editor as a web component. Brings tables, lists and formatting across when users paste from Word, Excel and Google Docs. Self-hosted, framework-agnostic.
Maintainers
Readme
KodaEditor
A WYSIWYG rich-text editor for web applications, shipped as a web component.
Not a code editor. This is the box your users write a contract, a report or an article in. If you need somewhere to write code, you want CodeMirror or Monaco.
What makes it different
Paste a table from Microsoft Word and it stays a table. Paste a range from Excel and it arrives as a real table, not a picture. Paste a page from Google Docs and the formatting survives.
That sounds like a baseline, and it is not: pasted Word content loses its merged cells, column widths, numbered lists and inline colours quietly, and the user notices only later, in the document they already sent. Each item below is here because it used to break in this editor and was fixed:
- numbered and bulleted lists, including nesting levels and lists inside table cells
- tables with merged cells, column widths and row heights
- text colour, highlight, bold, italic, underline, strikethrough
- paragraph alignment, including numbers aligned inside table cells
- runs of spaces used for layout, kept instead of collapsed into one
- images, including the ones Word hides inside drawing shapes
Import is supported directly too: .docx (including text inside shapes),
.xlsx, .csv, PDF, HTML, Markdown and plain text.
Install
npm i @kodaeditor/core<script src="/koda-editor.js"></script>
<koda-editor license="YOUR-LICENSE-KEY"></koda-editor>Framework wrappers are separate packages: @kodaeditor/react,
@kodaeditor/vue3,
@kodaeditor/vue2,
@kodaeditor/angular.
Self-hosted, and we mean it
Once installed, the editor makes no runtime calls to any external CDN. The only outbound request is a lightweight licence check, and you can point that at your own endpoint or switch it off entirely with an offline licence file that is verified on your own machine.
No content ever leaves your infrastructure. No account, no tenant, no dashboard of ours in the middle.
Your network is a parameter, not a problem
Locked-down intranet, corporate proxy, a Content Security Policy you cannot change, a laptop with no internet at all - these are the deployments the editor was built for, not the ones it tolerates.
Rather than bury that in a manual, we made it a questionnaire. Answer five questions and get the exact recipe for your case: how to activate the license, which files to ship, what to put in your CSP, and which build to take.
Everything it recommends is a shipped capability, not a roadmap item. If your combination genuinely does not work, the page says so instead of selling you a workaround.
Trying it without a licence
Install it and everything works from the first minute. Nothing is switched off, nothing is time-limited, there is no signup, and no feature is held back. The Word paste is the part worth testing, so we would rather you tested it properly.
Two things mark an unlicensed installation on a public domain, and neither takes anything away:
- a watermark across the document and a banner above the editor;
- one line appended to everything you export - PDF, Word, HTML, Markdown, plain text, CSV - saying the file was created in trial mode.
While you develop, the watermark does not appear. On localhost, 127.0.0.1 and the reserved .test and .localhost suffixes the editor runs without it: building and evaluating the product is not production use, and we would rather you were not looking at a watermark while you decide.
The exported line stays even there - a file you send out is a file you send out, wherever it was made.
Note that .local is treated as production, because in company networks it usually is - an internal server such as intranet.company.local serves real users and needs a license like any other deployment.
Files still open and read normally. There is no limit on size, on how many documents you produce, or on which features you use.
We say this here rather than let you find it in a document you already sent someone.
An installation that has validated successfully before is never marked because of us: if our validation service is unreachable, it keeps exporting clean files.
Licence
Commercial, one-time payment, $399 per production domain. No subscription, no renewal, no per-seat or per-document billing. A second domain is a second licence.
Offline licences are available on request: a signed file the editor verifies on your own machine, with no request to us, ever. Your installation then depends on nothing of ours.
Full terms: kodaeditor.com/license
Links
- Live demo, no signup: kodaeditor.com/demo
- Documentation: kodaeditor.com/docs
- Setup planner for strict CSP, proxies and air-gapped networks: kodaeditor.com/setup
- Buy: kodaeditor.com/buy
- Questions before buying are cheaper than refunds after: [email protected]
