- # Outline editor prototype - ## ToDo - editor: bksapce/del at start/end of a block should join it with prev/next - editor: pressing enter in text edit mode should split text into two blocks - editor: caret - ~go to next/prev element's start/end when moving off last/first char~ - handle up/down on wrapped blocks _...can't seem to get caret line in a non-hacky way_ - persistent empty first/last node (a button to create a new node) - ~loading from DOM -- fill textarea~ - ~focus management~ - ~mouse/touch controls~ - ~navigation~ - ~expand/collapse subtree~ - ~shift subtree up/down~ - ~create node~ - ~edit node~ - shifting nodes up/down - multiple node selection - undo - delete node - indent/deindent - edit node - copy/paste nodes/trees - markdown tables - ~serialize~/deserialize - ~add optional text styling to nodes~ - - ## TEST - Formatting: - Styles - # Heading 1 - ## Heading 2 - ### Heading 3 - #### Heading 4 - ##### Heading 5 - ###### Heading 6 - Text - List:: - a - b - c - // C-style comment - ; ASM-style comment - XXX Highlight - Line - --- - Basic inline *bold*, _italic_ and ~striked~ - To do items - TODO undone item - DONE done item _(clicking the checkbox updates the item)_ - Inline [X] checkboxes [_] - A collapsed:: true - a - b - c - B - d - e - C - This is a line of text - This is a set text lines - Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text



Controls:
	up         - focus node above
	down       - focus node below
	left       - focus parent node
	right      - focus first child node
	tab        - indent node
	s-tab      - deindent node
	s-left     - collapse node
	s-right    - expand node
	enter      - normal mode: edit node
	           - edit mode: create node below
	esc        - exit edit mode