From d86273c484842fd34a317b54ed30fbd9a8d9687a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 22 Oct 2023 23:39:18 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 2833d99..2455015 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -47,12 +47,6 @@ var setup = function(){ - BUG: editor: FF seems to update the style every other key press -- should be live... - - ## ToDo: - - ASAP: unify attr parsing - - _now duplicated in `.parse(..)` and `.__code2html__(..)`_ - - might be a good idea to add a special text parse stage and use in on both branches... - - ASAP: attrs in editor are not parsed correctly (see: [attrs](#attributes)) - - ASAP: multiple attrs are not handled correctly (see: [attrs](#attributes)) - - ASAP: style attrs (see: [attrs](#attributes)) - ASAP: scroll into view is bad... - ASAP: mobile browsers behave quite chaotically ignoring parts of the styling... - pgup/pgdown/home/end buttons @@ -81,6 +75,7 @@ var setup = function(){ - embed css - cleanup html - generate ideomatic html (???) + - style attrs (see: [attrs](#attributes)) - FEATURE: `collapse-children:: true` block option -- when loading collapse all immediate children - FF: figure out a way to draw expand/collapse bullets without the use of CSS' `:has(..)` - table inline editing a-la code editing -- click cell and edit directly... @@ -111,6 +106,12 @@ var setup = function(){ block text - NOTE: this is only a problem if making list-items manually -- disable??? - empty item height is a bit off... + - DONE unify attr parsing + collapsed:: true + - _now duplicated in `.parse(..)` and `.__code2html__(..)`_ + - might be a good idea to add a special text parse stage and use in on both branches... + - DONE attrs in editor are not parsed correctly (see: [attrs](#attributes)) + - DONE multiple attrs are not handled correctly (see: [attrs](#attributes)) - DONE call `.sync()` on all changes... - DONE show list bullet if node is empty but edited... collapsed:: true