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 does not work when using head script #13

Open
dashbuck opened this issue May 26, 2017 · 4 comments
Open

TinyMCE does not work when using head script #13

dashbuck opened this issue May 26, 2017 · 4 comments

Comments

@dashbuck
Copy link

dashbuck commented May 26, 2017

TinyMCE controls appear:

<div mv-app="frontPage" mv-plugins="tinymce"  
mv-storage="https://github.com/emdashbuck/playmavo/frontPage.json">
<section property="text" class="tinymce">

TinyMCE controls do not appear:

<script src="js/mavo-tinymce.js">
<section property="text" class="tinymce">

I can give you the errors my console is throwing on the latter if you'd like them, but they're indicating the issue is in tinymce.min.js which I'm pretty sure isn't the case.

@astronaut-wannabe
Copy link

@emdashbuck in the 2nd example, is that mavo-tinymce script tag after the mavo.js tag?

also, did you remove the mv-plugins="tinymce" from the app div?

just want to double check as these are 2 things I kept messing up myself

@dashbuck
Copy link
Author

Yep, the line directly before it is <script src="https://get.mavo.io/mavo.js"></script> .

And yes, the attribute was definitely deleted. The bug I was originally going to submit was "TinyMCE does not work when both head script and mv-plugins attribute are used." I was checking to see if it was reproducible when I hit this one.

@astronaut-wannabe
Copy link

👍

@LeaVerou
Copy link
Member

Please do provide the errors you see in your console, it will help.

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

3 participants