Open Jessidhia opened 6 years ago
Any plan with this?
Or one can use Dominis13/react-tinymce directly from github until this package gets updated: ... "react-tinymce": "git+ss://git@github.com:Dominis13/react-tinymce.git", ...
Probably a bit less cumbersome than the webpack config workaround.
Having problem deploying the version: Dominis13/react-tinymc UglifyJs complaints on the line: let count = 0; Any timeline for an official release?
@tknuts I had the same issue, then I forked Dominis13's repo and fixed the entry point. Maybe you can use my repo and give it a try https://github.com/rockia/react-tinymce . I also submitted a PR to Dominis13 . Hopefully this workaround works before this official repo got updated.
Oh, I also had to change my require to require "react-tinymce/dist/react-tinymce.js"
.
But yes, changing the entry point is an even cleaner solution.
@rockia Your version did the job for me :-) Thanks... will use it until the original one gets up to speed on React 16 👍
0.7.0 was just published, which should resolve this issue (it's working fine for me with React 16).
Related: #60 #61 #71 #72 #77
React.PropTypes
should be replaced byimport PropTypes from 'prop-types'
, andReact.createClass
byimport createClass from 'create-react-class'
.In case anyone is blocked on this preventing upgrading to React 16, the following webpack config snippet can hack a workaround: