Templates...
+ + Magazine title: [MAGAZINE NAME]+ +
diff --git a/TODO.otl b/TODO.otl index b77c775..01813cd 100755 --- a/TODO.otl +++ b/TODO.otl @@ -6,7 +6,7 @@ [_] BUG: no drag threshold on excludedElements (TouchSwipe) | stalled... [_] 75% general todo - [_] 0% add two main page themes: + [_] 0% add two main page themes (global/local applicable): [_] light [_] dark [_] JSON: add page URLs as an alternative to direct content... @@ -56,6 +56,13 @@ [_] BUG: href to existing anchors will mess up layout... | need to find out how can we disable anchor links from actually | going to the anchor... + [X] 100% templates + [X] page number + [X] current page + | this is not really a template... + | + | XXX should this be a real template... + [X] magazine title [X] Editor: decide weather to make the editor toolbar oriented or floating bars around context... [X] add in-page live templates... | elements that will get generated content, like page numbers etc. diff --git a/editor.html b/editor.html index 2c16445..683cfa2 100755 --- a/editor.html +++ b/editor.html @@ -52,6 +52,10 @@ $(document).ready(function(){ .on('pageMoved articleMoved', resetNavigator) .on('pageRemoved articleRemoved', resetNavigator) + // templates... + .on('pageCreated articleCreated magazineCreated ' + + 'pageMoved pageRemoved articleMoved articleRemoved', runMagazineTemplates) + // user interactions... .swipe({ swipeStatus: swipeHandler, @@ -167,7 +171,9 @@ $(document).ready(function(){