0

I manage to implement the new version of tinymce 6.5.0 in Thymeleaf. And the only feature that really interest me is the Accordion one.

I've tried to find any information about how I can implemented this feature in the React version. I saw that the latest react version of Tinymce is 4.3.0 (@tinymce/tinymce-react )

Is there a way of adding this future to React?

ispasDani
  • 59
  • 1
  • 10

1 Answers1

0

Yes, you can use the Accordion plugin with React as long as TinyMCE is version 6.5 or higher (https://www.tiny.cloud/docs/tinymce/6/accordion/). The version number of react-tinymce (4.3.0) is irrelevant.

The version number for the React Component is different from the version of TinyMCE itself (https://www.tiny.cloud/docs/tinymce/6/release-notes/).  The component is a thin wrapper around TinyMCE to make it easier to use in an React application.

You can see what version of TinyMCE is on a webpage by entering this into your browser’s JavaScript console: tinymce.majorVersion + "." + tinymce.minorVersion

Or, if you are using the Help plugin, you can check TinyMCE's version by selecting Help from the menubar, then clicking Version.

tinyland
  • 241
  • 1
  • 4
  • Yes I know that, I can see that. The question is there a way to implement a feature like Accordion on the react version? There is no newer version of React Tinymce!! Or is there a way of combining the Tinymce v6 in with the Editor from tinymce React into a React app? – ispasDani Aug 29 '23 at 11:01
  • You are from tinyland, how is it possible to not know this? ... I took a printscreen and I will make a youtube video about this because it doesn't make any sense. – ispasDani Aug 29 '23 at 11:04
  • Yes, you can use the Accordion plugin with React as long TinyMCE is version 6.5 or higher (https://www.tiny.cloud/docs/tinymce/6/accordion/). The version number of react-tinymce (4.3.0) is irrelevant. I'll update the answer to make that more clear – tinyland Aug 29 '23 at 22:09