Skip to content

Long text renders incorrectly #87

@zheeeng

Description

@zheeeng

Current behaviour

long text is wrapped to new line

Expected behaviour

content is horiztonal scrollable.

Code sample

Screenshots (if applicable)

The situation text is not overflowing frame:

image

The situation text is over the width of frame:

image

What have you tried

set white-space: pre !important' on pre element, this visual effect is correct but the editing is broken.

Your Environment

software version
react-simple-code-editor
react
npm or yarn
node
browser

Metadata

Metadata

Assignees

No one assigned

    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