mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
![]() * add support for react 19 ref props (#6405) * add support for react 19 ref props * added changeset * Update packages/react/src/ReactRenderer.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * use partial imports instead of importing the whole React library * fix react renderer not passing ref prop * upgrade dev dependencies for react * updated lockfile * upgrade dev dependencies * update package.json * remove optionalDependencies and move react deps to peerDependencies * enhance ReactRenderer for React 19 compatibility and improve ref handling * remove unused 'node' property from ReactNodeViewProps type definition * fix: update ref type in ReactNodeView to be generic * fix: replace FunctionComponent with NamedExoticComponent for better performance in ReactNodeView * cloned react renderer element props to avoid side effects --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: update ReactNodeViewProps to allow null ref values (#6415) --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
---|---|---|
.. | ||
preview | ||
public | ||
setup | ||
src | ||
CHANGELOG.md | ||
includeDependencies.txt | ||
index.html | ||
package.json | ||
postcss.config.cjs | ||
tailwind.config.js | ||
tsconfig.base.json | ||
tsconfig.react.json | ||
tsconfig.vue-2.json | ||
tsconfig.vue-3.json | ||
vite.config.ts |