mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00: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){
|
||||
var that = this
|
||||
text = text
|
||||
.replace(/^\s*\n/, '')
|
||||
.replace(/^[ \t]*\n/, '')
|
||||
text = ('\n' + text)
|
||||
.split(/\n(\s*)(?:- |-\s*$)/gm)
|
||||
.split(/\n([ \t]*)(?:- |-\s*$)/gm)
|
||||
.slice(1)
|
||||
var tab = ' '.repeat(this.tab_size || 8)
|
||||
var level = function(lst, prev_sep=undefined, parent=[]){
|
||||
|
||||
@ -48,6 +48,11 @@ var setup = function(){
|
||||
-
|
||||
- ## Bugs:
|
||||
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...
|
||||
- FF:
|
||||
- zooming on edited field
|
||||
@ -387,16 +392,14 @@ var setup = function(){
|
||||
<outline-editor>
|
||||
<textarea>- ## code enclosed in `<textarea>` element
|
||||
- code is treated as-is
|
||||
- the only exception is the closing textarea tag</textarea>
|
||||
</outline-editor>
|
||||
- the only exception is the closing textarea tag</textarea></outline-editor>
|
||||
|
||||
<hr>
|
||||
|
||||
<outline-editor>
|
||||
- ## raw outline editor element
|
||||
- ## raw outline editor `<element>`
|
||||
- the children are not protected
|
||||
- any html <elements> are going to be parsed by the browser
|
||||
</outline-editor>
|
||||
- any html <elements> are going to be parsed by the browser</outline-editor>
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user