Skip to content

[FEATURE]: WYSIWYG Preview & Edit for docx / HTML / Markdown #39611

Closed as not planned

Description

@roikdee

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem:
When using opencode to generate or modify documents (docx, HTML, Markdown), the current workflow is entirely code-diff based — you see raw diffs of the source, not a rendered preview of the final document. This makes it difficult to:

  • Judge whether the visual/layout result is correct before applying changes.
  • Make fine-grained adjustments to rendered content (e.g., tweak a table layout in docx, adjust heading hierarchy in Markdown, or fix an HTML element's styling).
  • Iterate quickly on document content without going through many /undo + re-prompt cycles.

Solution:
A preview/edit mode for rendered document types (docx, HTML, Markdown) that works like a WYSIWYG editor:

  1. After opencode generates or modifies a document, show a rendered preview of the result (not just source diff).
  2. Allow the user to:
    • Directly edit text, formatting, and layout within the rendered preview.
    • See changes reflected in real-time.
    • Confirm or discard individual edits before finalizing.
  3. The underlying source (docx/HTML/MD) is updated accordingly after confirmation.

Activity

  1. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    You may want to review these and consider consolidating the discussion there if they address the same need.

  2. kai-kleinbard-tyto commented on Jul 30, 2026

    @kai-kleinbard-tyto

    Closing — translation/documentation nit. These are better handled via direct PRs to the docs repo rather than issue tracking.

  3. github-actions commented on Sep 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions