You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Readme.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -103,15 +103,15 @@ Check out the [**live demo**](http://slatejs.org) of all of the examples!
103
103
104
104
To get a sense for how you might use Slate, check out a few of the examples:
105
105
106
-
-[**Plain text**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/plaintext.tsx) — showing the most basic case: a glorified `<textarea>`.
107
-
-[**Rich text**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/richtext.tsx) — showing the features you'd expect from a basic editor.
108
-
-[**Markdown preview**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/markdown-preview.tsx) — showing how to add key handlers for Markdown-like shortcuts.
109
-
-[**Inlines**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/inlines.tsx) — showing how wrap text in inline nodes with associated data.
110
-
-[**Images**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/images.tsx) — showing how to use void (text-less) nodes to add images.
111
-
-[**Hovering toolbar**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/hovering-toolbar.tsx) — showing how a hovering toolbar can be implemented.
112
-
-[**Tables**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/tables.tsx) — showing how to nest blocks to render more advanced components.
113
-
-[**Paste HTML**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/paste-html.tsx) — showing how to use an HTML serializer to handle pasted HTML.
114
-
-[**Mentions**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/mentions.tsx) — showing how to use inline void nodes for simple @-mentions.
106
+
-[**Plain text**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/plaintext.tsx) — showing the most basic case: a glorified `<textarea>`.
107
+
-[**Rich text**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/richtext.tsx) — showing the features you'd expect from a basic editor.
108
+
-[**Markdown preview**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/markdown-preview.tsx) — showing how to add key handlers for Markdown-like shortcuts.
109
+
-[**Inlines**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/inlines.tsx) — showing how wrap text in inline nodes with associated data.
110
+
-[**Images**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/images.tsx) — showing how to use void (text-less) nodes to add images.
111
+
-[**Hovering toolbar**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/hovering-toolbar.tsx) — showing how a hovering toolbar can be implemented.
112
+
-[**Tables**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/tables.tsx) — showing how to nest blocks to render more advanced components.
113
+
-[**Paste HTML**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/paste-html.tsx) — showing how to use an HTML serializer to handle pasted HTML.
114
+
-[**Mentions**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/ts/mentions.tsx) — showing how to use inline void nodes for simple @-mentions.
115
115
-[**See all the examples...**](https://github.com/ianstormtaylor/slate/tree/main/site/examples/)
116
116
117
117
If you have an idea for an example that shows a common use case, pull request it!
0 commit comments