HTML menu and Format Text
Emmanuel. M. Decarie
emm at scriptdigital.com
Mon Nov 5 09:08:53 PST 2001
Hello,
It seems that there is no user pref to set HTML->Format Text to
permanently not format text when opening an outline with html code in
it.
So, if this feature is driving you crazy, and you always want to see
your html code without WYSIWYG, just put this script at :
user.callbacks.openWindow.formatOutline
on formatOutline(w) {
if (typeOf(w^) == outlineType) {
local(ot = target.get());
target.set(w);
op.setHtmlFormatting (false);
target.set(ot)}}
You will be able to toggle between formatted and non formatted text,
but every outlines with html code in it will open without formatting.
Cheers
-Emmanuel
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel Décarie - Consultant
Programmation pour le Web - Programming for the Web
UserLand Frontier - Perl - JavaScript - AppleScript - HTML - XML
http://www.scriptdigital.com
---> The Frontier Newbie Toolbox:
<http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html>
More information about the Frontier-Users
mailing list