开发者

TinyMCE Jquery - No default buttons, themes, how do i specify default paths?

This is driving me nuts!@#!@# I can load the tinyMce plugin for jquery just fine....but it looks for its own images/themes relative to the CURRENT URL.

ex.

tinymce tries to load http:/mysite/mycurrenturl/tiny_mce/whateverM

when tinymce is located in http:/mysite/js/tiny_mce

so for some reason i can not seem to find any documentation to specify a default path so tinyMce knows where it supposed to look!

Thanks if anyone开发者_如何学C knows.


I think (its been a while since I've used tinyMCE) that its designed to be deployed in one location, so the location for themes is always assumed to be inside the tiny_mce directory. The documentation on themes seems to back this theory up.


ok i am a moron

i am using cake php and i was loading the tinymce from the "Vendors" path. Ckaephp will rewrite the urls and it just gets screwy. I put it in my webroot/js/ and it worked out fine. Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜