We have the RadEditor currently using ContentAreaMode= iFrame and when the control is rendered it extends the bottom of the control beyond the Design/HTML buttons (shown in iframe.png).
I changed the ContentAreaMode to Div and that problem is resolved (shown in div.png) but now the control seems to ignore the EditorCssFile we load.
You can see that the font size has changed in the div.png file.
The .css file is not doing anything very special, I've pasted a sample below. I can set the font-size, font-family, etc. on the control but that will break our model and I don't see any reason why using Div would cause the font-family and font-size to stop working.
The .css file is loaded with this line of code where "radEditorCSS" is the specific .css file:
I changed the ContentAreaMode to Div and that problem is resolved (shown in div.png) but now the control seems to ignore the EditorCssFile we load.
You can see that the font size has changed in the div.png file.
The .css file is not doing anything very special, I've pasted a sample below. I can set the font-size, font-family, etc. on the control but that will break our model and I don't see any reason why using Div would cause the font-family and font-size to stop working.
The .css file is loaded with this line of code where "radEditorCSS" is the specific .css file:
radNotes.CssFiles.Add(
new
EditorCssFile(
"~/Styles/"
+ radEditorCSS));
p
{
margin: 0px;
}
P
{
margin: 0px;
}
body
{
font-family: Courier New !important;
font-size: 10pt !important;
}