tui.editor
tui.editor copied to clipboard
Add support for collapsible section
Version
3.2.1
Development Environment
Chrome 107.0.5304.110 MacOS 13.0.1
Current Behavior
Currently a collapsible section looks like this
<details>
<summary>Click me</summary>
### Heading
1. Foo
2. Bar
* Baz
* Qux
### Some Code
```js
function logSomething(something) {
console.log('Something', something);
}
```
</details>
Expected Behavior
But it should look/behave like this

See https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
Thank you for the issue. This is in our ToDos, but we can't handle right now.
I just learned that its actually not a specific markdown feature but rather a feature of HTML. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
expect