Hi,
I'd like to insert my own custom font sizes into the toolbar. Is this possible?
I tried the fontSizes property but it doesn't seem to accept pixel values:
toolbarSettings: [{
name: "textToolbar", fontSizes: [{
text: "10px", value: "smaller"
}, {
text: "30px", value: "small"
}
]
}],
Regards,
Benjamin Klawitter
Hello Ben,
Thank you for contacting Infragistics!
The textToolbar font size is expecting a value between 1-7,
http://www.igniteui.com/help/ightmleditor-configuring-toolbars-and-buttons
If you want to use different values you would have to create a custom toolbar, with a custom font size dropdown:
http://www.igniteui.com/help/ightmleditor-configuring-custom-toolbars