Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upDo not start multi-block selection on UI elements #662
+41
−20
Conversation
gohabereg
requested review from
khaydarov,
neSpecc and
talyguryn
as
code owners
Apr 1, 2019
neSpecc
requested changes
Apr 2, 2019
|
— still can not select and edit link |
khaydarov
reviewed
Apr 2, 2019
| @@ -83,7 +83,10 @@ export default class InlineToolbar extends Module { | |||
|
|
|||
| // To prevent reset of a selection when click on the wrapper | |||
| this.Editor.Listeners.on(this.nodes.wrapper, 'mousedown', (event) => { | |||
| event.preventDefault(); | |||
| if (!(event.target as Element).closest(`.${this.CSS.actionsWrapper}`)) { | |||
| console.log('prevented'); | |||
This comment has been minimized.
This comment has been minimized.
neSpecc
requested changes
Apr 2, 2019
| @@ -83,7 +83,9 @@ export default class InlineToolbar extends Module { | |||
|
|
|||
| // To prevent reset of a selection when click on the wrapper | |||
| this.Editor.Listeners.on(this.nodes.wrapper, 'mousedown', (event) => { | |||
| event.preventDefault(); | |||
| if (!(event.target as Element).closest(`.${this.CSS.actionsWrapper}`)) { | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
neSpecc
approved these changes
Apr 4, 2019
khaydarov
approved these changes
Apr 4, 2019
talyguryn
approved these changes
Apr 4, 2019
|
вроде работает |
gohabereg
changed the base branch from
master
to
release/2.12.4
Apr 4, 2019
gohabereg
changed the base branch from
release/2.12.4
to
release/2.12
Apr 4, 2019
gohabereg
merged commit 84689b5
into
release/2.12
Apr 4, 2019
gohabereg
deleted the
fix/issue-646
branch
Apr 4, 2019
gohabereg
added a commit
that referenced
this pull request
Apr 6, 2019
neSpecc
added a commit
that referenced
this pull request
Apr 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
gohabereg commentedApr 1, 2019
close #646