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

update docs

This commit is contained in:
Ian Storm Taylor
2019-12-05 12:52:52 -05:00
parent c34b4b7462
commit 124ff37c3a
15 changed files with 265 additions and 26 deletions

View File

@@ -19,9 +19,9 @@ import MarkdownPreview from '../../examples/markdown-preview'
import MarkdownShortcuts from '../../examples/markdown-shortcuts'
import Mentions from '../../examples/mentions'
import PasteHtml from '../../examples/paste-html'
import PlainText from '../../examples/plain-text'
import PlainText from '../../examples/plaintext'
import ReadOnly from '../../examples/read-only'
import RichText from '../../examples/rich-text'
import RichText from '../../examples/richtext'
import SearchHighlighting from '../../examples/search-highlighting'
import Tables from '../../examples/tables'
@@ -37,9 +37,9 @@ const EXAMPLES = [
['Markdown Shortcuts', MarkdownShortcuts, 'markdown-shortcuts'],
['Mentions', Mentions, 'mentions'],
['Paste HTML', PasteHtml, 'paste-html'],
['Plain Text', PlainText, 'plain-text'],
['Plain Text', PlainText, 'plaintext'],
['Read-only', ReadOnly, 'read-only'],
['Rich Text', RichText, 'rich-text'],
['Rich Text', RichText, 'richtext'],
['Search Highlighting', SearchHighlighting, 'search-highlighting'],
['Tables', Tables, 'tables'],
]

View File

@@ -5,7 +5,7 @@ const Example = () => {
const router = useRouter()
useEffect(() => {
router.replace(`/examples/rich-text`)
router.replace(`/examples/richtext`)
})
return null