From 25eab2626e08738d23918a9b03de5625525a18df Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 19 Nov 2023 22:49:58 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 806e511..e239446 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -52,18 +52,21 @@ var setup = function(){ - block sizing - issuaes: - - blank lines above and below + blank lines above and below -- the trailing blank is not initially shown - ``` - code block + code block -- resized on block edit (`keydown` in edit mode) ``` - - *the problem\:* + - the problem\: - we need to keep both the `.view` and `.code` elements' height in sync - Q: should the sizes be equal? which is the master size? - ways to fix: - - try `display:flex` on `.block` and position one elem over the other... - - _...not sure how to deal with `.children` yet_ - - another way to go is to place `.text` stuff in a div and style that... + - passive (preferred): + - try `display:flex` on `.block` and position one elem over the other... + - _...not sure how to deal with `.children` yet_ + - another way to go is to place `.text` stuff in a div and style that... + - active (current): + - ... - blank line at end of block is initially not shown - this block contains two lines (empty below) @@ -178,6 +181,7 @@ var setup = function(){ ``` - - ## ToDo: + - clicking left of the block can select one of parent blocks -- bug or a feature?? - `.json(..)`, `.data(..)`, ... should be signature compatible with `.get(..)` (???) - _current state causes constant confusion..._ - Time to think about a standalone client -- at least to edit own notes as a test...