Commit Graph

9 Commits

Author SHA1 Message Date
Chrissi2812
2291c699ad only lift list_item if we are currently in a list
this allows to use lists in blockquotes that are in another list.
2019-05-20 15:44:11 +02:00
Chrissi2812
a0dae562c2 prevents invalid content in toggleList
This will skip the replace step for invalid content and instead inserts a new list of selected type
2019-05-20 15:40:31 +02:00
Chrissi2812
670936a160 moved liftListItem and wrapInList methods in conditional block
this makes more sense because both functions are only called once and can't be chained as I initially thought.
2019-05-20 15:00:19 +02:00
Chrissi2812
a6baa66e89 fixed todo_lists in toggleList method 2019-05-20 14:54:25 +02:00
Chrissi2812
6cb1c0436b use findParentNode to find parent list instead of arbitary offsets 2019-05-20 14:30:40 +02:00
Chrissi2812
ac89ca404a fixed offset problems with toggleList 2019-05-20 12:05:11 +02:00
Chrissi2812
a24fdac9f7 toggle between unordered_list and ordered_list 2019-05-17 15:50:59 +02:00
Philipp Kühn
adc90a7ecd fix packages 2018-08-23 10:49:01 +02:00
Philipp Kühn
d5039489dd add commands and utils packages 2018-08-23 10:33:49 +02:00