1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 02:49:56 +02:00
Commit Graph

4116 Commits

Author SHA1 Message Date
魔王卷子
588a808b2f Update transforms.md (#5030) 2022-06-26 20:51:02 +01:00
github-actions[bot]
0a90e6420c Version Packages (#5021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.81.1
2022-06-18 07:57:51 -07:00
pubuzhixing8
2b294b30d7 fix(mentions): correct spacer tag position to avoid IME input being interrupted Cannot input chinese directly after the mention in mention demo #3490 (#5013) 2022-06-11 08:09:20 -07:00
Gabin Aureche
22308b3417 Replace useMemo with useState in the docs (#5022)
* Replace useMemo with useState

* Fix formatting
2022-06-11 07:58:19 -07:00
Thanayut T
9ae372875d Fix deleteBackward behavior for Thai script (#5015) 2022-06-07 21:34:04 -07:00
Gabin Aureche
a66c7315a3 Replace useState with useMemo in the "Installing Slate" walkthrough (#5020)
* Update 01-installing-slate.md

* Revert changes to types definitions
2022-06-07 21:31:52 -07:00
github-actions[bot]
1c5639fdd6 Version Packages (#5009)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.81.0 slate-react@0.81.0
2022-06-03 04:16:55 -07:00
Alexander Campbell
fe13a8f9e7 implement scrubber for end user data in exceptions (#4999) 2022-05-26 14:44:22 -07:00
github-actions[bot]
25be3b7031 Version Packages (#4985)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.80.0 slate-react@0.80.0
2022-05-25 17:00:21 -07:00
Steve Marquis
e9ea281595 Go back to previous positions behavior (#5008)
Revert "Fix positions iteration when starting in an inline void node (#4952)"

This reverts commit 9ce0a08c2a.
2022-05-25 16:00:24 -07:00
jasonphillips
92c5730a96 Fix: revert to prior decorations behavior (#5007)
* Revert "Fix child element decorations (#4910)"

This reverts commit 2a8d86f1a4.

* Revert "Fix stale decorations (#4876)"

This reverts commit 1b205c087b.

* chore: add changeset
2022-05-25 14:01:14 -07:00
Haakon Borch
f5ccab241c update docs on Node.ancestors/levels and Path.ancestors (#4987) 2022-05-17 16:23:47 -07:00
Abdullah Ammar
863357f994 docs: fix links example not working (#4986) 2022-05-17 16:23:32 -07:00
V_Lute
d2fc25c3c3 update insertText logic when selection is not collapsed (#4892)
Co-authored-by: zhangpengcheng15 <zhangpengcheng15@jd.com>
2022-05-07 06:14:01 -07:00
github-actions[bot]
1555ac8402 Version Packages (#4982)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.79.0
2022-05-04 16:27:40 -07:00
Eric Meier
cb8a551508 Add ReactEditor.isComposing(editor) (#4981)
* Add ReactEditor.isComposing(editor)

* Upate changeset from patch to minor
2022-05-02 12:09:42 -07:00
github-actions[bot]
de325801cf Version Packages (#4980)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.78.1
2022-04-29 19:40:45 -07:00
Eric Meier
6afa9f6a71 Unset isComposing on keydown with isCompsing false (#4979) 2022-04-29 19:15:49 -07:00
github-actions[bot]
d8da50f761 Version Packages (#4977)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.78.0
2022-04-26 12:26:14 -07:00
Dylan Schiemann
3b7a1bf72d Revert "Revert "Added types for options and common string literals"" (#4974)
* Revert "Revert "Added types for options and common string literals (#4968)" (#4969)"

This reverts commit b940640fc8.

* Add changeset
2022-04-26 10:28:58 -07:00
Dylan Schiemann
acdc5c3417 fix linting issue (#4976) 2022-04-26 10:10:55 -07:00
Luigi Di Muzio
dcd36be973 Add CodeQL Workflow (#4972)
Add CodeQL configuration .yml to start running security code scans on this project
2022-04-26 09:22:33 -07:00
wojtek-kowalczyk
731fdf3457 Fixed a bug in the example code in docs (#4973) 2022-04-26 09:10:00 -07:00
github-actions[bot]
d40507d77e Version Packages (#4967)
* Version Packages

* Update packages/slate-react/CHANGELOG.md

typo

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
slate-react@0.77.4
2022-04-25 22:28:45 -07:00
Dylan Schiemann
b940640fc8 Revert "Added types for options and common string literals (#4968)" (#4969)
This reverts commit ef09c8cf6e.
2022-04-25 22:26:45 -07:00
Josh Goldberg
ef09c8cf6e Added types for options and common string literals (#4968) 2022-04-25 22:26:15 -07:00
Eric Meier
a4536e2aa2 Fix triple click handling in nested blocks (#4965) 2022-04-25 18:33:59 -07:00
github-actions[bot]
15e11f87e9 Version Packages (#4958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.77.3
2022-04-21 08:25:46 -07:00
Eric Meier
c1e3fbaab9 Don't treat events with non-selection target range as native (#4957) 2022-04-20 14:47:38 -07:00
github-actions[bot]
f362cd7a19 Version Packages (#4953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.77.2 slate-react@0.77.2
2022-04-19 13:10:05 -07:00
Eric Meier
5b51e87d51 fix double insert in anchor element decorations (#4951) 2022-04-19 13:02:23 -07:00
Steve Marquis
9ce0a08c2a Fix positions iteration when starting in an inline void node (#4952) 2022-04-19 13:02:01 -07:00
James
34cfc1c704 closed bracket on complete code example (#4950) 2022-04-19 08:48:22 -07:00
github-actions[bot]
0e606f03c1 Version Packages (#4949)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.77.1
2022-04-18 20:45:50 -07:00
Eric Meier
9957c21435 Prevent native insert at the end of anchors (#4948)
* Prevent native insert at the end of anchors

* add changeset
2022-04-18 09:39:45 -07:00
github-actions[bot]
5160efeea4 Version Packages (#4935)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.77.0 slate-react@0.77.0 slate-hyperscript@0.77.0
2022-04-13 11:14:29 -07:00
Eric Meier
486c385bc5 Fix editor root tripple click crash (#4944) 2022-04-13 10:58:12 -07:00
Horacio Herrera
0e598ab229 feat(docs): add missing Element methods (#4943) 2022-04-13 10:56:59 -07:00
vagusX
99d24a63af docs: remove yuque in Products (#4940) 2022-04-13 10:56:14 -07:00
Alex
c39c8082a9 Fix pointRef leaks caused by not unref'ing (#4939)
* Fix pointRef leaks caused by not unref'ing

May cause severe performance degradation if more and more point refs
need to be updated.

* changeset
2022-04-12 09:56:51 -07:00
Johan Davidsson
d460bb42f0 Doc serializing fix (#4937)
Fixing a never ending recursive function in the serializing documentation.
2022-04-12 08:55:26 -07:00
Shira Smith
076ab9a67a Fixed legacy check for Firefox v100+ (#4926) 2022-04-11 06:11:16 -07:00
cptKNJO
ce02acd2fd Docs remove unused selection (#4927) 2022-04-11 06:10:41 -07:00
Ivan Voskoboinyk
1ff6e69093 Export createText from slate-hyperscript (#4932)
* Update index.ts

* Fix code style

* Add changeset
2022-04-11 06:10:12 -07:00
Sunny Hirai
bb4f1934c9 Moved documentation for refs in the Editor into its own section 2022-04-10 15:35:48 -07:00
Sunny Hirai
daa68dab89 Add descriptions of affinity to PathRef, PointRef and RangeRef documentation 2022-04-10 15:31:43 -07:00
Sunny Hirai
e7aa292323 Fixed several broken and missing links in the Location Types API Reference 2022-04-10 15:09:43 -07:00
Sunny Hirai
5400296e45 Add PathRef to Table of Contents of Documentation 2022-04-10 15:06:26 -07:00
Doug Reeder
2b94e17874 Documents how to implement a Void Element. (#4924)
* Documents how to implement a Void Element.

* Tightens up phrasing
2022-04-03 16:34:33 -07:00
github-actions[bot]
4df23c6e41 Version Packages (#4921)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.76.1 slate-react@0.76.1
2022-04-03 10:02:04 -07:00