Closed BrianTheCoder closed 11 years ago
@BrianTheCoder was there any solution to this?
I never found one. No longer with the company I was building the project for, so unsure.
On Tue, Dec 11, 2012 at 3:55 PM, Christopher Hein notifications@github.comwrote:
@BrianTheCoder https://github.com/BrianTheCoder was there any solution to this?
— Reply to this email directly or view it on GitHubhttps://github.com/spohlenz/tinymce-rails/issues/58#issuecomment-11270603.
Alright thanks.
I'm not too familiar with asset_sync, but it looks like it's not working because asset_sync only copies files that are in the asset manifest. You could try running asset sync with the environment variable ASSET_SYNC_MANIFEST set to false.
It may also be an issue with both asset_sync and tinymce-rails enhancing the asset precompilation rake tasks. Switching the order of the gems could possibly help here if the tinymce-rails assets are being copied after asset sync runs.
A lot of it seems to be with how ckeditor loads all its additional files. Gonna dig into it tonight On Dec 11, 2012 5:36 PM, "Sam Pohlenz" notifications@github.com wrote:
I'm not too familiar with asset_sync, but it looks like it's not working because asset_sync only copies files that are in the asset manifest. You could try running asset sync with the environment variable ASSET_SYNC_MANIFEST set to false.
It may also be an issue with both asset_sync and tinymce-rails enhancing the asset precompilation rake tasks. Switching the order of the gems could possibly help here if the tinymce-rails assets are being copied after asset sync runs.
— Reply to this email directly or view it on GitHubhttps://github.com/spohlenz/tinymce-rails/issues/58#issuecomment-11273147.
I've created a new branch at https://github.com/spohlenz/tinymce-rails/tree/update-manifest which updates the asset manifest when copying the TinyMCE assets over. Could you give it a try and see if it solves the issue?
Will give it a try tomorrow. Thanks for doing this!
On Tue, Feb 12, 2013 at 8:57 PM, Sam Pohlenz notifications@github.comwrote:
I've created a new branch at https://github.com/spohlenz/tinymce-rails/tree/update-manifest which updates the asset manifest when copying the TinyMCE assets over. Could you give it a try and see if it solves the issue?
— Reply to this email directly or view it on GitHubhttps://github.com/spohlenz/tinymce-rails/issues/58#issuecomment-13474623.
Gave it a go and got the following error in the console after deploying "TypeError: tinyMCE is undefined" any ideas?
Sorry to hear that @BrianTheCoder. Which method are you using to include the TinyMCE core assets?
Hi,
I have the same error too. The plugins are read from the assets folder instead of my CDN. What input do you need?
so I setup asset_sync to upload my assets to be served from cloudfront. However, none of the js files for plugins were copied over, causing the whole thing to break. The template files for the plugins copied over just fine. Any ideas?