tinymce / tinymce-react

Offical TinyMCE React component
MIT License
959 stars 156 forks source link

The fontselect not working. #453

Closed Jatin0302 closed 10 months ago

Jatin0302 commented 1 year ago

Right now we are not getting the separate dropdown of font family selection. For current solution, we have added the CDN link (https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/5/tinymce.min.js). I know that it is not correct way but it is not working with this package so please provide the correct way.

TinyITAdmin commented 1 year ago

Ref: INT-3176

Jatin0302 commented 1 year ago

Hello can you provide the link form it?

tiny-james commented 1 year ago

If you want to load Tinymce 5 instead of TinyMCE 6 set the cloudChannel prop. https://www.tiny.cloud/docs/tinymce/6/react-ref/#cloudchannel

tiny-james commented 1 year ago

Alternatively you can upgrade to TinyMCE 6, I am guessing you are still using fontselect instead of fontfamily: https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#things-we-renamed

Though that is a question for the tinymce repository.