tui.editor icon indicating copy to clipboard operation
tui.editor copied to clipboard

Add support for collapsible section

Open LordSimal opened this issue 3 years ago • 3 comments

Version

3.2.1

Development Environment

Chrome 107.0.5304.110 MacOS 13.0.1

Current Behavior

Currently a collapsible section looks like this

image
<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

2022-11-21_15-24-34 (1)

See https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab

LordSimal avatar Nov 21 '22 14:11 LordSimal

Thank you for the issue. This is in our ToDos, but we can't handle right now.

jwlee1108 avatar Nov 29 '22 15:11 jwlee1108

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

LordSimal avatar Dec 06 '22 13:12 LordSimal

expect

zdwork avatar Nov 19 '23 08:11 zdwork