nextcloud/notes

Hyphen does not turn into bullet point when pasting text after it in rich text editor.

wherop opened this issue · 1 comments

Bullet point markdown is not converted into decorated rich text, when pasting text.

Steps to reproduce

  1. type - on a new line in the rich text editor (and do not type any more characters),
  2. paste some text using context menu or paste keyboard shortcut

Expected behaviour

The line should turn into a bullet list item like this (same as when the next character is typed after - ):

  • A list item

Actual behaviour

The line remains raw text beginning with a hyphen:

- A list item

Screenshots

Actual:
incorrect
Expected:
correct

Server

Please complete the following information.

  • Notes app version: 4.10.0
  • Nextcloud version: 28.0.3
  • OS: Linux 5.15.0-101-generic x86_64
  • Web server: Unknown
  • PHP version: 8.2.18
  • Database: mysql 10.5.25

Thanks for reporting, I'll close this as a duplicate of nextcloud/text#5019 where this is already tracked