Replies: 14 comments 14 replies
-
Hi @bhamichi! I'm Dosu and I’m helping the plate team. Plate 49.x supports React 19, but there are a few common reasons for UI/layout issues in this setup:
If you’re seeing missing styles, double-check your Tailwind and shadcn/ui integration. If toolbars or floating UI are broken, check for React.forwardRef usage in your custom components. If you’re using Plate/PlateContent incorrectly, update your usage to match the latest docs. If you still have issues, try creating a minimal reproduction with just Plate, React 19, and Next.js 15, then add dependencies one by one to isolate the problem. References: To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Hello, Thanks for this quick reply ! Could you please review my package.json below and let me know if you see any version mismatches or incompatibilities that might cause this?
|
Beta Was this translation helpful? Give feedback.
-
You have a mix of Plate plugin versions—many are at 49.0.x or 49.1.x, but the latest Plate core and plugins require all @platejs/* and platejs packages to be at least 49.2.4+ for full compatibility. This version mismatch can cause subtle UI/layout issues, especially with React 19, even if everything compiles. Upgrade all Plate-related packages (platejs and every @platejs/*) to 49.2.9 or higher to match your core version and peer dependency requirements (source). Also, double-check that you have shadcn/ui v4 primitives and Tailwind v4 set up as described in the Plate UI docs (source). If you see runtime errors about Slate or slate-react, check for multiple versions in your dependency tree and use package.json overrides to force a single version (source). For future installs or upgrades, using the shadcn CLI or Plate feature kits helps keep everything aligned and avoids these version mismatches. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Why does this command (from the official documentation https://pro.platejs.org/docs/installation) require me to downgrade my React version to 18? PS D:\myproject\frontend-tenants> npm install @platejs/basic-nodes @platejs/callout @platejs/emoji @radix-ui/react-slot @radix-ui/react-tooltip @radix-ui/react-popover @platejs/code-block lowlight @platejs/selection @platejs/ai @platejs/caption @platejs/comment @platejs/basic-styles @platejs/media @radix-ui/react-toolbar @radix-ui/react-separator @radix-ui/react-dropdown-menu @platejs/list @platejs/toggle @platejs/date @platejs/toc @platejs/layout @platejs/link @platejs/math @platejs/table @ariakit/[email protected] @radix-ui/react-dialog cmdk jotai-x vaul @platejs/resizable [email protected] @platejs/indent react-lazy-load-image-component react-lite-youtube-embed react-player @platejs/mention @platejs/suggestion @platejs/markdown remark-gfm remark-math @platejs/dnd @ai-sdk/react @faker-js/faker @platejs/autoformat date-fns @radix-ui/react-avatar react-markdown @radix-ui/react-hover-card react-dnd react-dnd-html5-backend @platejs/docx @platejs/juice @emoji-mart/[email protected] @platejs/combobox @platejs/floating react-tweet use-file-picker [email protected] @uploadthing/[email protected] sonner zod @radix-ui/react-tabs @platejs/slash-command |
Beta Was this translation helpful? Give feedback.
-
The install command requires React 18 because [email protected] (a dependency in the Plate UI stack) only lists React ^16.8.0, ^17.0.0, or ^18.0.0 as supported peer dependencies. npm blocks the install when using React 19, even though Plate itself supports React 19. This is a limitation of react-day-picker, not Plate. You can either downgrade to React 18 for a smooth install, or use --legacy-peer-deps to force the install (but this can cause runtime issues or broken UI) details. Once react-day-picker updates to support React 19, this restriction will go away. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
I have downgraded react from 19 to 18 and still the editor layout/UI is not displayed properly. Someone (not bot) can help here ? |
Beta Was this translation helpful? Give feedback.
-
Could you reproduce from the template? |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for giving this a try! Did you test installing it on Windows? In the video, here’s what I see after running the first two commands : many import statements with extra quotes !!! Plate.Pro.mp4 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have tried Workarounds: replace all "' and '" with ' Here what I'm getting !!! ![]() What is the next step ? |
Beta Was this translation helpful? Give feedback.
-
Here is a recording using the template without the CLI: potion-installation.mp4Please reproduce the same steps and let me know if another issue occurs. |
Beta Was this translation helpful? Give feedback.
-
Hello @zbeyens, After integrating Plate Pro into our existing application, I am encountering the same problem as reported before. I carefully followed all the steps from the official installation guide at https://pro.platejs.org/docs/installation, including copying the registry folder into Is there anything else that needs to be configured, or could there be a compatibility issue with our current setup? Any suggestions or troubleshooting steps would be greatly appreciated. ![]() |
Beta Was this translation helpful? Give feedback.
-
It seems I’m not the only one facing this issue. This Pro library works fine on a new empty project, but not on existing ones. We’ve already lost a lot of time trying to debug it, and we’re still stuck, especially since support hasn’t provided any solution. |
Beta Was this translation helpful? Give feedback.
-
@zbeyens Could you please share a technical guide on how we can integrate this into an existing project? We initially followed the official documentation without success, and also tried the approach shown in your video demo, but it still did not work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I’m new to Plate and have just purchased Plate Plus.
I followed the installation procedure from the official docs: https://pro.platejs.org/docs/installation.
During setup, I encountered several compatibility issues with packages requiring React 18, while my project was using React 19. I forced installation using
--legacy-peer-deps
to keep React 19.After resolving all compile-time errors and successfully starting the Next.js development server, the
/editor
page renders, but the editor layout/UI is not displayed properly. (See attached screenshot andpackage.json
.)Reproduction URL
No response
Reproduction steps
Plate version
49.2.9
Slate React version
0.117.1
Screenshots
Logs
Browsers
No response
Beta Was this translation helpful? Give feedback.
All reactions