|
|
|
Forum Member
      
Group: Customers
Last Login: 11/08/2008 23:29:52
Posts: 47,
Visits: 245
|
|
for those of you who want to get the existing IFCode font and size menus working (without going to FCKEditor):
The solution is to update the code for these boxes in RichTextBox.vb
for instance, in Public Function InsertFontDropDownList()
Where it says
onchange=""if_InsertIFCode('[font=' + this[this.selectedIndex].value + ']'
substitute
onchange=""if_InsertIFCode('[font="' + this[this.selectedIndex].value + '"]'
adding the quotes, as htmlencode, will cause the quotes to appear in the editor box, thus causing the regex replace to work.
D'oh!
Charles
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 11/08/2008 23:29:52
Posts: 47,
Visits: 245
|
|
In the javascript used for down level browsers section Public Function RegisterClientScript(), for the link, font color, and highlight items, add the quotes using "" (not " )
People have been screaming about this for years, once I actually worked on it it took me an hour to figure out.
Ryan, you really could have done this for us...Sheesh.
Charles
|
|
|
|