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

Android input handing rewrite #4988

Merged
merged 41 commits into from
Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
9d7d95e
wip
BitPhinix May 12, 2022
df46322
wip
BitPhinix May 13, 2022
4a73fbc
wip - fully working without hard marks
BitPhinix May 14, 2022
bc2eee2
fix editor crashes when inserting/deleting at the edges of marks
BitPhinix May 16, 2022
a5ac39e
fix various restore dom related crashes
BitPhinix May 17, 2022
6f7e9f4
fix delete with pending changes, zero widths on android, mutation tra…
BitPhinix May 19, 2022
2956de8
track placeholder delete in detached strings, zero-widths
BitPhinix May 19, 2022
c3e394d
wip mark placeholders
BitPhinix May 19, 2022
c863973
get rid of mutation detection in favor of beforeinput
BitPhinix May 23, 2022
535e09b
fix various selection race conditions
BitPhinix May 24, 2022
63a0a17
fix various crashes when deleting at the beginning of nodes
BitPhinix May 24, 2022
4cc603f
wip diff transforms, selection handling fixes
BitPhinix May 25, 2022
7206313
cleanup restoreDOM and fix noop restore edge-case
BitPhinix May 26, 2022
d3c968a
fix mark placeholders
BitPhinix May 26, 2022
ed94d59
fix toSlatePoint edge-case
BitPhinix May 26, 2022
8d422fc
properly flush user select with pending changes
BitPhinix May 26, 2022
af407d1
Prevent editor crash when deleting before a non-contenteditable element
BitPhinix May 27, 2022
2594961
wip markdown shortcut example
BitPhinix May 31, 2022
63f8c1d
transform pending changes and selection by remote changes, simplify p…
BitPhinix Jun 1, 2022
737ceae
improve change transform, mark(-placeholder) handling
BitPhinix Jun 2, 2022
d3a6e81
manually handle gboard bug, fix restoredom nested editor
BitPhinix Jun 3, 2022
d83f741
fix parent mutation condition
BitPhinix Jun 3, 2022
deb2ee2
cleanup, mark placeholder fixes
BitPhinix Jun 8, 2022
d8b9975
mark placeholder fixes
BitPhinix Jun 10, 2022
4d0bfc7
fix mark placeholder condition
BitPhinix Jun 10, 2022
f85cccd
hide placeholder if we have pending diffs
BitPhinix Jun 10, 2022
af8a437
cleanup
BitPhinix Jun 14, 2022
f796e23
Merge branch 'main' of github.com:sliteteam/slate-1
BitPhinix Jun 14, 2022
752f22e
Merge branch 'main' into working-android-input
BitPhinix Jun 14, 2022
b52ead9
yarn install
BitPhinix Jun 14, 2022
530adfb
add workaround for swiftkey placeholder issue
BitPhinix Jun 21, 2022
d04e153
cleanup
BitPhinix Jun 21, 2022
a0779ae
add changeset
BitPhinix Jun 21, 2022
ec74e39
feat(slate-react): fix edge-case crash, add androidPendingDiffs, rena…
BitPhinix Jul 21, 2022
5fbb889
flush pending selection on same line without pending changes/action
BitPhinix Jul 22, 2022
4b69e50
keep formatting of pending diffs when adding/removing selection marks
BitPhinix Jul 25, 2022
f72666d
unref selection ref on unmatching dom state
BitPhinix Jul 26, 2022
8ad090f
improve markdown shortcut example flush trigger to show how a more ge…
BitPhinix Jul 27, 2022
562c8ec
fix markdown shortcut example trigger logic
BitPhinix Jul 27, 2022
bc610e7
fix isInsertAfterMarkPlaceholder logic
BitPhinix Jul 28, 2022
ecf2256
Merge branch 'main' into working-android-input
BitPhinix Jul 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fresh-taxis-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'slate-react': minor
'slate': patch
---

Android input handling rewrite, replace composition insert prefixes with decoration based mark placeholders
Loading