diff --git a/experiments/outline-editor/editor.css b/experiments/outline-editor/editor.css index e2980c0..91bdd2c 100755 --- a/experiments/outline-editor/editor.css +++ b/experiments/outline-editor/editor.css @@ -411,13 +411,14 @@ editor .outline .block:focus { /*------------------------------------------------ Numbered lists ---*/ +.editor .outline .numbered-list>.children { + counter-reset: numbered-list; +} .editor .outline .numbered-list>.children>.block>.view:not(:empty):before { counter-increment: numbered-list; content: counter(numbered-list) "."; color: gray; } - -/* numbered lists... */ .editor .outline .numbered-list>.children >.numbered-list>.children>.block>.view:not(:empty):before { diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index a248583..da32372 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -53,6 +53,8 @@ var setup = function(){ - ## ToDo: - selection / multiple node selection (via shift+motion) - copy/paste nodes/trees + - numbered lists: add counters to a depth of 6-7... + - _or find a way to make them repeat..._ - FEATURE: read-only mode - auto-shift done blocks to the end of siblings... (option?) - ...or should this be `sort:: done` -- i.e. sort children by done status??