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

Can't select text by draging empty part when editing customBlock in wysiwyg mode #2048

Closed
z-950 opened this issue Nov 23, 2021 · 1 comment · Fixed by #2049
Closed

Can't select text by draging empty part when editing customBlock in wysiwyg mode #2048

z-950 opened this issue Nov 23, 2021 · 1 comment · Fixed by #2049
Labels
Milestone

Comments

@z-950
Copy link
Contributor

z-950 commented Nov 23, 2021

Describe the bug

Can't select text by draging empty part when editing customBlock in wysiwyg mode. Draging empty part will emit drag event so that text can't be selected.

To Reproduce

Steps to reproduce the behavior:

  1. Change mode to wysiwyg
  2. Click the customBlock's edit button
  3. Draging the empty part in the customBlock's editable area.
  4. Text can not be selected, but dragging whole element.

Expected behavior

Text can be selected.

Additional context

version: 3.1.1

@js87zz
Copy link
Contributor

js87zz commented Nov 25, 2021

@z-950
I checked the issue. I'll review the PR tomorrow. Thank you!! :)

js87zz pushed a commit that referenced this issue Dec 2, 2021
* fix: empty tagBlacklist cause the editor to crash(#1678)

* fix: cannot select text when editing customBlock (#2048)
@js87zz js87zz added this to the v3.1.2 milestone Dec 10, 2021
ahamelers pushed a commit to ahamelers/tui.editor that referenced this issue Aug 21, 2023
* fix: empty tagBlacklist cause the editor to crash(nhn#1678)

* fix: cannot select text when editing customBlock (nhn#2048)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants