Tianyu

Results 8 comments of Tianyu

Might need an update above 10.4.x to support screenshot in webp format.

> I finally got this to work with a few changes... > > ```js > import { Node, nodeInputRule, mergeAttributes } from "@tiptap/core"; > > import { mathPlugin } from...

To make it compatible with the latest @tiptap input rules. ``` /* eslint-disable */ import { Node, mergeAttributes } from '@tiptap/core'; import { inputRules } from 'prosemirror-inputrules'; import { makeInlineMathInputRule,...

Leave the math block here as well in case anybody needed. The mathPlugin only need to be inserted once if both math-inline and math-display are created. ``` /* eslint-disable */...

I found that the className is an available option when use ReactNodeViewRenderer, but it's not added to the wrapper.

I managed to add className based on node attributes in this way. It might be useful for other html attrs. ``` addNodeView() { return (props) => { const { node...

Any solution in version 5.3.8? It's still closing the parent modal now. `history` option is no longer available in this version.