From 14fec24aaf7f6bab74acf14e676d2a27c96ea5b1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 11 Oct 2023 01:57:21 +0300 Subject: [PATCH] notes and tweaks... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.css | 7 +++++++ experiments/outline-editor/editor.js | 7 ++++--- experiments/outline-editor/index.html | 25 +++++++++++++++++-------- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/experiments/outline-editor/editor.css b/experiments/outline-editor/editor.css index 38e160e..aaa6f27 100755 --- a/experiments/outline-editor/editor.css +++ b/experiments/outline-editor/editor.css @@ -350,6 +350,13 @@ editor .outline [tabindex]:focus { /*margin-left: 0;*/ } +/* code... */ +.editor .outline [tabindex]>span code { + padding: 0.1em 0.3em; + font-family: monospace; + background: rgba(0,0,0,0.07); + border-radius: 0.2em; +} /*********************************************************************/ diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index 32ce271..c01085f 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -339,9 +339,10 @@ var Outline = { .replace(/(?')) // basic styling... - .replace(/(?$1') - .replace(/(?$1') - .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') // quoting... .replace(/(?