diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index 4220468..b77d98d 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -1014,7 +1014,7 @@ var JSONOutline = { // -> // // XXX move to config... - __code_attrs__: true, + __code_attrs__: false, parseBlockAttrs: function(text, keep=!!this.__code_attrs__, elem={}){ if(typeof(keep) == 'object'){ elem = keep diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index 729763d..11c670e 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -152,6 +152,9 @@ var setup = function(){ - 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?? + - might be a good idea to render plugins in a separate block shown with code... + - _when attr added to code -> transfer to attrs block..._ + - this will help with caret transfer to be more predictable... - TOC: tweaking: add args like depth, ... -- as attributes... - TOC: should it be persistently generated as code and be serializable? - ASAP: expand sub-tree on follow link...