From 99eab1f99efc9b937b53770a8fac229a0c1ba15f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 29 Oct 2023 16:22:38 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 72e2b9c..50613c7 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -48,10 +48,6 @@ - - ## Bugs: focused:: true - - BUG: trailing whitespace is ignored in view... - - this node has a second empty line - - - this is a sibling to the above node - BUG: undo: does not handle element splitting correctly... - place cursor somewhere here, hit `Enter`, and then undo. - _this will correctly restore the old node but will not remove the new one_ @@ -66,6 +62,15 @@ - side margins are a bit too large (account for toolbat to the right) - - ## ToDo: + - trailing whitespace is ignored in `.view`... (BUG?) + - this node has a second empty line + + - there are several ways to deal with this:# + - logseq: remove trailing whitespace completely on refocus + - show whitespace in both modes + - keep current behavior + - Q: should we select text without first focusing?? + - _...logseq does not do this either_ - editor as a custom element / web component - DONE data interface: collapsed:: true @@ -76,7 +81,9 @@ - events - test nesting... - - - selection / multiple node selection (via shift+motion) + - selection + - multiple node selection (via shift+motion) + - touch/mouse (???) - copy/paste nodes/trees - numbered lists: add counters to a depth of 6-7... - _or find a way to make them repeat..._