[drupal-devel] Textarea editor hooks
gabor at hojtsy.hu
Mon Jan 17 17:46:27 UTC 2005
>>should not be used in XHTML, it is actually not possible to
>>document.write() anything into a real XHTML document! If the answer is
>>no, and you use DOM, then it does not matter, where is that hook...
> I use
> $output = form_something() etc.
> who needs the info /before/ the title? No-one, i guess. So why not move
> it /after/ ?
ta = document.getElementById('edit-body');
toolbar = document.createElement('div');
What is the purpose? You are about to add quicktags editors above all
textareas, right? Are you about to add the HTML tags for those toolbars
above all textareas literally into the HTML code, to avoid 'bloated HUGE
code, you still need to move and/or copy around as needed with
instance, then the createElement will be replaced with getElementById,
More information about the drupal-devel