Re: Suggestion for new Quickform htmltextarea element AND fckeditor

From: Date: Tue, 11 Oct 2005 12:56:51 +0000
Subject: Re: Suggestion for new Quickform htmltextarea element AND fckeditor
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21363@lists.php.net to get a copy of this message
> Yeh as I was saying, it freakily seems to work, but xinha is loaded > differently, and as Gorgon suggested not worry with an element and just > add it to js in the header. I kinda like the idea of an element for > ease of implementation etc etc. Ill take a look but someone please post > source code if they are also onto it :D But then the element would not work transparently. One quickform element does not know about the other. All necessary JS code should be "rendered" with the element. You can't add JS to the header or the global Quickform JS from within an element. You would have to do that in your template or whatever you are using. But then you do not need an extra element, as you would have to do everything for yourself anyway. So you could add the necessary JS to your page header and keep your textarea element with quickform, which will be overwritten from your header JS, or am I missing a point here somewhere? Jan

« previous php.pear.general (#21363) next »