1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 10:51:44 +02:00

927 Commits

Author SHA1 Message Date
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
Alexey Volkov
26ace0db28 docs(concepts): fix code example on the Editor page (#5377) 2023-04-03 11:01:50 -07:00
Amandeep Singh
1d8010be85 Fix the nodeName from lower to upper case (#5348)
The node name should be `STRONG` instead of `strong` in the example deserialize function.
2023-03-08 06:51:37 -07:00
Ziad Beyens
0ac72a626c fix: normalizeNode (#5311)
* fix

* Create large-worms-jog.md

* Update large-worms-jog.md

* Update large-worms-jog.md

* Update large-worms-jog.md

* fix
2023-02-23 16:10:08 -07:00
Ziad Beyens
84f811a79c More control on editor.normalizeNode (#5295)
* feat

* fix

* Create two-books-bow.md

* docs

* feat

* fix
2023-02-22 04:54:35 -07:00
Daniel Lautzenheiser
7d1e60b88f doc: add static cms (#5286) 2023-02-09 11:51:03 -07:00
Kyle McLean
9c4097a26f Simplify implementation of custom editor styling (#5278)
* Switch back to using inline styles for default editor styles

* Add example page and test for editor styling

* Add section in docs for editor styling

* Add test for editor height being set to placeholder height

* Add changeset
2023-01-31 19:17:27 -07:00
PangYiMing
2ab56c32af add tripdocs link to resources (#5276) 2023-01-30 16:33:29 -07:00
Shakirul Hasan Khan
a1b558ac72 doc: syntax highlighting fix on concepts/04-transforms page (#5266)
* doc: syntax highlighting fix on concepts/04-transforms page

* fix: changes made by code formatter
2023-01-26 05:11:26 -07:00
boweiliu
b56acceb23 Update contributing.md (#5268) 2023-01-26 05:05:24 -07:00
Toby
0df29a9dd7 fix slack links in readme and contributing (#5256) 2023-01-13 20:42:22 -07:00
Sim Ho
55effa953c Update Operation API documentation (#5239)
* fix typo in implementation

* doc based on implementation

* fix doc typo
2022-12-29 16:38:03 -07:00
Yoel
d7353677e3 Add Eraser (#5240) 2022-12-29 16:37:21 -07:00
Spencer Zeng
766e0b6d9a Fix broken selection transforms link in editor docs (#5234) 2022-12-21 22:44:22 -07:00
Sim Ho
d96887f909 Note that leaves must be inline elements (#5225)
* Note that leaves must be inline elements

* remove extra space
2022-12-19 10:54:54 -07:00
Ravi Lamkoti
d1f90ebd12 Docs: fix Ctrl-` backticks issue on 03-defining-custom-elements page (#5203) 2022-11-29 14:49:08 -07:00
Emmanuel Meric de Bellefon
66fbc0a5b9 Update range-ref.md (#5200) 2022-11-21 09:44:24 +00:00
Brian Bucknam
fbc9838fd7 Add hanging option to unsetNodes (#5189)
Since this really just calls setNodes, it seems like it should offer the same options.
Without this change, doing something like applying a mark to the contents of a selected block with `hanging` works one way, while trying to do the reverse (remove the mark) cannot include the "hang".
2022-11-17 10:19:01 -07:00