From 2ddcf93faf7be37c5a5bca82b53360f7ac0cd6bd Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 20 Oct 2023 19:35:52 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index e349cc0..48d20cb 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -51,12 +51,14 @@ var setup = function(){ - ASAP: mobile browsers behave quite chaotically ignoring parts of the styling... - ASAP: call `.sync()` on all changes... - pgup/pgdown/home/end buttons - - autofocus (option) + - identify a block (index, id, ...) + - focus + - `.autofocus` + - `focused:: true` attr (`.text(..)`/`.json(..)`/`.load(..)`) + - focusing editor -> focus focused block - undo collapsed:: true - - delete node - - indent/deindent - - edit node + - edit stack (position, action, ...) - auto-shift done blocks to the end of siblings... (option?) - ...or should this be `sort:: done` -- i.e. sort children by done status?? - codeblock as a block @@ -87,6 +89,7 @@ var setup = function(){ - `` -- field marker - each child node will copy the template and allow editing of only fields - not clear how to handle template changes... + - cli - Q: do we use \\t for indent? (option???) - Q: persistent empty first/last node (a button to create a new node)? - Q: should list bullets be on the same level as nodes or offset??