IE8, return generates 2 lines. This wasn't a problem with 2009.3.1102.35. I needed the newer version of the DLL to fix the problem with the Combobox issue.
What version of DLL is this running?
http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx
Shift-Enter generates 1 line. If I use the margin:0px below, on the screen it's fine, but it still retained <p> in the code, which in my HTML email it displays with additional lines. NewLineBr=true/false doesn't make a difference.
Removing OnClientLoadRadEditor() doesn't make a difference.
P
{
margin:0px;
}
What version of DLL is this running?
http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx
Shift-Enter generates 1 line. If I use the margin:0px below, on the screen it's fine, but it still retained <p> in the code, which in my HTML email it displays with additional lines. NewLineBr=true/false doesn't make a difference.
Removing OnClientLoadRadEditor() doesn't make a difference.
P
{
margin:0px;
}
<telerik:RadEditor ID="txtNewComment" OnClientLoad="OnClientLoadRadEditor" runat="server" AutoResizeHeight="True" Skin="Office2007" |
BorderStyle="None" BorderWidth="0px" ToolsWidth="345px" ToolbarMode="ShowOnFocus" |
EditModes="Design" ToolsFile="BasicTools.xml" Width="720px" Height="50px" > |
<Content> |
</Content> |
</telerik:RadEditor> |
function OnClientLoadRadEditor(editor, args) |
{ |
var style = editor.get_contentArea().style; |
style.fontFamily= 'Arial'; |
style.fontSize= 12 + 'px'; |
var tool = editor.getToolByName("FontName"); |
if (tool) |
{ |
tool.set_value("Arial"); |
} |
var tool2 = editor.getToolByName("RealFontSize"); |
if (tool2) |
{ |
tool2.set_value("10px"); |
} |
editor.removeShortCut("InsertTab"); |
} |