Working example

Markdown to HTML

Await conversion and edit the applied visual document.

Local setup

Script integration is available through the browser archive. For ESM, use npm install @vitext-ru/editor@beta. The live example above runs in an isolated browser document; no document data is sent to a server.

Workflow

Edit the document and inspect its applied HTML. Tools use the same default configuration as the builder. The toolbar example intentionally moves selected tools into an explicit *** menu. The plugin example uses Pro, since plugins are unavailable in Simple/Base. The Markdown example awaits conversion before consuming HTML. Invalid source keeps the previous applied version.

await editor.setContent('# Hello\n\n**Текст**', { format: 'markdown' });
console.log(editor.getHTML());

Integration and cleanup

Destroy the instance before unmounting, and await asynchronous imports/styles. Your application owns storage, authentication and uploads. Integration guide. Open separately. The browser archive includes a standalone script example.

← All examples

Search documentation

No results. Try different words.

All documentation