[GH-ISSUE #2140] [Bug] Divider shortcut (---) does not work on lines with existing text #866

Closed
opened 2026-03-23 20:42:14 +00:00 by mirror · 3 comments
Owner

Originally created by @sshdopey on GitHub (Mar 29, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2140

Originally assigned to: @hmncube on GitHub.

Bug Description

The divider shortcut (---) does not work when trying to insert a divider on a line that already contains some text. This bug only occurs on lines with existing text but works fine when the divider shortcut is used on an empty line.

How to Reproduce

  • Open AppFlowy
  • Create a new document
  • Type some text on the line
  • Try to insert a divider using the shortcut (---) on the line with the existing text
  • Observe that the divider is not inserted.

Expected Behavior

The divider shortcut (---) should work when trying to insert a divider on a line with existing text, just as it does when used on an empty line.

Operating System

Windows 11, Ubuntu 22.04

AppFlowy Version(s)

0.1.2

Screenshots

No response

Additional Context

No response

Originally created by @sshdopey on GitHub (Mar 29, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2140 Originally assigned to: @hmncube on GitHub. ### Bug Description The divider shortcut (---) does not work when trying to insert a divider on a line that already contains some text. This bug only occurs on lines with existing text but works fine when the divider shortcut is used on an empty line. ### How to Reproduce - Open AppFlowy - Create a new document - Type some text on the line - Try to insert a divider using the shortcut (---) on the line with the existing text - Observe that the divider is not inserted. ### Expected Behavior The divider shortcut (---) should work when trying to insert a divider on a line with existing text, just as it does when used on an empty line. ### Operating System Windows 11, Ubuntu 22.04 ### AppFlowy Version(s) 0.1.2 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@sshdopey commented on GitHub (Mar 29, 2023):

I'd love to work on this.

<!-- gh-comment-id:1488839552 --> @sshdopey commented on GitHub (Mar 29, 2023): I'd love to work on this.
Author
Owner

@hmncube commented on GitHub (May 11, 2023):

@annieappflowy Can you assign me this task? Just seen that it was assigned to someone else

<!-- gh-comment-id:1543612420 --> @hmncube commented on GitHub (May 11, 2023): ~~@annieappflowy Can you assign me this task?~~ Just seen that it was assigned to someone else
Author
Owner

@annieappflowy commented on GitHub (May 11, 2023):

Assigned, @hmncube . Thanks for offering the help

<!-- gh-comment-id:1543828907 --> @annieappflowy commented on GitHub (May 11, 2023): Assigned, @hmncube . Thanks for offering the help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#866
No description provided.