[geeklog-users] HTML Area

TechFan lists.sf.net at ourholm.net
Sat Feb 21 22:39:20 EST 2004


Nevermind.  I found it editor.js in the htmlarea directory. . .where I 
can change the defaults for the main editor.

TechFan wrote:

> Ok.  I saw that. . .but do I then have to put the entire config. . .or 
> can I just add strikethrough to the default without specifying them 
> all by just specifying that one in the config?  I was thinking that 
> the admin interface (nothing in the config) would have all the options 
> by default. . .
>
> - Ed - wrote:
>
>> Check this forum thread (towards end of postings) for a nice 
>> explanation of
>> how to mod your config.php file to accept many more settings for 
>> HTMLArea to
>> work properly.  As it is in default settings, none of the formatting in
>> HTMLArea currently 'stick' when you edit a story. After applying 
>> changes,
>> they do.
>>
>> Your 'strike' option could be added in here.
>> http://www.geeklog.net/forum/viewtopic.php?forum=8&showtopic=2454
>>
>> And in each config.toolbar where the toolbar shows up.
>> From the install instructions (for HTMLArea):
>>
>> How can I change what controls are displayed on the toolbar?
>> You can add a config.toolbar config setting to control exactly what's 
>> shown
>> on the toolbar. Here's an example.
>> config.toolbar = [
>>  ['fontname'],
>>  ['fontsize'],
>>  ['fontstyle'],
>>  ['linebreak'],
>>  ['bold','italic','underline','separator'],
>>  ['strikethrough','subscript','superscript','separator'],
>>  ['justifyleft','justifycenter','justifyright','separator'],
>>  ['OrderedList','UnOrderedList','Outdent','Indent','separator'],
>>  ['forecolor','backcolor','separator'],
>> //['custom1','custom2','custom3','separator'],
>>  ['HorizontalRule','Createlink','InsertImage','htmlmode','separator'],
>>  ['about','help']
>> ];
>>
>>
>> : You may want to check if strikethrough is allowed in the allowed html
>> : for either users or admins.  It's in config.php again under
>> : $_CONF['user_html'] and $_CONF['admin_html'].  You will need to add a
>> : line like this
>> : 'strike'   => array(),
>> :  : in one of those settings.
>>
>> : >Any idea why strikethrough doesn't show up in htmlarea boxes?
>>
>>
>>
>> _______________________________________________
>> geeklog-users mailing list
>> geeklog-users at lists.geeklog.net
>> http://lists.geeklog.net/listinfo/geeklog-users
>>  
>>
>
> _______________________________________________
> geeklog-users mailing list
> geeklog-users at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-users





More information about the geeklog-users mailing list