By mcsolas on
I have seen a lot of discussion about the module that installs tiny mce into drupal. Is there any way I could just add the js init sequence to all pages and create allow all textareas to have a "1 toolbar" instance of tiny install?
My goal is to have text areas which can help users:
link, create ul, ol lists, format p-h? tags, insert flash, insert latin chars ( for spanish users ), insert image, show html.
I know I can fit those tiny buttons on 1 line... that part is easy.
How do I best init this editor?
Or alternatively, is there another preferred lightweight editor that may suit my needs?
Comments
re: lightweight tinymce
have you tried the drupal tinymce module? The admin interface allows you to pick and choose which formatting buttons you want to appear on text areas. Are there other reasons you're considering a custom tinymce implementation?
Just got it working..
Just setup the default profile. Tiny showed up as requested, looks good.
Im already wondering about a how I can make tiny render in a 1 line instead of the following code. It was *very* easy to enable the functions I wanted, however, Im not sure what dictates that it writes the tiny init script like this:
theme_advanced_buttons1 : "bold,italic,underline,bullist,numlist,link",
theme_advanced_buttons2 : "image,forecolor,sup,code,hr,removeformat,charmap,flash",
I would prefer to output:
theme_advanced_buttons1 : "bold,italic,underline,bullist,numlist,link,image,forecolor,sup,code,hr,removeformat,charmap,flash",
theme_advanced_buttons2 : "",
----------------------------
www.pacificallsurf.com