4250 Commits

Author SHA1 Message Date
2fb5e4e904 Fix issues around moving selection between words 2022-04-09 00:39:15 -07:00
06cf9c0fc4 Move to instanceof instead of is* methods 2022-04-09 00:39:15 -07:00
d85eaa03aa Rename shared to plugin-shared, add more OutlineNode types 2022-04-09 00:39:15 -07:00
8f08aa5686 Add some paragraph tests 2022-04-09 00:39:15 -07:00
a42cad5d32 remove this specific change from the last commit since broke the build (circular dependency) 2022-04-09 00:39:15 -07:00
ba889bcdee Remove ParentNode type. Slowly but surely removing anys 2022-04-09 00:39:15 -07:00
17a78b20fd add 3 selection tests 2022-04-09 00:39:15 -07:00
b571a8dd0b Add invariant. Slowly getting rid of more 2022-04-09 00:39:15 -07:00
98c694df99 Improve types, add strict mode.
I marked two files as flow strict-local. They have 100% flow coverage and no fixmes. We don't have to make everything flow strict but thought I'd add the option.
2022-04-09 00:39:15 -07:00
a0cc01579f Improve flow types and add WindowSelection libdef 2022-04-09 00:39:15 -07:00
cb4ee07fec Tidy up naming 2022-04-09 00:39:15 -07:00
3a280281f2 Improve testing 2022-04-09 00:39:15 -07:00
40d26d9c94 clean up naming 2022-04-09 00:39:15 -07:00
3c34908d85 More refinements 2022-04-09 00:39:15 -07:00
0ee3d4deda getParentOrThrow() to fix 2022-04-09 00:39:15 -07:00
ebaeeb4225 Flow fixes / coverage 2022-04-09 00:39:15 -07:00
163b1d21e0 Add basic selection tests 2022-04-09 00:39:14 -07:00
77cabffa4b Fix keyboard selection controls 2022-04-09 00:39:14 -07:00
8a988b51d2 More fixes 2022-04-09 00:39:14 -07:00
5ef4873deb Serveral fixes and now node keys are never null 2022-04-09 00:39:14 -07:00
052dc33e2b Improve key selection movement 2022-04-09 00:39:14 -07:00
36297ef000 Refine editor 2022-04-09 00:39:14 -07:00
ce747d64f5 Add Paragraph node 2022-04-09 00:39:14 -07:00
cf41362ad6 Fix flow stuff
More flow changes

Some fixes
2022-04-09 00:39:14 -07:00
74536e17cb remove @babel/preset-flow 2022-04-09 00:39:14 -07:00
1ba087c936 Flowify OutlineNode 2022-04-09 00:39:14 -07:00
ee6a7c32b6 More fixes 2022-04-09 00:39:14 -07:00
2d5832def6 Fix bug 2022-04-09 00:39:14 -07:00
a9d0cad649 Add format plugin 2022-04-09 00:39:14 -07:00
be0b1836f3 Add some Flow typs
Add some Flow types
2022-04-09 00:39:14 -07:00
071356444b Fix various issues 2022-04-09 00:39:14 -07:00
b234f7f84d Revise Node architecture
WIP

Revised stratgy
2022-04-09 00:39:14 -07:00
d10007486f Added polyfill support + other logic 2022-04-09 00:39:14 -07:00
308857caec Move shared code into new package 2022-04-09 00:39:14 -07:00
b632875d62 Fix bugs and add delete forwards 2022-04-09 00:39:14 -07:00
ce3520006e Refactor repo
WIP

WIP

Cleanup

Cleanup eslint

Fix

Fix selection issues + text removal

Fix a few bugs and add GCC compilation

Remove node_modules

Remove node_modules
2022-04-09 00:39:14 -07:00
f62961a30d Fix segmented node deletions
Fix segmented node deletions 2

WIP Refactor to removeText, insertParagraph, and others

WIP
2022-04-09 00:39:14 -07:00
9ce7d5028f Add basic mentions 2022-04-09 00:39:14 -07:00
3d351ad307 Add drop support 2022-04-09 00:39:14 -07:00
a5be7979ac Fixes around formatting
Add cut support

Add cut support

Add cut support

Add cut support

Add cut support
2022-04-09 00:39:14 -07:00
26d1a1e13c Fix multiple issues around empty text selection 2022-04-09 00:39:14 -07:00
bae4faabda Fix composition text 2022-04-09 00:39:14 -07:00
83f50fc4d0 Update diff logic 2022-04-09 00:39:14 -07:00
8617036975 Diffing 2022-04-09 00:39:14 -07:00
33c4ca51c8 Fix bugs 2022-04-09 00:39:14 -07:00
db0f4ee8da Revise insertText 2022-04-09 00:39:14 -07:00
799aab06ff Add support for basic bold with rich text plugin
Add missing files

Fixed some issues

More fixes

WIP

Fix
2022-04-09 00:39:14 -07:00
6b8914cfcf Add support for paragraphs + more deletion support
Fixews

Major refactor of the editor + event handling
2022-04-09 00:39:14 -07:00
2ee8498ffa Major refactor 2022-04-09 00:39:13 -07:00
d57ab6e3bc Initial commit 2022-04-09 00:39:05 -07:00