Closed 17prime closed 4 years ago
Thanks for the PR, I will try to take a look soon enough. Were you able to test it?
I did test this branch in a webpage a little, but it's the same changes to editor.js and indent_text.js that I do have running in another version I have loaded in SN web-app without issue (but which has unrelated changes and is where I was mucking about somewhat less "cleanly").
Nice, I saw your Nimble editor and this feature seems to fit nicely in Indent Editor :)
A first crack at enumerated list behaviour: will maintain blank space only indentation in enumerated lists (of the form: /^\s*(\d+).\s+/)/, and auto-increment numbers in consecutive lines on entry. Does not attempt to fix or re-number if things are moved/changed/deleted etc. after entry --- just intended to simplify enumerated list enty a little.
cheers, andrew