Skip to content

tiptap eats html content outside of <body> #2773

Closed

Description

@kulmann

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When opening an html file with the text-editor app, the body gets rendered. switching to source mode (as implemented per #2760 ) reveals that only the content wrapped in <body></body> is content in the editor. anything outside and including the body tags gets stripped away.

Reproduction Steps

  1. Open an html file in the text-editor
  2. save content (immediately possible because tiptap modifies the source content by stripping away html code)
  3. download the html file
  4. look at the html file source with e.g. vim

Expected Outcome

no html source gets stripped away

Actual Outcome

anything outside and including the body tags got stripped away

Activity

  1. moved this from Qualification to Prio 2 in OpenCloud Team Boardon Jun 30, 2026
  2. AlexAndBear commented on Jun 30, 2026

    @AlexAndBear
    Member

    See #2774

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions