From d81125293ed81061fded4a3592c9b9fd77014c03 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 26 Oct 2023 21:46:14 +0300 Subject: [PATCH] found bug + tweaks... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.css | 10 ++++++++++ experiments/outline-editor/editor.js | 3 ++- experiments/outline-editor/index.html | 5 +++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/experiments/outline-editor/editor.css b/experiments/outline-editor/editor.css index 6992acf..e2980c0 100755 --- a/experiments/outline-editor/editor.css +++ b/experiments/outline-editor/editor.css @@ -444,6 +444,16 @@ editor .outline .block:focus { } +/*------------------------------------------------------ hr block ---*/ + +.editor .outline .list>.children>.block.hr>.view:before { + content: ""; +} +.editor .outline .numbered-list>.children>.block.hr>.view:before { + content: ""; +} + + /*--------------------------------------------------------- Notes ---*/ .editor .outline .NOTE { diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index f9167b6..d5c3c5b 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -184,7 +184,8 @@ var blocks = { .replace(/^\s*(?')) } , } diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 0845bdd..0b01fc3 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -48,9 +48,14 @@ var setup = function(){ - - ## Bugs: focused:: true + - BUG: adding a new node after a last node on a level adds it to wrong level + - demo: + - a + - add node after this - BUG: mobile browsers behave quite chaotically ignoring parts of the styling... - - ## ToDo: + - make `---` block not show list bullets... - copy/paste nodes/trees - FEATURE: read-only mode - auto-shift done blocks to the end of siblings... (option?)