Skip to content

Pasting into an ordered list doesn't keep order #1125

@JohnMcLear

Description

@JohnMcLear

Steps to replicate

Create a new pad
Type in

a
b
c

Highlight and click ordered list.
Now copy and paste the above block and try append it by pasting it to the bottom of the list.

What happens.
The output is

1 a
2 b
3 c
1 a
1 b
1 c

What is expected.
The list will maintain it's integrity and the count will increase so the output is

1 a
2 b
3 c
4 a
5 b
6 c

A test exists to replicate this bug see button_ordered_list.js

FYI @Pita

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions