Skip to content

Editor [+] Menu leaves a / in the document, when closed #3943

Closed

Description

@jnweiger

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Seen with 8.1.0 in Firefox.
Opening and closing the the inline + Menu at the left edge of a paragraph produces stray '/' characters in the text.

Reproduction Steps

Create a new txt file, enter a line, move the mouse to the left, where a + menu icon appears.

Image

Click the +, the menu opens, togeather with a / filter.

Image

Do not select any menu item, dismiss the menu either by clicking in empty space, or with ESC key.

  • the menu and the filter dialog disappear. OK
  • a new paragraph with a single / character remains. BAD
  • repeated clicking and dismissing the + menu produces more such / paragraphs. BAD
Image

This behavior was seen with .txt, .md, and .ocnote files.

Expected Outcome

No extra paragraphs get inserted. Text contents remain as before.

Actual Outcome

Stray / character gets inserted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions