tinymce / tinymce-react

Offical TinyMCE React component
MIT License
937 stars 152 forks source link

[Solved] `licenseKey` is not working as intended but `license_key` did. Test failing on `license_key` #541

Closed rognales closed 2 weeks ago

rognales commented 2 weeks ago

Versions:-

Installation mode: I'm self-hosting the packages at my public directory. Already confirm that we are serving tinymce v7 there.

Builder: vite@3.2.10

Config key Console warning Test
license_key No warning Failing with Type 'string' is not assignable to type 'DoNotUse<"license_key prop is overridden by the integration, use the licenseKey prop instead"> | undefined'.
licenseKey Got evaluation warning Test is passing

Any idea how to solve this issue? Do inform if you need more info from my side.

rognales commented 2 weeks ago

My mistake. I put the licenseKey under the init, no as prop to