mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
notes/tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
430a6ce78d
commit
7904e8c42e
@ -1014,7 +1014,7 @@ var JSONOutline = {
|
||||
// -> <elem>
|
||||
//
|
||||
// XXX move to config...
|
||||
__code_attrs__: true,
|
||||
__code_attrs__: false,
|
||||
parseBlockAttrs: function(text, keep=!!this.__code_attrs__, elem={}){
|
||||
if(typeof(keep) == 'object'){
|
||||
elem = keep
|
||||
|
||||
@ -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...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user