Skip to content

Commit

Permalink
notes...
Browse files Browse the repository at this point in the history
Signed-off-by: Alex A. Naanou <[email protected]>
  • Loading branch information
flynx committed Nov 7, 2023
1 parent 950f425 commit a509694
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions experiments/outline-editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,30 @@
-
- ## ToDo:
- Q: can we place a cursor in a table correctly???
- Q: should tables be text-based markdown or higher-level?
- block-based -- adjacent blocks in table format (a-la markdown) are treated as rows of one table...
- here is an example
- | col 1 | col 2 | col 3 |
- | A | B | B |
- | 1 | 2 | 3 |
-
- not yet sure how are we going to allign columns (CSS preffered)
- block-children -- similar to how lists are done now
- a demo
- table:
- | A | B | B |
- | 1 | 2 | 3 |
- | X | y | Z |
-
- the header may be used as::
- header row
- caption text
- both?
- see CSS grids + 'display: contents' (might help hide non-grid elemnts...
-
- might be fun to make the general syntax (with "=" removed) to be compatible with markdown...
- might also be fun to auto-generat (template) new blocks within a table...
- this would greatly simplify table navigation and creation
- custom element / web component
- BUG: select via double/triple clicks does not work...
- _looks like something is refocusing the element..._
Expand Down Expand Up @@ -492,7 +516,7 @@
<button onclick="editor.dom.classList.toggle('block-offsets')">show/hide block offsets</button>



<!--
<hr>
Expand All @@ -505,7 +529,6 @@ <h1>Outline editor as web component</h1>
<hr>
<!-- XXX this is broken... -->
<outline-editor>
<textarea>- ## code enclosed in `<textarea>` element
- code is treated as-is
Expand All @@ -526,6 +549,7 @@ <h1>Outline editor as web component</h1>
- default value, edit to change
- this should survive reloads"></outline-editor>
-->

</body>
</html>
Expand Down

0 comments on commit a509694

Please sign in to comment.