marktion
marktion copied to clipboard
Issue
Just no issues! just a question. How i remove some plugins, for example, the image? Also, how i get the HTML? ( i see you are using plugin-markdown) Keep with good work. I hope you can maintain this code. 👍 🥇
Thanks for your support!
Here's a pssible approach to get HTML:
import { MarktionRef } from 'marktion'
const marktionRef = useRef<MarktionRef>(null);
useEffect(() => {
marktionRef.current?.editor.getHTML()
}, [])
<Marktion
ref={marktionRef}
/>