Trevor Hartman

Results 165 comments of Trevor Hartman

Hey @sjdemartini, quick question on this - when I use `insertImages` it correctly creates html like this in the editor: ```html ``` But when I call `editor.getHTML()` later it results...

Thanks for the explanation! What I meant in the CodeSandbox demo was that when the html is rendered via `RichTextReadOnly` it contains the wrapper when I inspect it in devtools:...

One thing I'm trying to figure out is how I can replace anchor tags coming from tiptap `getHTML` with [Next.js Links](https://nextjs.org/docs/pages/api-reference/components/link). Currently I do that with [html-react-parser](https://www.npmjs.com/package/html-react-parser)'s `replace` function: ```typescript...

An alternate solution I tried is to keep using `html-react-parser`, and add my own wrapping logic so that image alignment works: ```typescript const parseHtmlWithNextLink = (html: string) => { return...

Nice, thanks @0xTemporal