mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 10:30:08 +00:00
fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0525efc018
commit
4cfa65f60c
@ -1461,9 +1461,9 @@ var Outline = {
|
|||||||
parse: function(text){
|
parse: function(text){
|
||||||
var that = this
|
var that = this
|
||||||
text = text
|
text = text
|
||||||
.replace(/^\s*\n/, '')
|
.replace(/^[ \t]*\n/, '')
|
||||||
text = ('\n' + text)
|
text = ('\n' + text)
|
||||||
.split(/\n(\s*)(?:- |-\s*$)/gm)
|
.split(/\n([ \t]*)(?:- |-\s*$)/gm)
|
||||||
.slice(1)
|
.slice(1)
|
||||||
var tab = ' '.repeat(this.tab_size || 8)
|
var tab = ' '.repeat(this.tab_size || 8)
|
||||||
var level = function(lst, prev_sep=undefined, parent=[]){
|
var level = function(lst, prev_sep=undefined, parent=[]){
|
||||||
|
|||||||
@ -48,6 +48,11 @@ var setup = function(){
|
|||||||
-
|
-
|
||||||
- ## Bugs:
|
- ## Bugs:
|
||||||
focused:: true
|
focused:: true
|
||||||
|
- BUG: trailing whitespace is ignored in view...
|
||||||
|
- this node has a second empty line
|
||||||
|
|
||||||
|
- this is a sibling to the above node
|
||||||
|
- _see code_
|
||||||
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
||||||
- FF:
|
- FF:
|
||||||
- zooming on edited field
|
- zooming on edited field
|
||||||
@ -387,16 +392,14 @@ var setup = function(){
|
|||||||
<outline-editor>
|
<outline-editor>
|
||||||
<textarea>- ## code enclosed in `<textarea>` element
|
<textarea>- ## code enclosed in `<textarea>` element
|
||||||
- code is treated as-is
|
- code is treated as-is
|
||||||
- the only exception is the closing textarea tag</textarea>
|
- the only exception is the closing textarea tag</textarea></outline-editor>
|
||||||
</outline-editor>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<outline-editor>
|
<outline-editor>
|
||||||
- ## raw outline editor element
|
- ## raw outline editor `<element>`
|
||||||
- the children are not protected
|
- the children are not protected
|
||||||
- any html <elements> are going to be parsed by the browser
|
- any html <elements> are going to be parsed by the browser</outline-editor>
|
||||||
</outline-editor>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user