From 41ea8148499ec1e077ce0bf8c6b140131273d1d9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 29 Oct 2023 16:27:45 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 50613c7..fdecc3f 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -66,9 +66,11 @@ var setup = function(){ - this node has a second empty line - there are several ways to deal with this:# - - logseq: remove trailing whitespace completely on refocus + - remove trailing whitespace completely on refocus (a-la logseq) - show whitespace in both modes - keep current behavior + - + _BTW: leading whitespace is shown..._ - Q: should we select text without first focusing?? - _...logseq does not do this either_ - editor as a custom element / web component @@ -78,6 +80,7 @@ var setup = function(){ - adding an explicit textarea element is an odd requirement (reject?) - seems that the least bad way to go is to use the `value` attribute - DONE API: directly mixin Outline? + - `.value` / `.code` should be both updated internally and also load new content when updated externally -- not yet sure how... - events - test nesting... -