1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 13:38:37 +01:00

4101 Commits

Author SHA1 Message Date
trevorbye
161af4c70d
Update 01-installing-slate.md (#5388)
add initial value with children so other examples don't break
2023-04-18 05:01:19 -07:00
Vitomir Budimir
00bce4c880
docs(walkthroughs): fix incomplete code block keyboard shortcut example (#5392) 2023-04-18 05:01:02 -07:00
void
bc945eb12c
Take previously added/removed nodes into account when fetching child node in core normalization (#5396) 2023-04-18 05:00:33 -07:00
Sunny Hirai
832e75f47a docs: Add details about the scrollSelectionIntoView prop for the Editable component 2023-04-17 14:46:17 -07:00
Nami
ce5428b143
Remove unnecessary dollar sign from Chromium bug fix (#5394) 2023-04-14 11:33:01 -07:00
Sunny Hirai
3c4e4b6ab3 Remove export from EditableProps in docs 2023-04-13 09:42:39 -07:00
Sunny Hirai
20cff0e35d Add props. prefix to Slate component docs where it was missing 2023-04-13 09:38:46 -07:00
Sunny Hirai
34776c6e01 Normalize Slat and Editable component documentation. Add under construction message to Editable component. 2023-04-13 09:23:20 -07:00
Sunny Hirai
36ea10b88d Add return types to Slate React components 2023-04-13 09:18:48 -07:00
Sunny Hirai
0faa1476c1 Fix typo in Slate Component docs 2023-04-13 09:16:02 -07:00
Sunny Hirai
db3e0f8a81 Rename Slate and Editable to Slate Component and Editable Component in table of contents to improve discoverability 2023-04-13 09:14:48 -07:00
Sunny Hirai
cc2000b583 Provide a more detailed description of useSlateSelector in docs 2023-04-13 09:13:19 -07:00
Sunny Hirai
c6b7db2e13 Organize hooks documentation and add subheadings 2023-04-13 09:10:12 -07:00
Sunny Hirai
d193160fbd Add return values to SlateReact hooks documentation 2023-04-13 09:07:35 -07:00
Sunny Hirai
5f1baec200 Add return types to documentation of ReactEditor 2023-04-13 08:47:53 -07:00
Sunny Hirai
3d1c6936dc Remove redundant material from the main Slate React docs 2023-04-12 23:05:41 -07:00
Sunny Hirai
67e8709f45 Add separate page for Slate component in docs 2023-04-12 23:03:19 -07:00
Sunny Hirai
161c9d8f45 Fix table of contents for doc related to Slate React 2023-04-12 22:47:16 -07:00
Sunny Hirai
0e34b35aed Fix typo in ReactEditor docs 2023-04-12 22:45:50 -07:00
Sunny Hirai
036d58fa98 Add Editable and event handling docs for Slate React 2023-04-12 22:44:50 -07:00
Sunny Hirai
76544747e8 Remove plugins section from main SlateReact docs because it is redundant 2023-04-12 22:26:46 -07:00
Sunny Hirai
36abe94ded Improve the documentation for withReact plugin 2023-04-12 22:26:11 -07:00
Sunny Hirai
f80ecaf165 Extract SlateReact hooks documentation onto its own page 2023-04-12 22:20:54 -07:00
Sunny Hirai
083424eeb0 Extract ReactEditor docs into its own page and organize the methods with subheadings 2023-04-12 22:14:00 -07:00
Sunny Hirai
92b03170f7 Add docs for with-react 2023-04-12 22:01:59 -07:00
Sunny Hirai
cf5563a74d Move SlateReact docs into a separate folder slate-react 2023-04-12 21:47:10 -07:00
Sunny Hirai
2f3fb37ffc Add withHistory page to docs, reorganize the History docs in general and update Summary.md 2023-04-12 21:44:53 -07:00
Sunny Hirai
f89aca22f6 Improve table of content links inside Operation Types docs 2023-04-12 19:09:56 -07:00
Sunny Hirai
4383127876 Reorganize Operation docs 2023-04-12 19:06:18 -07:00
Sunny Hirai
2ba167eadb Add API reference for Operation types 2023-04-12 18:50:52 -07:00
Sunny Hirai
dd2dfbdfc7 Prefix operation static methods in docs with Operation. 2023-04-12 09:37:38 -07:00
Sunny Hirai
7c2beea54e Update Operation docs to add a table of contents and to fix the heading names 2023-04-12 09:34:31 -07:00
Sunny Hirai
0861663a5c Add links in SlateHistory main docs 2023-04-11 23:16:56 -07:00
Sunny Hirai
72d2d84b85 Improve docs for the main page for SlateHistory with more descriptions 2023-04-11 23:14:49 -07:00
Sunny Hirai
8a17891998 A few improvements to HistoryEditor docs including fixing a link 2023-04-11 23:10:58 -07:00
Sunny Hirai
feab2c4f46 Add docs for HistoryEditor 2023-04-11 23:07:32 -07:00
Sunny Hirai
5f56c2bc26 Flesh out docs for Slate History with methods 2023-04-11 18:35:58 -07:00
Sunny Hirai
7b5949ccc9 Add beginning of History docs to Slate docs 2023-04-11 18:23:16 -07:00
github-actions[bot]
07b049f59b
Version Packages (#5373)
* Version Packages

* Update changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
slate@0.93.0 slate-react@0.93.0 slate-history@0.93.0
2023-04-03 16:51:02 -07:00
Dylan Schiemann
bab6943be9
Add missing changeset 2023-04-03 16:15:52 -07:00
Rein Van Imschoot
42b60fb0eb
Extracts history push to own function (#5382) 2023-04-03 11:18:17 -07:00
Joe Anderson
b52e08b0ea
Add support for read-only and non-selectable elements (#5374)
* Add `isElementReadOnly`

fix delete while selected

fix type while selected

fix failing test

add tests

add e2e test

linter fixes

add changeset

* fix yarn build:next

* Add `isSelectable`
2023-04-03 11:02:26 -07:00
Alexey Volkov
26ace0db28
docs(concepts): fix code example on the Editor page (#5377) 2023-04-03 11:01:50 -07:00
Joe Anderson
3c3ea29a2d
Fix issue when tabbing into editor in Safari (#5383)
https://github.com/udecode/plate/issues/2315
2023-04-03 11:00:59 -07:00
Ed Hager
5a0d3974d6
Fix/delete all closes keyboard (#5368)
* fix: clean up ref handling in leaf

* fix: delay rendering of placeholder to allow selections to settle

* fix: move placeholder height calculation into layout effect

* fix: add change set

* fix: handle placeholder resizing in a better way

* fix: fix placeholder integration test
2023-03-20 09:23:54 -07:00
github-actions[bot]
3c0abeb785
Version Packages (#5370)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.92.0
2023-03-17 13:06:36 -07:00
Anthony Ciccarello
d42cd005db
enable eslint hooks rules (#5363) 2023-03-17 10:45:54 -07:00
alex-vladut
556a4565d2
fix: allow copying from editable void input (#5369) 2023-03-17 08:30:13 -07:00
Joe Anderson
a9c0e37472
Fix markdown-shortcuts.test.ts for webkit (#5367)
* Fix test failure on webkit

* Increase Playwright timeout
2023-03-16 16:20:41 -07:00
github-actions[bot]
4244a8d67c
Version Packages (#5365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.11
2023-03-16 06:25:13 -07:00