From 2520e88123bde4f4d31415bb362183964f94ca48 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 23 Jul 2024 14:36:32 +0800 Subject: [PATCH] doc: update example #649 --- core/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/core/README.md b/core/README.md index c00a0e574..9ba093416 100644 --- a/core/README.md +++ b/core/README.md @@ -583,6 +583,30 @@ export default function App() { } ``` +### Disallowed Elements + +```jsx mdx:preview +import React from "react"; +import MDEditor from '@uiw/react-md-editor'; + +export default function App() { + const [value, setValue] = React.useState("**Hello world!!!** "); + return ( +