diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index 8403e87..1b92989 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -256,23 +256,23 @@ var blocks = { return text // markdown... // style: headings... - .replace(/^(?\s+(.*)$/m, this.style(editor, elem, 'quote')) - .replace(/^\s*(?')) } , + .replace(/^\s*(?\s+(.*)$/, this.style(editor, elem, 'quote')) + .replace(/^\s*(?')) } , } @@ -733,7 +733,7 @@ var styling = { .replace(/(\s*)(?$2$3') // elements... - .replace(/(\n|^)(?') + .replace(/(\n|^)(?') // basic styling... .replace(/(?$1') .replace(/(?$1') diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index b33d4b5..9019be3 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -52,11 +52,6 @@ var setup = function(){ - this _seems `to` work_ - `while` _this `does` not_ - _seems to be connected with quoting..._ - - BUG? should the following render to the save view? (currently not) - - text