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

Create a new block when clicked at the bottom #1605

Merged

Conversation

hata6502
Copy link
Contributor

@hyun-park
Copy link
Contributor

hyun-park commented Apr 7, 2021

Any updates on this? I would like to update editorjs higher than 2.19.1, but cannot update because of this issue. :)

* to prevent unnecessary tree-walking on Tools with many nodes (for ex. Table)
* - Or, default-block is not empty
*/
if (!Tools.isDefault(BlockManager.lastBlock.tool) || !BlockManager.lastBlock.isEmpty) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pull next branch and use BlockManager.lastBlock.tool.isDefault

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed for version 2.20.0! 🎉

@hata6502 hata6502 force-pushed the bugfix/fix-clicking-at-the-bottom branch from cfdd9db to 9da520e Compare April 8, 2021 12:35
@hata6502 hata6502 requested a review from gohabereg April 8, 2021 13:09
@gohabereg gohabereg merged commit aa5a3d0 into codex-team:next Apr 8, 2021
@hata6502 hata6502 deleted the bugfix/fix-clicking-at-the-bottom branch April 9, 2021 01:09
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

Successfully merging this pull request may close these issues.

4 participants