PD Editor font size 1 doesn't work Support
function doFormat(what) {
var eb = document.all.editbar;
if(what == "FontName"){
if(arguments[1] != 1){
eb._editor.execCommand(what, arguments[1]);
document.all.font.selectedIndex = 0;
}
} else if(what == "FontSize"){
//here
if(arguments[1] != 1){ <--- see this bit should be 0 e.g. if(arguments[1]!=0)
eb._editor.execCommand(what, arguments[1]);
document.all.size.selectedIndex = 0;
}
} else {
eb._editor.execCommand(what, arguments[1]);
}
}
Also to create a hyperlink you must make sure that the text you want to turn into a hyperlink is SELECTED BEFORE you click the add button to make a hyperlink.
The PD editor uses the DHTML model to do a lot of stuff, if you are interested in adding new features a good place to start would be here:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtmlrefs.asp
When I get time I am planning to customize the pd editor to allow image insertion and automatic image uploading, and maybe a few other things, be interested to find out if people think this is worthwhile doing??
Comments
Another projects to be aware of...
Public Domain are close to completion on something far more complete than the PD HTML Editor. It is also very likely that some items within the original PD HTML Editor will also be updated.
I should point out that the PD HTML Editor is Copywritten code, and whilst it is completely satisfactory to make amendmends to this code, you would in fact be in breach of Copyright if you were to distribute that code without prior permission from Public Domain.
Public Domain are amongst the elite of the Extension Development Community, and it must be said that UDZone will not condone any violation of the terms of copyright.
Please remember that whilst you do have the source code in the extension, the code is NOT necessarily available for you to modify and distribute at will.
RE: Another projects to be aware of...
RE: Another projects to be aware of...
Absolutely fair enough Bill :-)
For a sneak peak of the latest offering go to www.xpad.co.uk (note, this site only works in IE5.5)
RE: RE: Another projects to be aware of...
I think I'm gonna give up as these guys'n'gals must be living on another planet to produce this type of stuff................lol :)
Can't wait for the release of it :)
You must me logged in to write a comment.