Gossamer Forum
Home : Products : Others : Fileman :

HTML Editor Problem

Quote Reply
HTML Editor Problem
I have just installed Fileman on my cobalt Raq3 and I am quite impressed. I have had one small problem though. When I tried to edit an HTML file that had a background graphic and an onLoad command in the Body tag it stripped them out and left only the color attribute.

Should it be messing with code like that? And if so how can I set the text editor to be the default for html files.

Thanks,

Master K
Quote Reply
Re: [MasterK] HTML Editor Problem In reply to
Hi,

Make sure the background must be the URL (http://yourdomain.com/images/background.gif).
If you want to set the text editor to be the default for html files then get rid of the command at line 1257 within Commands.pm, so your script should be:
....
if ($browser and (($ext eq 'html') or ($ext eq 'htm')) and !defined $use_html) { #should show HTML mode
$content =~ s/<form/<FORM style="border: 1px dotted red; padding: 2px"/gi;
}
...

TheStone.

B.

Last edited by:

TheStone: Feb 25, 2002, 11:26 AM
Quote Reply
Re: [TheStone] HTML Editor Problem In reply to
Great tip on changing the default editor, I've been searching for a way to do this for some time.
Melissa Austernin
QConnect Internet Services
www.qconnect.net.au
Ph 1300 135 782
International +61 7 5465 6983

Internet Access Anywhere in Queensland!
Dial-up, Broadband, Web Hosting, Domain Registration

Last edited by:

qconnect: Sep 26, 2003, 4:23 PM
Quote Reply
Re: [qconnect] HTML Editor Problem In reply to
You can set it off at Prefs - Editor Mode if you use the version 2.0.3 of fileman.

TheStone.

B.