Skip to content

Word wrapping causes odd behavior with card linking in primers #129

@Kerakis

Description

@Kerakis

When a card link is pushed to the next line due to word wrap, strange things happen depending on the browser:

In Firefox, when the cursor is placed at the very end of the previous line (i.e. "word"), pressing the delete key will do nothing.

In Chrome, with the cursor in the same place, the delete key does correctly delete the first "[" of the card link on the next line. Instead, the weird behavior manifests when moving the cursor left and right with the arrow keys. Then the cursor acts like the space at the end of the line doesn't exist. With the cursor in the same place as above, pressing the backspace key will delete the character to the right the cursor rather than deleting the character to the left of the cursor.

Resizing the browser window to shift the word wrap seems to fix the issue.

Cursor placement:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions