From 3b497bc342e4e4f841501e70a5d80ce979c1cb29 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Sat, 28 Oct 2017 16:24:03 -0700 Subject: [PATCH] remove hard to maintain examples readmes --- examples/check-lists/Readme.md | 8 -------- examples/code-highlighting/Readme.md | 8 -------- examples/embeds/Readme.md | 9 --------- examples/emojis/Readme.md | 8 -------- examples/forced-layout/Readme.md | 8 -------- examples/hovering-menu/Readme.md | 8 -------- examples/huge-document/Readme.md | 6 ------ examples/images/Readme.md | 9 --------- examples/links/Readme.md | 8 -------- examples/markdown-preview/Readme.md | 8 -------- examples/markdown-shortcuts/Readme.md | 8 -------- examples/paste-html/Readme.md | 8 -------- examples/plain-text/Readme.md | 8 -------- examples/plugins/Readme.md | 6 ------ examples/read-only/Readme.md | 8 -------- examples/rich-text/Readme.md | 8 -------- examples/rtl/Readme.md | 8 -------- examples/search-highlighting/Readme.md | 8 -------- examples/syncing-operations/Readme.md | 8 -------- examples/tables/Readme.md | 6 ------ 20 files changed, 156 deletions(-) delete mode 100644 examples/check-lists/Readme.md delete mode 100644 examples/code-highlighting/Readme.md delete mode 100644 examples/embeds/Readme.md delete mode 100644 examples/emojis/Readme.md delete mode 100644 examples/forced-layout/Readme.md delete mode 100644 examples/hovering-menu/Readme.md delete mode 100644 examples/huge-document/Readme.md delete mode 100644 examples/images/Readme.md delete mode 100644 examples/links/Readme.md delete mode 100644 examples/markdown-preview/Readme.md delete mode 100644 examples/markdown-shortcuts/Readme.md delete mode 100644 examples/paste-html/Readme.md delete mode 100644 examples/plain-text/Readme.md delete mode 100644 examples/plugins/Readme.md delete mode 100644 examples/read-only/Readme.md delete mode 100644 examples/rich-text/Readme.md delete mode 100644 examples/rtl/Readme.md delete mode 100644 examples/search-highlighting/Readme.md delete mode 100644 examples/syncing-operations/Readme.md delete mode 100644 examples/tables/Readme.md diff --git a/examples/check-lists/Readme.md b/examples/check-lists/Readme.md deleted file mode 100644 index d4aa063d3..000000000 --- a/examples/check-lists/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Rich Text Example - -![](../../docs/images/rich-text-example.png) - -This example shows you can add a very different concepts together: key commands, toolbars, and custom formatting, to get the functionality you'd expect from a rich text editor. Of course this is just the beginning, you can layer in whatever other behaviors you want! - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/code-highlighting/Readme.md b/examples/code-highlighting/Readme.md deleted file mode 100644 index 1f64cdc59..000000000 --- a/examples/code-highlighting/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Code Highlighting Example - -![](../../docs/images/code-highlighting-example.png) - -This example shows you how to use "decorators" to render dynamically formatted text—in this case, code blocks! - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/embeds/Readme.md b/examples/embeds/Readme.md deleted file mode 100644 index a1810bcb8..000000000 --- a/examples/embeds/Readme.md +++ /dev/null @@ -1,9 +0,0 @@ - -# Images Example - -![](../../docs/images/images-example.png) - -This example shows you how you can use "void" nodes to render content that has no text in it, like images. - -Check out the [Examples readme](..) to see how to run it! - diff --git a/examples/emojis/Readme.md b/examples/emojis/Readme.md deleted file mode 100644 index d7cb44cda..000000000 --- a/examples/emojis/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Emojis Example - -![](../../docs/images/links-example.png) - -This example shows you how you can insert inline void nodes. This is how you'd add emojis or inline images to Slate. - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/forced-layout/Readme.md b/examples/forced-layout/Readme.md deleted file mode 100644 index 49370def7..000000000 --- a/examples/forced-layout/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Forced Layout Example - -![](../../docs/images/forced-layout-example.png) - -This example shows you how you can use Rules in your schema to enforce a document structure. The basic example enforces having one title block that is always at the top, and at least one paragraph block underneath it. - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/hovering-menu/Readme.md b/examples/hovering-menu/Readme.md deleted file mode 100644 index 99dfaa4c8..000000000 --- a/examples/hovering-menu/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Hovering Menu Example - -![](../../docs/images/hovering-menu-example.png) - -This example shows you add a menu that appears hovering above the current selection as a user clicks around, where you can add formatting buttons. The menu is its own React component, completely separate from Slate, but the buttons in it are wired up to change the content in Slate's editor. - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/huge-document/Readme.md b/examples/huge-document/Readme.md deleted file mode 100644 index fba2dccbc..000000000 --- a/examples/huge-document/Readme.md +++ /dev/null @@ -1,6 +0,0 @@ - -# Large Text Example - -This example showcase performance of Slate when editing a large document. - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/images/Readme.md b/examples/images/Readme.md deleted file mode 100644 index a1810bcb8..000000000 --- a/examples/images/Readme.md +++ /dev/null @@ -1,9 +0,0 @@ - -# Images Example - -![](../../docs/images/images-example.png) - -This example shows you how you can use "void" nodes to render content that has no text in it, like images. - -Check out the [Examples readme](..) to see how to run it! - diff --git a/examples/links/Readme.md b/examples/links/Readme.md deleted file mode 100644 index 04b913be4..000000000 --- a/examples/links/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Links Example - -![](../../docs/images/links-example.png) - -This example shows you how you can wrap text in "inline" nodes to associate metadata, like an `href`, with a piece of text. This is how you'd add links to Slate, but it's also how you might add hashtags, at-mentions, and many more inline features! - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/markdown-preview/Readme.md b/examples/markdown-preview/Readme.md deleted file mode 100644 index 16cee1cec..000000000 --- a/examples/markdown-preview/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Auto-markdown Example - -![](../../docs/images/auto-markdown-example.png) - -This example shows you can add a few key command handlers to get Markdown-like shortcuts in the editor. Such that once you press `> ` at the start of a line it turns it into a block quote! - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/markdown-shortcuts/Readme.md b/examples/markdown-shortcuts/Readme.md deleted file mode 100644 index 16cee1cec..000000000 --- a/examples/markdown-shortcuts/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Auto-markdown Example - -![](../../docs/images/auto-markdown-example.png) - -This example shows you can add a few key command handlers to get Markdown-like shortcuts in the editor. Such that once you press `> ` at the start of a line it turns it into a block quote! - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/paste-html/Readme.md b/examples/paste-html/Readme.md deleted file mode 100644 index fedebdc09..000000000 --- a/examples/paste-html/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Paste HTML Example - -![](../../docs/images/paste-html-example.png) - -This example shows you how you can use the HTML serializer to convert HTML that a user pastes into the editor into formatted text, instead of it defaulting to plain text. - -Check out the [Examples readme](..) to see how to run it! diff --git a/examples/plain-text/Readme.md b/examples/plain-text/Readme.md deleted file mode 100644 index 20aee1528..000000000 --- a/examples/plain-text/Readme.md +++ /dev/null @@ -1,8 +0,0 @@ - -# Plain Text Example - -![](../../docs/images/plain-text-example.png) - -This is the most basic Slate example. It's basically a glorified `