-
Notifications
You must be signed in to change notification settings - Fork 150
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
37 selection deletion #46
Conversation
// add a blank marker to any sections that are now empty | ||
changedSections.forEach(section => { | ||
if (section.isEmpty()) { | ||
section.appendMarker(Marker.createBlank()); |
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.
Should go through the builder?
96bbe82
to
1c1f04b
Compare
@bantic beside that comment on |
Because if you merge before #48 I'll do the rebase for |
:) thanks! I can help with rebasing cutMarkers if you need it. |
This adds
post#cutMarkers(markers)
andeditor#deleteSelection
.Also adds
Helpers.toolbar
for sharing toolbar-related assertions in tests, andHelpers.dom.triggerDelete
, which detects phantom and simulates a delete (by callingeditor.handleDeletion
) — this allows some of the previous skipped-in-phantom tests to run in phantom, now.Ready for review. I will start on the items below but make a separate PR for them. @mixonic lmk if you have feedback.
To do: