Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

tinymce is requesting the theme css lots #68

Closed
stephennancekivell opened this issue Feb 5, 2014 · 3 comments
Closed

tinymce is requesting the theme css lots #68

stephennancekivell opened this issue Feb 5, 2014 · 3 comments

Comments

@stephennancekivell
Copy link

I have ui-tinymce a few times in my page. Sometimes when refreshing the page (about 1 out of 5 times) it requests content.min.css lots.

Why is it doing this. I dont think it should. They are cached requests but it seems to take some time and I can see tinymce flicker.

screen shot 2014-02-05 at 3 07 24 pm

@wesleycho
Copy link
Contributor

The problem would lie on TinyMCE's end - it requests the CSS asynchronously.

@basarat
Copy link

basarat commented Aug 1, 2014

@stephennancekivell did you ever find a way to fix it?

@basarat
Copy link

basarat commented Aug 1, 2014

Since each edit area in tinymce is an iframe it needs it own CSS. It has a good reason .. the edit area CSS needs to different from site CSS. Fixed by simply not initializing too many TinyMCE instances till we need them (e.g. wrap in an ng-if)

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

No branches or pull requests

3 participants