Skip to content

Cursor Misalignment in React Markdown Editor When Typing Lists #689

@amal-babu-git

Description

@amal-babu-git

Image

<MDEditor
	value={value}
	onChange={onChange}
	height={height}
	preview="edit"
	hideToolbar={false}
	data-testid="mdx-visual-editor"
	data-color-mode="light"
		/>

In the React Markdown Editor, when I type list items like 1., 2., 3., or *, the visible text appears below the actual line, and the | cursor shows on a different (incorrect) line. The correct text is rendered, but it's not visible in the right place while typing.

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