1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-13 02:34:05 +02:00

Docs fixes for 0.50.0 (#3133)

* docs: typos

* docs: markdown inline code formatting

https://meta.stackexchange.com/questions/82718/how-do-i-escape-a-backtick-within-in-line-code-in-markdown

* docs: remove unused value, move comment, add deps to callback

* docs: add deps to renderMark callback
This commit is contained in:
Matt Mazzola
2019-11-28 07:37:35 -08:00
committed by Ian Storm Taylor
parent 4140066c0b
commit d457bc52b9
4 changed files with 13 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ const App = () => {
return <BoldMark {...props} />
}
}
})
}, [])
return (
<Slate editor={editor} defaultValue={defaultValue}>
@@ -97,7 +97,7 @@ const App = () => {
return <BoldMark {...props} />
}
}
})
}, [])
return (
<Slate editor={editor} defaultValue={defaultValue}>
@@ -213,7 +213,7 @@ const App = () => {
return <BoldMark {...props} />
}
}
})
}, [])
return (
<Slate editor={editor} defaultValue={defaultValue}>
@@ -267,7 +267,7 @@ const App = () => {
return <BoldMark {...props} />
}
}
})
}, [])
return (
// Add a toolbar with buttons that call the same methods.