Editing Content

KnowStack provides a rich text editor for modifying your Knowledge Base content. You can edit any section to refine AI-generated text, add new information, or correct inaccuracies.

How to Edit a Section

  1. Navigate to the section you want to edit in the Knowledge Base viewer.
  2. Click the 'Edit' button on the section.
  3. The rich text editor opens, showing the current content with full formatting tools.
  4. Make your changes using the editor toolbar (headings, bold, italic, lists, links, etc.).
  5. Click 'Save' to save your changes, or 'Cancel' to discard them.

Editor Features

The editor is built on TipTap and supports rich text editing with the following features:

  • Text formatting -- Bold, italic, and other inline styles
  • Headings -- Multiple heading levels for content hierarchy
  • Lists -- Bullet lists and numbered lists
  • Links -- Add hyperlinks to external resources
  • Block types -- Paragraphs, notes, warnings, examples, summaries, and code blocks
  • Undo/Redo -- Full undo and redo support for all changes
  • Section history -- View and restore previous versions of a section

Managing Sections

Beyond editing content within sections, you can also manage the KB structure:

  • Add new sections -- Create new level 1 or level 2 sections
  • Reorder sections -- Drag and drop sections to change their order in the table of contents
  • Rename sections -- Change the title of any section
  • Delete sections -- Remove sections you no longer need
  • Add blocks -- Add new content blocks (paragraphs, lists, notes, etc.) to a section

The KB structure supports a maximum of 2 levels: sections (level 1) and subsections (level 2). Content blocks can only be added to leaf sections (sections that do not have subsections). This is enforced by the system.