Jason Tamulonis
994514b415
Fix path transform for sibling ancestor moves ( #3712 )
...
* Fix path transform for sibling ancestor moves
* Add some more tests
2020-06-03 13:33:18 -07:00
Jamie Talbot
7c8eb8e80b
Allow void nodes to be copied. Fixes #3665 ( #3716 )
2020-06-03 09:34:28 -07:00
anatolzak
44675c2080
Overrode Mark Styles in Placeholder ( #3703 )
...
* disabled user select on placeholder
* fixed css property value without quotes
* overrode mark styles in placeholder
Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
2020-05-28 14:56:41 -07:00
Jason Tamulonis
4e7327d238
Fix inverse of sibling move operation ( #3691 )
...
* Fix path transform against sibling move operations
* Fix my jibberish
* Add some comments
2020-05-28 14:54:05 -07:00
Jason Tamulonis
9054d3a381
Fix path transform against sibling move operations ( #3675 )
2020-05-27 17:19:41 -07:00
CameronAckermanSEL
97a7e8a469
v0.58.2
v0.58.2
2020-05-27 08:55:33 -07:00
anatolzak
20d7dd41b7
disabled user select on placeholder ( #3701 )
...
* disabled user select on placeholder
* fixed css property value without quotes
2020-05-27 08:46:02 -07:00
Mitchell Busby
26fbc1dc41
Fix scrolling boundary detection (see #3463 ) ( #3678 )
2020-05-20 17:32:56 -07:00
Nikolay Martynenko
31709160a3
Fix selection, if click event fired after ( #3650 )
2020-05-20 17:26:21 -07:00
Matthew Steedman
c1760127f1
Fix Editable onPaste handler not getting called ( #3670 )
2020-05-20 17:22:39 -07:00
Ziad Beyens
557c51e7d4
slate-plugins-next ( #3692 )
...
Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
2020-05-20 17:03:35 -07:00
Scott Parker
76acd9c449
Remove Outline since they switched to ProseMirror ( #3694 )
2020-05-20 17:01:56 -07:00
Ali Muqaddas
9834fe4e95
Fix: ESlint Error ( #3688 )
...
Value is defined in the upper scope
2020-05-17 08:51:07 -07:00
Jolene Langlinais
c00f246c7e
docs(resources): adjust editor link ( #3687 )
...
Adjusting for the new monorepo for Accord Project Markdown Editor.
2020-05-14 23:12:29 -07:00
Kevin Simons
3c80c3e88b
Fix a few issues with the documentation ( #3679 )
...
* Fix a few issues with the documentation
* Add Kitemaker to the list of sites using Slate
2020-05-13 08:56:24 -07:00
CameronAckermanSEL
aabb9b50bd
v0.58.1
v0.58.1
2020-05-11 16:31:12 -07:00
Cameron Ackerman
07c375f82e
Bugfix/fix bundles ( #3673 )
...
* fix index.js main bundles to be commonjs instead of modules
* Change rm -rf to rimraf to be cross os compatible
* add rimraf as dependency
Co-authored-by: damareyoh <chackerman@wsu.edu>
2020-05-11 10:18:00 -07:00
whyour
08f7ef588c
fix hovering toolbar format hotkeys ( #3667 )
2020-05-10 23:01:35 -07:00
Ted Chen
a1ce4477c3
Update codepen in ISSUE_TEMPLATE.md for v0.58.0 ( #3659 )
...
Updates the codepen in the ISSUE_TEMPLATE.md to be a working example of v0.58.0
2020-05-06 21:47:52 -07:00
CameronAckermanSEL
8737f0411a
v0.58.0
v0.58.0
2020-05-05 18:50:22 -07:00
CameronAckermanSEL
44c4b7dc8d
updated changelog for 0.58.0
2020-05-05 18:41:45 -07:00
Cameron Ackerman
f4ee75d13d
fix issue #3651 where initial click on a void block can cause the editor to crash ( #3654 )
...
* fix issue #3651 where initial click on a void block can cause the editor to crash
* simplify non null cast for editor to element weakmap retrieve
* get prettier to shut up
* fixed comment
2020-05-05 10:31:01 -07:00
Nikolay Martynenko
e25c30c7a8
Fixing selection across a void node (i.e. mention or image) with the mouse ( #3649 )
...
* Fixing selection across a void node (i.e. mention or image) with the mouse.
* Fixing selection across a void nodes via mouse
2020-05-04 17:49:37 -07:00
CameronAckermanSEL
d82ffe49a5
Revert "Revert "TypeScript Improvement: Use [key: string]: unknown
, not [key: string]: any
( #3565 )""
...
This reverts commit 81d2f9bb8f6a78590d7868deb289ec36fb208629.
2020-05-04 17:38:14 -07:00
CameronAckermanSEL
036ee664af
v0.57.3
v0.57.3
2020-05-04 17:36:43 -07:00
CameronAckermanSEL
81d2f9bb8f
Revert "TypeScript Improvement: Use [key: string]: unknown
, not [key: string]: any
( #3565 )"
...
This reverts commit d8adf51add861c81b51e969de704d93a51a8990f.
2020-05-04 17:33:39 -07:00
Tim Buckley
d8adf51add
TypeScript Improvement: Use [key: string]: unknown
, not [key: string]: any
( #3566 )
...
* Change all [key:string]:any -> unknown
Skipping slate-hyperscript, since it seems to be an appropriate use of key: any
* Minor typo fix docs/api/locations
* Check/assert unknown attributes when needed
2020-05-04 17:16:03 -04:00
Jolene Langlinais
aacfde3bad
docs(libraries): init docs for slate sub-libraries ( #3645 )
...
* docs(libraries): init docs for slate sub-libraries
Signed-off-by: irmerk <jolenelanglinais@gmail.com>
* docs(libraries): reword slate history summary
Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
2020-05-01 12:16:36 -07:00
Brent Farese
217b84ff1f
Update wrapNodes to use lowest mode and create passing test. ( #3579 )
...
* Update wrapNodes to use lowest mode and create passing test.
* Add .idea to .gitignore.
* Restore wrapNodes/inline/inline-across.js test.
Co-authored-by: Brent Farese <brentfarese@gmail.com>
2020-04-30 15:11:35 -07:00
Jamie Talbot
ddef719467
Make setFragmentData and getFragment pluggable in ReactEditor ( #3620 )
2020-04-27 12:05:28 -07:00
Cameron Ackerman
7369bb9e97
upgrade next to 9.3.5 to fix security finding ( #3640 )
2020-04-26 16:58:34 -07:00
dependabot[bot]
b3f688f151
Bump acorn from 5.7.3 to 5.7.4 ( #3548 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-26 12:23:38 -07:00
喵喵喵
cc57894f98
fix(unmount): add destroyed flag, prevent apply change when component… ( #3553 )
...
* fix(unmount): add destroyed flag, prevent apply change when component has been destroyed.
* style(format): update format
* refactor(unmount): remove destroyed flag, use effect return callback to destroy onchange event
* styles(format): format styles
Co-authored-by: wangchao <wangchao08@kuaishou.com>
2020-04-26 12:19:25 -07:00
David Hrdlicka
67c4b3b330
Prioritize using Selection over Range to preserve direction ( #3594 )
...
accout for zero-width nodes
2020-04-25 22:23:52 -07:00
CameronAckermanSEL
4f6ca7bc62
v0.57.2
v0.57.2
2020-04-24 16:26:26 -07:00
Jolene Langlinais
970c2aac13
docs(concepts): include normalizing inline default behavior ( #3637 )
...
Signed-off-by: irmerk <jolenelanglinais@gmail.com>
2020-04-24 08:28:21 -07:00
Jolene Langlinais
c04672b1f7
docs(resources): add product and editor ( #3632 )
...
Signed-off-by: irmerk <jolenelanglinais@gmail.com>
2020-04-23 21:26:31 -07:00
George Rodier
9a6e8fba92
Import Transforms in custom elements walkthough ( #3630 )
2020-04-22 09:09:42 -07:00
Kirk Swenson
f6bfe034d7
Fix typos and other minor issues in docs ( #3597 )
...
Fixed typos and grammatical errors in the documentation
2020-04-10 09:05:03 -07:00
Charanjit Singh
c9891a29e1
Update Contributing.md ( #3598 )
...
Fix LearnaJs broken link
2020-04-10 08:59:23 -07:00
Cameron Ackerman
4f1cbf9418
[WIP] add cross-env to enable inline ENV set on multiple environments ( #3595 )
...
* add cross-env to enable inline ENV set on multiple environments
2020-04-08 10:58:50 -07:00
CameronAckermanSEL
41aacc009d
Revert "add crossenv to allow ENV dependent scripts to work on windows"
...
This reverts commit b91a0cdd49c2e3a8304460f811e091a920a160ab.
2020-04-08 10:36:10 -07:00
CameronAckermanSEL
23141c046b
Revert "v0.57.2"
...
This reverts commit f9ec4cfaa852d4aaf937c8347f2adb41e23bc793.
2020-04-08 10:35:45 -07:00
CameronAckermanSEL
f9ec4cfaa8
v0.57.2
2020-04-07 13:19:28 -07:00
CameronAckermanSEL
b91a0cdd49
add crossenv to allow ENV dependent scripts to work on windows
2020-04-07 13:17:16 -07:00
Cameron Ackerman
54b9b63f04
fix issue where inline voids can no longer be selected ( #3572 )
...
* fix issue where inline voids can no longer be selected by allowing the zero width space to be an editable target
Co-authored-by: damareyoh <chackerman@wsu.edu>
2020-04-07 09:14:57 -07:00
Entkenntnis
1d7ab97429
use state to avoid cursor jumping in controlled input ( #3552 )
...
Co-authored-by: dal <test@x.com>
2020-03-24 18:16:32 -07:00
Ken Aoki
5da89b8656
Update 01-installing-slate.md ( #3554 )
2020-03-24 18:12:06 -07:00
pavlyna
16ff44d056
3536 cover beforeinput behavior on edge legacy browser ( #3537 )
...
* 3536 support flat functionality + beforeinput in Edge
* 3536 support flat functionality + beforeinput in Edge
* 3536 remove support for flat functionality
* 3536 added description of regexp
Co-authored-by: Pavlyna Bevz <pavlynabevz@pbevz-mbp.local>
2020-03-11 08:20:30 -07:00
Charanjit Singh
f86f5ca065
Fix Typo ( #3545 )
...
Typo fix in documentation
2020-03-11 08:11:42 -07:00