diff --git a/lib/tinymce/rails/engine.rb b/lib/tinymce/rails/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/tinymce/rails/engine.rb
+++ b/lib/tinymce/rails/engine.rb
@@ -20,7 +20,10 @@ module TinyMCE::Rails
     end
 
     def self.default_base
-      File.join(relative_url_root || "", Rails.application.config.assets.prefix || "/", "tinymce")
+      File.join(Rails.application.config.action_controller.asset_host || "",
+                relative_url_root || "",
+                Rails.application.config.assets.prefix || "/",
+                "tinymce")
     end
     
     def self.relative_url_root
diff --git a/spec/lib/engine_spec.rb b/spec/lib/engine_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/engine_spec.rb
+++ b/spec/lib/engine_spec.rb
@@ -16,6 +16,11 @@ module TinyMCE::Rails
         Rails.application.config.stub(:relative_url_root).and_return "/prefix"
         TinyMCE::Rails::Engine.default_base.should eq "/prefix/assets/tinymce"
       end
+      
+      it "includes the asset host if provided" do
+        Rails.application.config.action_controller.stub(:asset_host).and_return "http://assets.example.com"
+        TinyMCE::Rails::Engine.default_base.should eq "http://assets.example.com/assets/tinymce"
+      end
     end
   end
 end
Include asset host in default TinyMCE base