Creating & Managing Content
This guide covers how to create and manage books, chapters, and pages in the Docs module, including using the rich text editor, organizing content, and working with version history.
Creating a Book
Navigate to Docs from the main navigation.
Click the New Book button.
Fill in the book form:
| Field | Required | Description |
|---|---|---|
| Name | Yes | The book title. A URL-friendly slug is generated automatically. |
| Description | No | A summary of the book's contents (up to 2,000 characters). Displayed on the books grid. |
| Icon | No | An icon identifier for visual categorization. |
| Visibility | Yes | Who can see this book: Personal, Internal, Portal, or Public. See Visibility & Sharing. |
Click Create.
The book is created and you are redirected to the book workspace where you can start adding chapters and pages.
Personal Books
When you set visibility to "Personal", you are automatically set as the book owner. Only you can see personal books, they do not appear for other team members.
Editing a Book
Open the book from the Docs grid.
Click the book settings or edit action.
Modify the name, description, icon, or visibility.
Click Save.
If you change the name, the slug is automatically updated to remain URL-friendly. If the new slug conflicts with an existing book in your tenant, a numeric suffix is appended.
Changing Visibility
When you change a book's visibility:
Personal to non-personal: The owner is cleared. The book becomes visible to your team (and portal/public if applicable).
Non-personal to personal: You become the owner. Only you can see the book going forward.
Internal to portal/public: Portal contacts and/or public visitors gain access to published pages.
Portal/public to internal: Portal contacts and public visitors lose access.
Deleting a Book
Open the book from the Docs grid.
Click the Delete action.
Confirm the deletion.
Deleting a book soft-deletes it along with all its chapters and pages. This may be recoverable within a retention window depending on your tenant's configuration.
Adding Chapters
Chapters are created inline from the book's sidebar navigation:
Open the book workspace.
In the sidebar, click the New Chapter button (or the "+" icon).
Enter the chapter name (up to 255 characters).
Click Create.
The new chapter appears in the sidebar tree. Its sort order is set to the end of the list by default.
Renaming a Chapter
In the sidebar, click the chapter name or its edit icon.
Enter the new name.
Confirm. The slug is updated automatically.
Reordering Chapters
Chapters can be reordered via drag-and-drop in the sidebar:
Click and hold the chapter you want to move.
Drag it to the desired position in the sidebar.
Release. The new order is saved automatically.
Behind the scenes, this sends the full ordered list of chapter IDs to the server, which updates the sort_order on each chapter in one operation.
Deleting a Chapter
In the sidebar, click the chapter's delete action.
Confirm the deletion.
When a chapter is deleted:
The chapter is soft-deleted.
All pages inside the chapter are preserved: they are moved to the book's top level (their
chapter_idis set to null).Pages are not deleted when their parent chapter is removed.
Creating Pages
From the Book Workspace
Open the book workspace.
Click the New Page button in the sidebar or toolbar.
The page editor opens with the following fields:
| Field | Required | Description |
|---|---|---|
| Title | Yes | The page heading (up to 255 characters). A URL-friendly slug is generated automatically. |
| Content | No | The page body, authored using the Tiptap rich text editor. |
| Excerpt | No | A plain-text summary (up to 2,000 characters) used for search previews. |
| Chapter | No | Which chapter the page belongs to. Leave blank for a top-level page. |
| Status | No | Draft or Published. Defaults to draft. |
Write your content using the rich text editor (see below).
Click Save.
Creating a Page Inside a Chapter
In the sidebar, click the "+" icon next to the chapter name, or use the new page action with the chapter pre-selected.
The page editor opens with the chapter field pre-filled.
Complete the page and save.
The Tiptap Rich Text Editor
Pages are authored using a Tiptap-based rich text editor that stores content as structured JSON. The editor provides a toolbar with formatting controls and keyboard shortcuts.
Text Formatting
| Feature | How to Use |
|---|---|
| Bold | Toolbar button or Ctrl+B / Cmd+B |
| Italic | Toolbar button or Ctrl+I / Cmd+I |
| Underline | Toolbar button or Ctrl+U / Cmd+U |
| Strikethrough | Ctrl+Shift+S / Cmd+Shift+S, or wrap with ~~ |
| Inline code | Wrap text with backticks |
Headings
The editor supports multiple heading levels:
| Level | Keyboard Shortcut |
|---|---|
| Heading 1 | Ctrl+Alt+1 / Cmd+Alt+1 |
| Heading 2 | Ctrl+Alt+2 / Cmd+Alt+2 |
| Heading 3 | Ctrl+Alt+3 / Cmd+Alt+3 |
| Heading 4 | Ctrl+Alt+4 / Cmd+Alt+4 |
You can also type # , ## , ### , or #### at the beginning of a line followed by a space to create a heading (Markdown shortcut).
Lists
| List Type | How to Create |
|---|---|
| Bullet list | Toolbar button, or type - or * at the start of a line |
| Numbered list | Toolbar button, or type 1. at the start of a line |
| Task list | Toolbar button (if available) |
Lists can be nested by pressing Tab to indent or Shift+Tab to outdent.
Code Blocks
For code snippets and technical content:
Click the code block button in the toolbar.
Or type three backticks (
```) at the start of a line and press Enter.Enter your code.
Press
Ctrl+Enter/Cmd+Enterto exit the code block, or click below it.
Code blocks preserve whitespace and use a monospace font.
Images
To insert an image:
Click the image button in the toolbar.
Upload an image file or enter an image URL.
The image is inserted at the cursor position.
Links
To create a hyperlink:
Select the text you want to link.
Click the link button in the toolbar (or press
Ctrl+K/Cmd+K).Enter the URL.
Confirm. The selected text becomes a clickable link.
To remove a link, place your cursor inside the linked text and click the unlink button.
Block Quotes
To create a block quote:
Click the quote button in the toolbar.
Or type
>at the start of a line.
Horizontal Rules
To insert a horizontal divider:
Click the horizontal rule button in the toolbar.
Or type
---on its own line and press Enter.
Tables
The editor may support table creation depending on the installed Tiptap extensions:
Click the table button in the toolbar.
Select the number of rows and columns.
Fill in the cells.
Content Storage
Content is stored as Tiptap JSON (a structured document format) in a JSONB column. This format preserves all formatting, structure, and embedded media references. When displayed, the JSON is rendered into formatted HTML.
Editing a Page
Navigate to the page in the book workspace (click it in the sidebar).
Click the Edit button.
The page opens in the Tiptap editor with the current content loaded.
Make your changes.
Click Save.
When you save, the page is updated and a new version snapshot is automatically recorded if the title or content changed.
Changing a Page's Chapter
While editing, you can change which chapter a page belongs to:
In the edit form, change the Chapter dropdown.
Select a different chapter, or clear it to make the page a top-level page.
Save. The page moves to the selected chapter.
Page Status: Draft vs. Published
Every page has a status that controls its visibility:
Draft
The default status for new pages.
Visible to your team in the admin interface.
Hidden from portal contacts and public visitors, even if the book has portal or public visibility.
The
published_attimestamp is null.
Published
Visible to all audiences that the book's visibility level allows.
The
published_attimestamp is set when the page is first published.
Publishing a Page
Open the page in the editor.
Change the Status to "Published".
Save. The
published_attimestamp is set to the current time.
Unpublishing a Page
Open the page in the editor.
Change the Status to "Draft".
Save. The
published_attimestamp is cleared. The page is hidden from portal and public views.
Publishing and unpublishing does not create a version snapshot (status changes are tracked via the audit trail).
Page Ordering via Drag-and-Drop
Pages can be reordered within and between chapters:
Reordering Within a Chapter
In the sidebar, click and hold the page you want to move.
Drag it to the desired position within the same chapter.
Release. The new sort order is saved.
Moving Between Chapters
Drag a page from one chapter to another.
Release it in the desired position within the target chapter.
The page's chapter assignment and sort order are both updated.
Moving to Top Level
Drag a page out of a chapter and into the top-level area of the sidebar.
The page's chapter assignment is cleared and it becomes a top-level page.
The reorder operation sends the complete page order (with chapter assignments) to the server in a single request, ensuring consistency.
Version History
Every edit to a page's title or content automatically creates a version snapshot.
How Versioning Works
The initial version of a page is version 1, created when the page is first saved.
Each subsequent save that changes the title or content increments the version number and records a snapshot.
Snapshots store the title, content, status, and the ID of the user who made the change.
Status-only changes (publish/unpublish) do not create new version snapshots.
Viewing Version History
Open the page in the workspace.
Access the version history viewer (available from the page toolbar or detail view).
Browse previous versions with their version numbers, content, and author.
Restoring a Previous Version
The version viewer allows you to inspect previous versions and potentially restore them. Restoring a version creates a new version snapshot (it does not overwrite history).
Page Excerpts
Each page can have an optional excerpt, a plain-text summary of up to 2,000 characters. Excerpts serve two purposes:
Search results: Excerpts appear in search results, giving users a preview of the page content.
Portal previews: In the portal docs view, excerpts may be displayed alongside page listings.
Excerpts are not auto-generated. You must write them manually in the page editor.
Deleting a Page
Navigate to the page in the workspace.
Click the Delete action.
Confirm the deletion.
Deleted pages are soft-deleted. After deletion, you are redirected to the book workspace.
Entity Links
Books can be linked to CRM entities for cross-referencing:
Adding a Link
Open the book workspace.
Use the link/association feature in the book detail panel.
Search for and select a contact, company, or user.
The entity is linked to the book.
Link Types
| Entity Type | Use Case |
|---|---|
| Contact | Link a book to a specific client contact (e.g., their onboarding docs). Displays a link to the contact's CRM record. |
| Company | Link a book to a company (e.g., the client's service documentation). Displays a link to the company's CRM record. |
| User | Link a book to a team member (e.g., their training materials). |
Removing a Link
In the book's linked entities panel, find the entity.
Click the remove/unlink action.
The link is deleted. The entity itself is not affected.
Full-Text Search Indexing
Page content is automatically indexed for full-text search. The search index is updated whenever a page is created or its title or content changes. Title text receives a higher relevance weight than body content, so searches that match the title will rank higher.
See Search & Navigation for details on using search.