-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
feat: add block on clicking page bottom when necessary #3028
Conversation
QiShaoXuan
commented
Jun 9, 2023
•
edited
edited
- if click bottom of page and the end block is embed, editor should insert a new editable block
- if click bottom of page and the end block is editable, the last editable block should be focused
…d insert a new editable block
This branch is running in CodeSandbox. Use the links below to review this PR faster. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvement!
return pageBlock?.getBoundingClientRect() || null; | ||
}); | ||
|
||
assert(pageRect !== null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use expect
from playwright