This is a migrated thread and some comments may be shown as answers.

Text format in content area of Radeditor

4 Answers 92 Views
Editor
This is a migrated thread and some comments may be shown as answers.
monika
Top achievements
Rank 1
monika asked on 13 Nov 2008, 09:45 AM
Hi,

I´m using RadEditor control and I need to specify that when an user introduces some text in the content area, for default align the text to the left side for example.

Thanks for the help.

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Nov 2008, 06:52 PM
Hi Monika,

Please, review the following help article on the subject: Setting Content Area Defaults.

In the body class you should set text-align: left; and this setting will set the alignment of the content area to left.

body
{
color: white;
background-color: black;
padding:3px;
background-image: none;
margin: 0px;
text-align: left;
}


Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
monika
Top achievements
Rank 1
answered on 14 Nov 2008, 07:47 AM
Many thanks by the help.
0
Saeid Kdaimati
Top achievements
Rank 2
answered on 28 Jul 2011, 12:33 PM
Hi,

I follow the instruction in the article, but still not working out for me. I need to set the default font family, I'm using this block:
body
{
    padding: 26px;
    font-family: 'Tahoma !important';
    font-size: 14px !important;
}

The editor pick up all classes in the css file and list them in Apply Css Class menu but not applying body format.

Any help?
0
Rumen
Telerik team
answered on 02 Aug 2011, 08:12 AM
Hi Saeid,

For your convenience I have prepared and attached a simple working project which demonstrates the requested functionality. The test is recorded in the following video: http://screencast.com/t/JYsvrlAXbWh.

Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
monika
Top achievements
Rank 1
Answers by
Rumen
Telerik team
monika
Top achievements
Rank 1
Saeid Kdaimati
Top achievements
Rank 2
Share this question
or