Skip to content

[Bug] log copied from log page missing \n #9099

Open
@ChrisKimZHT

Description

@ChrisKimZHT

Contact Information

[email protected]

1Panel Version

2.0.1

Problem Description

The log copied from log page missing line breaks, and the log that scrolls outside the page cannot be copied.

Originally posted by @ChrisKimZHT in #9089

Steps to Reproduce

missing \n issue:

  1. enter a log page (/cronjobs/cronjob, /logs/system, etc.)
  2. select and copy log text
  3. paste log text to a text editor
  4. all \n is missing

scrolls issue:

  1. enter a log page (/cronjobs/cronjob, /logs/system, etc.)
  2. select log text and scroll the log container
  3. selection disappeared

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions