From 430a6ce78dc634406c04e1df494abca8355e4d06 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 18 Dec 2023 17:18:42 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 11c7fa1..729763d 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -145,9 +145,10 @@ var setup = function(){ - ## ToDo: - attributes: need to show/hide the attributes -- option? attr::value - - `.parseBlockAttrs(..)` -- add hook to plugins to handle output... + - Q: should this be completely handled by a plugin??? + - `.parseBlockAttrs(..)`: add hook to plugins to handle output... - _plugin will need to get the call context -- can be called when handling for view or code_ - - `.parseBlockAttrs(..)` render (code) attrs in data but not in code... + - `.parseBlockAttrs(..)`: add data attributes to code if missing... - do we need `.__code_attrs__` / `.__view_attrs__`??? - handle attr delete correctly -- i.e. if shown attr removed from code -> delete attr... - BUG? can't set `''` as attr value -- parser??