Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

figure 태그 안에 figcaption 태그를 사용하면 코드에 figcaption이 자동으로 한 번 더 추가되는 버그 #1279

Closed
GeniusWizard opened this issue Jul 25, 2023 · 0 comments
Milestone

Comments

@GeniusWizard
Copy link

GeniusWizard commented Jul 25, 2023

Describe the bug
figure 태그 안에 figcaption 태그를 사용하면 코드에 figcaption이 자동으로 한 번 더 추가되는 버그

To Reproduce
Steps to reproduce the behavior:

  1. Open Suneditor website examples.
  2. Code View 클릭
  3. 아래 태그 추가
<figure>
    <img src="https://blog.kakaocdn.net/dn/0QCnX/btqU7cMuFOZ/uVPVj1aIBNqINLQZGkuwa0/img.png" alt="">
    <figcaption>Home Edge Logo</figcaption>
</figure>
  1. Code View 클릭
  2. 추가된 HTML 을 에디터로 확인하면 figcaption 이 두 번 삽입됨
  3. 다시 Code View 클릭 시 figure 태그 밖의 div 하단에 figcaption 태그가 추가됨
<figure>
  <div class="se-component se-image-container __se__float-none">
    <figure>
      <img src="https://blog.kakaocdn.net/dn/0QCnX/btqU7cMuFOZ/uVPVj1aIBNqINLQZGkuwa0/img.png" alt="" data-proportion="true" data-align="none" data-file-name="img.png" data-file-size="0" data-origin="," data-size="," data-rotate="" data-percentage="auto,auto" style="" data-index="4" origin-size="405,165" data-rotatex="" data-rotatey="">
      <figcaption>
Home Edge Logo</figcaption>
    </figure>
  </div>
  <figcaption>
    <div>Home Edge Logo</div>
  </figcaption>
</figure>

Expected behavior
figcaption 은 Code View 에서 추가한 대로 한번만 삽입되어야함

@JiHong88 JiHong88 added this to the 2.45.2 milestone Sep 7, 2023
JiHong88 added a commit that referenced this issue Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants