Giter Site home page Giter Site logo

Comments (5)

renetanikolova avatar renetanikolova commented on July 1, 2024

I think the current version of React is not supported by react-tinymce-mention.
I tried the simplest example and the script cannot compile:

./node_modules/react-tinymce-mention/node_modules/react-dom/lib/ReactNodeTypes.js
Module not found: Can't resolve 'react/lib/React' in 'C:\Users\userName\projects\react-project\node_modules\react-tinymce-mention\node_modules\react-dom\lib'

Also, the version of TinyMCE for react that is in react-tinymce-mention dependencies is a pretty old one.
I am using:

"@tinymce/tinymce-react": "2.3.0",
"react": "^16.7.0"

Is this project still maintained since I saw the latest release of it was 2 years ago?

Thank you in advance!

from react-tinymce-mention.

damassi avatar damassi commented on July 1, 2024

Hi @renetanikolova - this project hasn't been maintained / worked on for a while and I don't have much time to look into it, but all in all the react side things is fairly simple and I think you could fork the project and upgrade quite easily! The above error is indeed due to a version mismatch (React has been vastly restructured in terms of file organization since this was used, and is incompatible with the latest.)

Additionally, babel, webpack and redux are a couple major versions ahead as well.

If you were to fork and upgrade the dependencies I think things would work. The code itself isn't too complicated. Could maybe even copy into your own project after installing some packages listed here https://github.com/Kindling/react-tinymce-mention/blob/master/package.json#L68

from react-tinymce-mention.

renetanikolova avatar renetanikolova commented on July 1, 2024

Hello, @damassi - thank you a lot for your response!
I found a workaround, using: https://github.com/StevenDevooght/tinyMCE-mention
I managed it to work appropriately.

If anyone is having any problems using it with React, feel free to contact me!

Thank you again for your comment, @damassi!

from react-tinymce-mention.

deltamualpha avatar deltamualpha commented on July 1, 2024

I don't think I have commit rights on this project anymore either, unfortunately, so I can't add any warnings to the README that it's no longer being updated. Sorry.

from react-tinymce-mention.

lokeshkhinchi avatar lokeshkhinchi commented on July 1, 2024

@renetanikolova did you found any good solution for this in react?

from react-tinymce-mention.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.