diff --git a/pwiki/page.js b/pwiki/page.js index c73ec98..4d18c46 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -1126,7 +1126,9 @@ object.Constructor('Page', BasePage, { && this.actions_inherit_args.has(pwpath.basename(src)) && this.get(pwpath.dirname(src)).path == this.path){ src += ':$ARGS' } - var expandactions = args.expandactions + var expandactions = + args.expandactions + ?? true var depends = state.depends = state.depends @@ -2020,17 +2022,25 @@ module.System = { + [@source(./location/!)] - + + +
+ +
+ + +

@source(./title/!)

@include(.:$ARGS join="@source(file-separator)" recursive="")
-
- ` }, + ` }, // XXX add join... _raw: { text: '@quote(.)' }, @@ -2089,6 +2099,7 @@ module.System = { ../.. @source(../location/!) + @@ -2137,6 +2148,69 @@ module.System = { `}, //*/ + // + // XXX EXPERIMENTAL... + ed: { + text: object.doc` @source(../ed-visual) `}, + 'ed-visual': { + text: object.doc` + @load(./edit) + + + +

+ + @source(./title) + +

+
+ @quote(./html) +
+
+
+ + +
+ visual + | text +
+
`}, + 'ed-text': { + text: object.doc` + @load(./edit) + + + +

+ + @source(./title) + +

+
+
+
+ + +
+ visual + | text +
+
`}, // XXX debug... _path: {text: '@source(./path/! join=" ")'}, diff --git a/pwiki2.js b/pwiki2.js index fce6005..f517703 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -18,6 +18,7 @@ * - CLI - * * +* XXX should @quote(..)'s expandactions be on by default??? * XXX FEATURE store: mirror (slave) -- a way to hold data in one store * and to mirror everything (async) to a separate store... * example: