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

Running classifyToolbarItems () in the Window resizing event, but I want you to run classifyToolbarItems () in the toastui-editor-defaultUI resizing event #1687

Closed
HiroyukiNIshimura opened this issue Jul 16, 2021 · 1 comment
Labels
Milestone

Comments

@HiroyukiNIshimura
Copy link

HiroyukiNIshimura commented Jul 16, 2021

Describe the bug

Running classifyToolbarItems () in the Window resizing event, but I want you to run classifyToolbarItems () in the .toastui-editor-defaultUI resizing event.
Window resizing does not occur, side menus etc. are displayed and menus are not redrawn when the size of toastui-editor-defaultUI is changed.

window.addEventListener("resize",this.handleResize)};

document.querySelector('.toastui-editor-defaultUI').addEventListener("resize",this.handleResize)};
Is this not good if you have two or more editors 😓

@js87zz
Copy link
Contributor

js87zz commented Aug 17, 2021

@HiroyukiNIshimura
The bug has been fixed in v3.0.3.

@js87zz js87zz closed this as completed Aug 17, 2021
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