I am editing a text with only 7-8 words... I’ve used Italic, Bold and Fore-Colors so far.
Once I select a text and click on the FONT dropdown to change the FONT TYPE every style specified before gets RESET... No more bold, italic, no colors, everything is gone...... why?
The same goes for the SIZE dropdown....... everything gets reset... why?
Do I need to specify a CSS file for the functionality of the dropdowns, or those controls works within the values that are in the html code?
Below is how I specified the content dynamically on the FONT dropdown (for the SIZE dropdown, something similar).
CuteEditor.RichDropDownList dropdown = (toolctrl.Control as CuteEditor.RichDropDownList);
if (dropdown != null)
{
dropdown.Items.Clear();
dropdown.Items.Add("<font size=3 face='Arial'>Arial</font>", "Arial", "Arial");
dropdown.Items.Add("<font size=3 face='Verdana'>Verdana</font>", "Verdana", "Verdana");
dropdown.Items.Add("<font size=3 face='Comic Sans MS'>Comic Sans MS</font>", "Comic Sans MS", "Comic Sans MS");
dropdown.Items.Add("<font size=3 face='Courier'>Courier</font>", "Courier", "Courier");
dropdown.Items.Add("<font size=3 face='Georgia'>Georgia</font>", "Georgia", "Georgia");
dropdown.Items.Add("<font size=3 face='Tahoma'>Verdana</font>", "Tahoma", "Tahoma");
}