Skip to content

Bug[UI/Editor]: Inconsistent file display behavior when pasting large text #169

@pluuto19

Description

@pluuto19

When a large string is pasted into an empty file, it initially renders as a single long horizontal line with a horizontal scroll bar, and the total file size is displayed. After saving and refreshing the page, the text automatically wraps, and the file size indicator disappears.

To Reproduce:

  • Open a new empty file.
  • Paste a large continuous string of text.
  • Observe the single line rendering and file size display.
  • Save the file and refresh the page.
  • Note that the text now wraps and the file size indicator is gone.

Expected behavior: The text should remain wrapped consistently before and after saving, and the file size display should remain visible.

OS: Windows 10
Browser: Chrome
Version: 141.0.7390.123 (Official Build) (64-bit)

bug.35.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions