Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinymce not working on React 15.5.4 ? #64

Open
meninjanho4788 opened this issue Jun 6, 2017 · 3 comments
Open

Tinymce not working on React 15.5.4 ? #64

meninjanho4788 opened this issue Jun 6, 2017 · 3 comments

Comments

@meninjanho4788
Copy link

meninjanho4788 commented Jun 6, 2017

I have this error below when upgrade react from 14.0.0 to 15.5.4
Uncaught ReferenceError: tinymce is not defined
at Object._init (vendor.js:43)
at Object.componentDidMount

Cant run init function on componentDidMount

i use React 15.5.4, router4, webpack2 last version.

@lucidlemon
Copy link

did you read the readme completely?

specifically this part:

Dependency

This component depends on tinymce being globally accessible.

<script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script>

@uncleDrews
Copy link

OK, but how can I add it WITHOUT direct <script> tag?

@bagmorgirish
Copy link

you can add script like this because this option better then globally load

<TinyMCE scriptUrl={'//tinymce.cachefly.net/4.2/tinymce.min.js'} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants