Skip to content

[Story] DOCX File Editing in Canvas and Artifacts #3648

@epamLDadayan

Description

@epamLDadayan

[Feature] DOCX File Editing in Canvas and Artifacts

📋 Description

Enable editing of DOCX files directly from Conversation Canvas and Artifacts menu using the open-source SuperDoc library or similiar libraries.


🎯 User Story

As a user working with DOCX files
I want to edit Word documents directly in Canvas and Artifacts
So that I can modify documents without leaving the platform or using external tools


🔑 Requirements

Core Functionality

  • Edit DOCX files from Chat → Canvas
  • Edit DOCX files from Artifacts menu
  • Auto-save functionality
  • Support all major DOCX features (formatting, tables, images, styles, headers/footers, lists)

Library

Features to Support

  • Text formatting (bold, italic, underline, fonts, sizes)
  • Paragraph styles and alignment
  • Tables (create, edit, resize)
  • Lists (numbered, bulleted)
  • Images
  • Headers and footers
  • Page breaks
  • Basic styles and themes

✅ Acceptance Criteria

Given I have a DOCX file in Canvas or Artifacts
When I open the file for editing
Then SuperDoc editor loads with full document content
And I can edit using standard word processing features
And changes auto-save periodically


Given I make changes to a DOCX file
When I finish editing
Then changes are automatically saved
And document maintains proper DOCX format


📋 Implementation

  • Integrate SuperDoc npm library
  • Create DOCX editor component for Canvas
  • Create DOCX editor component for Artifacts
  • Implement auto-save functionality
  • Handle file loading and saving to bucket/conversation
  • Test with various DOCX file formats and features

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

To Do

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions