hedgedoc/cypress/integration
Erik Michelson 726b084509
Fix task list checkboxes for numbered lists (#1233)
* Fix replacer regex

This regex handles the replacement of the [ ] with [x] and reverse.
Until now it was build to check for an unordered list beginning with "*" or "-".
This change permits "+" as well as digits followed by a dot (ordered lists).

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add cypress tests for task lists

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add bracket syntax for numbered lists

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-05-04 20:34:16 +02:00
..
autocompletion.spec.ts
banner.spec.ts
diagrams.spec.ts
documentTitle.spec.ts
editorMode.spec.ts
export.spec.ts
fileUpload.spec.ts
helpDialog.spec.ts
highlightedCodeBlock.spec.ts
history.spec.ts
import.spec.ts
intro.spec.ts
language.spec.ts
link.spec.ts
linkEmbedder.spec.ts
linkSchemes.spec.ts
maxLength.spec.ts
profile.spec.ts
quote-extra.spec.ts
shortcodes.spec.ts
signInButton.spec.ts
taskLists.spec.ts Fix task list checkboxes for numbered lists (#1233) 2021-05-04 20:34:16 +02:00
toolbar.spec.ts
yamlArrayDeprecationMessage.spec.ts