2011-01-03 13 views

Antwort

-1

Es scheint, dass sie aussetzen nicht viel von dieser Funktionalität in der Richtexteditor-API, aber ich glaube, es, indem Sie folgendes erreicht werden:

RichTextEditor rte = new RichTextEditor(); 
// remove the font controls 
rte.setControlGroups("formatControls", "styleControls", "colorControls"); 
// set the base font for the editor, could also be done with a <span> tag 
rte.setValue("<font face="Bookman Old Style, Book Antiqua, Garamond"></font>"); 
+0

Ive es versucht, aber leider funktioniert es nicht . –

+1

Ich bin sicher, dass sich die API geändert hat. Die Antwort ist fast 5 Jahre alt. Leider habe ich schon lange nicht mehr mit GWT oder smartGWT gearbeitet, so dass ich nicht weiß, wie ich updaten soll. – LINEMAN78

Verwandte Themen