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

한글 엔터입력시 마지막 글자 사라짐 #3213

Open
cvcvcx opened this issue Dec 26, 2023 · 1 comment
Open

한글 엔터입력시 마지막 글자 사라짐 #3213

cvcvcx opened this issue Dec 26, 2023 · 1 comment
Labels

Comments

@cvcvcx
Copy link

cvcvcx commented Dec 26, 2023

Summary

  • 에디터에서 한글 입력시 엔터로 바로 줄을 넘어가면 마지막 글자가 사라지는 문제
  • textarea에서 엔터로 넘어갈 때는 발생하지 않는 것으로 보아 ToastUI 문제라고 판단됩니다.
  • 윈도우즈에서는 발생하지 않는 것으로 보아 맥 한글입력 관련 버그로 보이기도 합니다.

Screenshots

한글삭제확인용

Version

  • Apple M1 MacBook Air
  • macOs : Sonoma 14.2.1
  • toastUI Editor : 3.2.2
  • chrome : 120.0.6099.109 (arm64)

Additional context

Test.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://uicdn.toast.com/editor/latest/toastui-editor.min.css" />
    <title>Document</title>
</head>
<body>
    <h1>Hello!</h1>
    <div id="editor"></div>
    <textarea name="" id="" cols="30" rows="10"></textarea>
    <script src="https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js"></script>
    <script src="./test.js"></script>
</body>
</html>

Test.js

const editor = new toastui.Editor({
    el: document.querySelector('#editor'),
    previewStyle: 'vertical',
    height: '500px',
    initialValue: ''
  });
@Minhat-GitHub
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants