Comments (5)
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.
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.
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.
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.
@renetanikolova did you found any good solution for this in react?
from react-tinymce-mention.
Related Issues (11)
- no styles HOT 3
- I have to add the <Mention> Component before the <TinyMCE> component HOT 5
- Using Mention Causes TinyMCE to not fire Change events HOT 2
- Update to react 16.2 HOT 1
- images HOT 2
- Components of this library must extend React.Component HOT 3
- Multi editor setup HOT 6
- Adding mention at start of new paragraph does not work when previous paragraph ends with mention HOT 6
- Warning: performUpdateIfNecessary: Unexpected batch number HOT 22
- Build-and-test is broken in master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-tinymce-mention.