Maybe you can help...
I am using the RadEditor and want to be able to center just one line of text and not the entire content of the editor. Thus, I followed the steps outlined in other forum threads and tutorials.
When I actually have <p> tags surrounding each line of text, setting the margins of the tags as a css class works great. The problem is that the property NewLineBr="false" doesn't seem to be working in my editor (or I am misunderstanding its functionality?).
I'm using IE7, and currently am under the understanding that when NewLineBr is set to false then when I hit ENTER in my RadEditor, I should get <p> tags and not a <br> tag. However, I'm still just getting <br> tags each time. Here's my editor code:
| <telerik:RadEditor ID="RadEditor" runat="server" Height="500px" Width="750px" ContentFilters="None" Skin="Vista" NewLineBr="false"> |
| <Content> |
| </Content> |
| <Tools> |
| <telerik:EditorToolGroup> |
| <telerik:EditorTool Name="Bold" /> |
| <telerik:EditorTool Name="Underline" /> |
| <telerik:EditorTool Name="Italic" /> |
| <telerik:EditorTool Name="StrikeThrough" /> |
| <telerik:EditorTool Name="Indent" /> |
| <telerik:EditorTool Name="Outdent" /> |
| <telerik:EditorTool Name="JustifyCenter" /> |
| <telerik:EditorTool Name="JustifyLeft" /> |
| <telerik:EditorTool Name="JustifyFull" /> |
| <telerik:EditorTool Name="JustifyRight" /> |
| <telerik:EditorTool Name="JustifyNone" /> |
| <telerik:EditorTool Name="FontName" /> |
| <telerik:EditorTool Name="RealFontSize" /> |
| <telerik:EditorTool Name="ForeColor" /> |
| </telerik:EditorToolGroup> |
| </Tools> |
| <CssFiles> |
| <telerik:EditorCssFile Value="~/EditorContentArea.css" /> |
| </CssFiles> |
| </telerik:RadEditor> |
Thanks for your help!
Michael
