mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
notes + css cleanup + tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6aba5ca9a6
commit
1842223a79
@ -318,28 +318,37 @@ editor .outline .block:focus {
|
|||||||
/*---------------------------------------------------------- List ---*/
|
/*---------------------------------------------------------- List ---*/
|
||||||
|
|
||||||
.editor .outline .list-item>.view:before,
|
.editor .outline .list-item>.view:before,
|
||||||
.editor .outline .list>.children>.block>.view:not(:empty):before {
|
.editor .outline .list>.children>.block>.view:before {
|
||||||
content: "◼";
|
content: "◼";
|
||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
.editor .outline
|
.editor .outline
|
||||||
.list>.children
|
.list>.children
|
||||||
>.list>.children>.block>.view:not(:empty):before {
|
>.list>.children>.block>.view:before {
|
||||||
content: "●";
|
content: "●";
|
||||||
}
|
}
|
||||||
.editor .outline
|
.editor .outline
|
||||||
.list>.children
|
.list>.children
|
||||||
>.list>.children
|
>.list>.children
|
||||||
>.list>.children>.block>.view:not(:empty):before {
|
>.list>.children>.block>.view:before {
|
||||||
content: "○";
|
content: "○";
|
||||||
}
|
}
|
||||||
.editor .outline
|
.editor .outline
|
||||||
.list>.children
|
.list>.children
|
||||||
>.list>.children
|
>.list>.children
|
||||||
>.list>.children
|
>.list>.children
|
||||||
>.list>.children>.block>.view:not(:empty):before {
|
>.list>.children>.block>.view:before {
|
||||||
content: "▪";
|
content: "▪";
|
||||||
}
|
}
|
||||||
|
/* hide bullets on empty nodes unless they are edited... */
|
||||||
|
.editor .outline .list>.children>.block>.code:not(:focus)+.view:empty:before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
/* hide bullets on empty nodes... *//*
|
||||||
|
.editor .outline .list>.children>.block>.view:empty:before {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*------------------------------------------------ Numbered lists ---*/
|
/*------------------------------------------------ Numbered lists ---*/
|
||||||
|
|||||||
@ -68,7 +68,6 @@ var setup = function(){
|
|||||||
code
|
code
|
||||||
```
|
```
|
||||||
- _bullet should be either in the middle of the block or at the first line of code (preferred)..._
|
- _bullet should be either in the middle of the block or at the first line of code (preferred)..._
|
||||||
- show list bullet if node is empty but edited... (???)
|
|
||||||
- editor as a custom element...
|
- editor as a custom element...
|
||||||
- Nerd fonts (option???)
|
- Nerd fonts (option???)
|
||||||
- multiple node selection
|
- multiple node selection
|
||||||
@ -79,6 +78,7 @@ var setup = function(){
|
|||||||
- indent/deindent
|
- indent/deindent
|
||||||
- edit node
|
- edit node
|
||||||
- auto-shift done blocks to the end of siblings... (option?)
|
- auto-shift done blocks to the end of siblings... (option?)
|
||||||
|
- ...or should this be `sort:: done` -- i.e. sort children by done status??
|
||||||
- FEATURE? block templates...
|
- FEATURE? block templates...
|
||||||
collapsed:: true
|
collapsed:: true
|
||||||
- something like: `TPL: [_] <editable/> -- <editable/>`
|
- something like: `TPL: [_] <editable/> -- <editable/>`
|
||||||
@ -100,6 +100,9 @@ var setup = function(){
|
|||||||
block text
|
block text
|
||||||
- NOTE: this is only a problem if making list-items manually -- disable???
|
- NOTE: this is only a problem if making list-items manually -- disable???
|
||||||
- empty item height is a bit off...
|
- empty item height is a bit off...
|
||||||
|
- DONE show list bullet if node is empty but edited...
|
||||||
|
collapsed:: true
|
||||||
|
- _...not sure which is best, so both options are available, see: `editor.css`_
|
||||||
- DONE Q: can we get the caret line in a textarea???
|
- DONE Q: can we get the caret line in a textarea???
|
||||||
collapsed:: true
|
collapsed:: true
|
||||||
- _...this will fix a lot of issues with moving between blocks in edit mode..._
|
- _...this will fix a lot of issues with moving between blocks in edit mode..._
|
||||||
@ -216,7 +219,6 @@ var setup = function(){
|
|||||||
- z
|
- z
|
||||||
- c
|
- c
|
||||||
- > quote
|
- > quote
|
||||||
- ASAP edit mode bullet is off...
|
|
||||||
- Notes
|
- Notes
|
||||||
- NOTE: a note text
|
- NOTE: a note text
|
||||||
- NOTE:
|
- NOTE:
|
||||||
@ -225,7 +227,7 @@ var setup = function(){
|
|||||||
- // C-style comment
|
- // C-style comment
|
||||||
- ; ASM-style comment
|
- ; ASM-style comment
|
||||||
- XXX Highlight
|
- XXX Highlight
|
||||||
- DONE Done
|
- DONE Done (toggled via: `ctrl-d`)
|
||||||
- Basic inline *bold*, _italic_ and ~striked~
|
- Basic inline *bold*, _italic_ and ~striked~
|
||||||
- Marking ==text==
|
- Marking ==text==
|
||||||
- Code:
|
- Code:
|
||||||
@ -247,6 +249,7 @@ var setup = function(){
|
|||||||
_(clicking the checkbox updates the item)_
|
_(clicking the checkbox updates the item)_
|
||||||
- [X] done item
|
- [X] done item
|
||||||
- [_] we can also add inline [x] checkboxes and states: [%]
|
- [_] we can also add inline [x] checkboxes and states: [%]
|
||||||
|
- navigating checkboxes in view mode can be done via `ctrl-left` / `ctrl-right` and toggling is done via `space`
|
||||||
- links
|
- links
|
||||||
- [example](about:blank)
|
- [example](about:blank)
|
||||||
- https://example.com
|
- https://example.com
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user