Skip to the content
v1.0.1-beta.17

Documentation

Scriviamo is a block-based rich text editor for the web. Its name is Italian for "we write" and "let's write", for an editor several people can write in at once.

A document is an ordered list of blocks, called nodes: paragraphs, headings, lists, tables, images, and any node types you add. Each node edits its own content. The editor saves documents as JSON and also reads and writes HTML, Markdown and plain text.

Scriviamo is written in TypeScript and ships as ES modules. A free base package holds the editor and the common node types. Add-ons add more node types and features, such as forms, media and real-time collaboration.

Its interface uses Bootstrap 5's styles and Bootstrap Icons, which a page loads alongside it; see Getting started.

Contents

PageWhat it covers
Getting startedBuilding the package, loading it in a page, and creating an editor
Packages and add-onsWhat the base package and each add-on contain, and how they load
Moving from other editorsLoading documents saved by Editor.js, TipTap, ProseMirror, Quill, Lexical, SunEditor and CKEditor
React and Next.jsThe React component, saving documents, and server rendering with Next.js
Vue and NuxtThe Vue component, v-model, saving documents, and server rendering with Nuxt
AngularThe Angular component, forms, saving documents, and server rendering
The web component<scriviamo-editor>, for any framework or none, and in forms
The editorOptions, properties, working with nodes and the selection, commands, and events
Node typesThe built-in node types, their JSON names, and the properties every node has
Text and formattingRich text, text styles, formatting commands, and font choices
The toolbarThe built-in tools, adding your own, and saving each user's arrangement
Undo, search, statistics and autosaveUndo and redo, find and replace, word counts, the status bar, and autosave
Comments and suggestionsComment threads, and suggestions such as @-mentions
Data tableTables loaded from a REST API: requests, columns and paging
AI assistantRewriting, fixing, translating and continuing text with a language model you choose
PDF exportPage size, margins, headers, footers and page numbers
TemplatesReusable blocks and documents, with fields filled in as they're inserted
FootnotesNumbered references and their notes, and how they import and export
Math and diagramsFormulas in LaTeX, drawn with KaTeX, as blocks or inside text, and diagrams in Mermaid
Steps, timelines and tabsNumbered steps, timelines and tabbed panels that hold blocks
Files, galleries, maps and embedsFile attachments, image galleries, maps, and the sites embeds play from
ChartsCharts drawn from a table in the document, and how a table's numbers are read
SignaturesSignature fields, signed by drawing or typing, and in fillable PDFs
Dates and statuses in textDate chips in the reader's language, and status pills from your own set
Outline, focus mode, readability and dictationAids for writing: a heading tree, focus mode, readability in the status bar, and voice typing
Word, EPUB, OpenDocument, Notion and ConfluenceImporting and exporting Word documents, books, OpenDocument files, and wiki exports
Version historySaving, comparing and restoring versions, kept in the browser, on your server, or shared
Track changesSuggesting mode, and accepting and rejecting changes
Locked blocks, fields and variablesLocking a document's fixed structure, fill-in fields, and live variables from your data
Task listsChecklist items as tasks with assignees and due dates, and reviewing them
Documents in a git repositoryOpening documents from GitHub, and saving versions to pull requests
Keyboard shortcutsEvery key the editor responds to, by block type, on macOS and Windows
AccessibilityHow the editor and its documents meet WCAG 2.2, the audit, and the accessibility checker
Pickers, menus and dialogsPopups that open from the toolbar or a node, the ready-made pickers, and dialogs
Writing node typesAdding your own node types and editor extensions
Schema validationWhich node types and content documents may have, checked in the browser and on the server
Server renderingTurning saved documents into HTML, Markdown or text on a server, with no browser
Import and exportJSON, HTML, Markdown and plain text; uploading files; exporters, stylesheets and theme colors
The inspectorThe property panel that shows and edits node settings
Node settingsHow node types describe their settings, and adding your own
LocalizationInterface text, the built-in languages, locale packs, and add-on strings
CollaborationSharing a document between editors through a collaboration server
The collaboration protocolThe messages between clients and servers, for writing your own