mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
found bug + tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0125964dd6
commit
d81125293e
@ -444,6 +444,16 @@ editor .outline .block:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*------------------------------------------------------ hr block ---*/
|
||||||
|
|
||||||
|
.editor .outline .list>.children>.block.hr>.view:before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
.editor .outline .numbered-list>.children>.block.hr>.view:before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*--------------------------------------------------------- Notes ---*/
|
/*--------------------------------------------------------- Notes ---*/
|
||||||
|
|
||||||
.editor .outline .NOTE {
|
.editor .outline .NOTE {
|
||||||
|
|||||||
@ -184,7 +184,8 @@ var blocks = {
|
|||||||
.replace(/^\s*(?<!\\)((\/\/|;)\s+.*)$/m, this.style(editor, elem, 'comment'))
|
.replace(/^\s*(?<!\\)((\/\/|;)\s+.*)$/m, this.style(editor, elem, 'comment'))
|
||||||
.replace(/^\s*(?<!\\)NOTE:?\s*(.*)$/m, this.style(editor, elem, 'NOTE'))
|
.replace(/^\s*(?<!\\)NOTE:?\s*(.*)$/m, this.style(editor, elem, 'NOTE'))
|
||||||
.replace(/^\s*(?<!\\)XXX\s+(.*)$/m, this.style(editor, elem, 'XXX'))
|
.replace(/^\s*(?<!\\)XXX\s+(.*)$/m, this.style(editor, elem, 'XXX'))
|
||||||
.replace(/^(.*)\s*(?<!\\)XXX$/m, this.style(editor, elem, 'XXX')) } ,
|
.replace(/^(.*)\s*(?<!\\)XXX$/m, this.style(editor, elem, 'XXX'))
|
||||||
|
.replace(/^\s*---\s*$/m, this.style(editor, elem, 'hr', '<hr>')) } ,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -48,9 +48,14 @@ var setup = function(){
|
|||||||
-
|
-
|
||||||
- ## Bugs:
|
- ## Bugs:
|
||||||
focused:: true
|
focused:: true
|
||||||
|
- BUG: adding a new node after a last node on a level adds it to wrong level
|
||||||
|
- demo:
|
||||||
|
- a
|
||||||
|
- add node after this
|
||||||
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
||||||
-
|
-
|
||||||
- ## ToDo:
|
- ## ToDo:
|
||||||
|
- make `---` block not show list bullets...
|
||||||
- copy/paste nodes/trees
|
- copy/paste nodes/trees
|
||||||
- FEATURE: read-only mode
|
- FEATURE: read-only mode
|
||||||
- auto-shift done blocks to the end of siblings... (option?)
|
- auto-shift done blocks to the end of siblings... (option?)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user