From 0e7b7dee32e87a6e28c9c66d6b68a4f48a5fafbb Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 12 Dec 2023 02:05:15 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index b56ab35..c2b7905 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -49,7 +49,12 @@ var setup = function(){ - ## Bugs: focused:: true - BUG: caret positioning broken - - new strategy: try and build offset maps on parse... + - Strategies to test:: + - ASAP use `getText(..)` to build the input text instead of `.innerText` + - normalize `.innerText` to remove duplicate `"\n"`'s + _(will break placement on empty lines... ???)_ + - try and build offset maps on parse + _(potentially too complicated)_ - *TODO*:: - ``` text text text