-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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(IText): Draggable text #7802
Merged
Merged
Changes from 1 commit
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
4a00d88
feat(IText): native like text dragging
ShaMan123 d6d1eae
fire event on object
ShaMan123 672f945
Update itext_click_behavior.mixin.js
ShaMan123 0298b3b
lint
ShaMan123 c7a39a0
dragend
ShaMan123 f5957c8
Update itext_click_behavior.mixin.js
ShaMan123 d4bdf7f
Update itext_click_behavior.mixin.js
ShaMan123 a77f365
dragover + drop
ShaMan123 51c06ae
Update itext_behavior.mixin.js
ShaMan123 a04e57d
Update itext_behavior.mixin.js
ShaMan123 04ee04f
Update itext_click_behavior.mixin.js
ShaMan123 afedfc2
fix(): drag end
ShaMan123 fc00090
Update itext_behavior.mixin.js
ShaMan123 7dfa629
support `editable`/`canDrop`
ShaMan123 934dd3c
Update itext_behavior.mixin.js
ShaMan123 f70651c
lint
ShaMan123 3d32720
Update itext_behavior.mixin.js
ShaMan123 34bc7b5
fix bug
ShaMan123 7ce1e7d
point
ShaMan123 8d500b3
drag image
ShaMan123 de9ca36
fix: drag over controls
ShaMan123 aa8c371
Update itext_behavior.mixin.js
ShaMan123 0efa15a
JSDOC
ShaMan123 4f457b9
Update canvas_events.js
ShaMan123 4d516ea
Update itext_behavior.mixin.js
ShaMan123 76d2a4d
Update itext_behavior.mixin.js
ShaMan123 cbe456c
cleanup
ShaMan123 6047c29
Update itext.class.js
ShaMan123 3df67f2
Update itext.class.js
ShaMan123 784a27a
setDragImage
ShaMan123 17b3f9a
revert `getRelativeCursorPosition`
ShaMan123 1ae3043
Update itext_behavior.mixin.js
ShaMan123 8fdf77b
retina scaling
ShaMan123 d112f3b
fix(): drag image offset
ShaMan123 57e81a1
Update itext_behavior.mixin.js
ShaMan123 63bbdfe
better drag image
ShaMan123 1b640f5
Update itext_behavior.mixin.js
ShaMan123 a2d2225
support styles
ShaMan123 48e2dde
dragstart + trailing spcae
ShaMan123 eef6895
drop + trailing space
ShaMan123 34b5686
fix: edit after drop + selection
ShaMan123 f6f701a
Update itext_behavior.mixin.js
ShaMan123 10a43d9
Update itext_behavior.mixin.js
ShaMan123 4642784
Update itext_behavior.mixin.js
ShaMan123 8e69763
refactor clipboard events
ShaMan123 4d441f3
finalize clipboard data
ShaMan123 e78310a
JSDOC
ShaMan123 f6d1311
lint
ShaMan123 04f379a
rtl support prep
ShaMan123 f9ed862
Update itext_key_behaviour.js
ShaMan123 c257c91
Update itext_key_behaviour.js
ShaMan123 72b9a77
Update itext_key_behavior.mixin.js
ShaMan123 df3f7f2
Update itext_behavior.mixin.js
ShaMan123 efdd61e
typo
ShaMan123 97cebb1
remove `disableStyleCopyPaste`
ShaMan123 ab637ac
Merge branch 'master' into draggable-text
ShaMan123 fe7cc4d
Merge branch 'master' into draggable-text
ShaMan123 8b06dfe
fix(): can't drop over selection
ShaMan123 1b12168
render drag selection
ShaMan123 6b8a1d9
renderDragStartSelection
ShaMan123 49aa851
better drag selection start rendering
ShaMan123 cfa7445
Update itext_behavior.mixin.js
ShaMan123 6033478
Update itext.class.js
ShaMan123 33d1cd6
Update itext.class.js
ShaMan123 f7ed62c
fix drag start selection
ShaMan123 46206b1
remove `trailingSpace` logic
ShaMan123 cdf9abd
fix(): clear context
ShaMan123 a9ca01e
Update itext_behavior.mixin.js
ShaMan123 de44140
lint
ShaMan123 c8b413b
fix: dragleave on canvas
ShaMan123 2069128
Update canvas_events.js
ShaMan123 c8c10f0
fix dragenter
ShaMan123 513199f
Update canvas_events.js
ShaMan123 d610383
Update canvas_events.js
ShaMan123 9ebdc62
fire always
ShaMan123 0d89e2b
Update canvas_events.mixin.js
ShaMan123 9734207
dragend
ShaMan123 c181512
Update itext_key_behavior.mixin.js
ShaMan123 29456b1
Update itext_behavior.mixin.js
ShaMan123 4058520
Update itext_behavior.mixin.js
ShaMan123 61c96fa
Update itext_behavior.mixin.js
ShaMan123 ea9c099
fix(): dragsource dragend edit mode state
ShaMan123 829bc67
Update itext_behavior.mixin.js
ShaMan123 43afb2e
Update canvas_events.mixin.js
ShaMan123 fd8515c
lint
ShaMan123 ecbf266
Update itext_behavior.mixin.js
ShaMan123 bd2b6c3
Update canvas_events.mixin.js
ShaMan123 a875dfe
Revert "Update itext_behavior.mixin.js"
ShaMan123 bc4e4c1
Update itext_behavior.mixin.js
ShaMan123 186d26d
fix(): always fire events
ShaMan123 d4fa70c
dragSource attr on drop event
ShaMan123 23f450f
fix(): firing `drag` event on drag source
ShaMan123 c60716d
lint
ShaMan123 0ebb4bb
fire dragstart on canvas
ShaMan123 61a48f7
Merge branch 'master' into draggable-text
ShaMan123 a6b5aa1
revert clipboard event changes
ShaMan123 51e15fe
revert: remove `disableStyleCopyPaste`
ShaMan123 d07d6d3
Merge branch 'master' into draggable-text
ShaMan123 be4cf22
Merge branch 'master' into draggable-text
ShaMan123 d6f9c8f
Merge branch 'master' into draggable-text
ShaMan123 b38b34c
add additional tweaks
ShaMan123 2db76ec
lint
ShaMan123 f00e547
Changes for text dragging (#8065)
asturur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
for future follow up
this line might be causing selection to be cleared on drag start