You are not logged in.

#1 2005-09-27 17:52:17

markrenn
Member
Registered: 2005-09-26
Posts: 2

TinyMCE / script.aculo.us conflict

whenever i have both scripts in a single page, i get this error

tinyMCE.baseURL has no properties

...tiny_mce_src.js Line: 74

any idea where the conflict is?
link: http://script.aculo.us/


thanks
mark

Last edited by markrenn (2005-09-27 17:56:58)

Offline

 

#2 2005-09-27 18:31:32

Afraithe
Administrator
From: Skellefteå, Sweden
Registered: 2005-01-03
Posts: 1976
Website

Re: TinyMCE / script.aculo.us conflict

The conflict is probably cause other scripts patches internal Javascript functions, someone really needs to get fired for that, or better yet, hanged.


Afraithe
TinyMCE Developer
Moxiecode Systems

Offline

 

#3 2005-09-27 18:34:44

markrenn
Member
Registered: 2005-09-26
Posts: 2

Re: TinyMCE / script.aculo.us conflict

could you please explain further

Offline

 

#4 2005-09-27 18:55:31

Afraithe
Administrator
From: Skellefteå, Sweden
Registered: 2005-01-03
Posts: 1976
Website

Re: TinyMCE / script.aculo.us conflict

It basicly comes down to:

If someone modified the Object.prototype the for in loop would include any fields you’ve added.

http://erik.eae.net/archives/2005/06/06/22.13.54/


Afraithe
TinyMCE Developer
Moxiecode Systems

Offline

 

#5 2005-12-15 15:59:32

RyanG
Member
Registered: 2005-12-15
Posts: 1

Re: TinyMCE / script.aculo.us conflict

Just for completeness, there is a workaround I found here:

http://wiki.script.aculo.us/scriptaculous/show/TinyMCE

Best,

Ryan

Offline

 

#6 2006-07-04 06:36:15

CђrΐsτσρhΞr ScЋδlτξη
Member
From: Hong Kong
Registered: 2006-04-25
Posts: 10
Website

Re: TinyMCE / script.aculo.us conflict

I had the same problem "tinyMCE.baseURL has no properties". It was due to a case sensitivity issue in my referencing of the tiny_mce_src.js file. (I typed tiny_mce_SRC.js instead - note the caps of "SRC").

Basically, in the TinyMCE_Engine.class.js file, which, with JSTrim, is aggregated into the massive tiny_mce_src.js file, there is a line of code which gets all elements in the html file in which TinyMCE is used with the name "<SCRIPT>", and searches for a reference to one of the following files:
* tiny_mce.js
* tiny_mce_dev.js
* tiny_mce_src.js
* tiny_mce_gzip

Make sure the case you use is correct! :-~

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB