mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-21 23:46:21 +01:00
Write indentation as data-indent-level in HTML and read an opened details as the same expand
This commit is contained in:
+4
-1
@@ -9,7 +9,10 @@
|
||||
- `adfToHtml` writes underline as `<u>`, subscript and superscript as `<sub>` and `<sup>`, a text colour as
|
||||
`<span style="color:…">`, a background colour as `<mark style="background-color:…">` and a paragraph's or
|
||||
heading's alignment as `style="text-align:…"`, where `0.3.1` wrote the carry element, and `htmlToAdf` reads them
|
||||
back. The carry element `0.3.1` wrote for them still reads. Indentation still rides the carry element.
|
||||
back. The carry element `0.3.1` wrote for them still reads.
|
||||
- `adfToHtml` writes a paragraph's or heading's indentation as `data-indent-level="2"`, where `0.3.1` wrote the carry
|
||||
element, and `htmlToAdf` reads it back. `htmlToAdf` also reads `<details open="">`, as a browser writes an expand its
|
||||
user opened, as the same expand.
|
||||
- `adfToHtml` writes a panel as `<div class="adf-panel">`, an expand and a nested expand as `<details>` with the
|
||||
title in a `<summary>`, a task list as `<ul class="adf-task-list">` of items each a checkbox then its text, and a
|
||||
decision list as `<ul class="adf-decision-list">`, where `0.3.1` wrote the carry element, and `htmlToAdf` reads
|
||||
|
||||
Reference in New Issue
Block a user