This question is locked. New answers and comments are not allowed.
Kunal Mittal
Top achievements
Rank 1
Kunal Mittal
asked on 29 Mar 2010, 09:05 AM
Hi,
I tried changing the 'ConfigFile.xml' and 'ListConfigFile.xml' by adding the 'StripFormattingOnPaste' property to 'AllExceptNewLines', then did a iisreset and tested the list for Copy and Paste of text. the Formatting was not removed.
More information on the thread :
http://www.telerik.com/community/forums/aspnet-ajax/editor/set-the-stripformattingonpaste-to-allexceptnewlines.aspx
Kindly provide your inputs.
Regards,
Kunal Mittal
I tried changing the 'ConfigFile.xml' and 'ListConfigFile.xml' by adding the 'StripFormattingOnPaste' property to 'AllExceptNewLines', then did a iisreset and tested the list for Copy and Paste of text. the Formatting was not removed.
More information on the thread :
http://www.telerik.com/community/forums/aspnet-ajax/editor/set-the-stripformattingonpaste-to-allexceptnewlines.aspx
Kindly provide your inputs.
Regards,
Kunal Mittal
7 Answers, 1 is accepted
0
Hello Kunal,
The correct name of the property is StripFormattingOptions:
<property name="StripFormattingOptions">MSWordRemoveAll</property>
The StripFormattingOnPaste property was available in the classic RadEditor but it has been deprecated in the ASP.NET AJAX version and will not be read from the configuration file.
Sincerely yours,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The correct name of the property is StripFormattingOptions:
<property name="StripFormattingOptions">MSWordRemoveAll</property>
The StripFormattingOnPaste property was available in the classic RadEditor but it has been deprecated in the ASP.NET AJAX version and will not be read from the configuration file.
Sincerely yours,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kunal Mittal
Top achievements
Rank 1
answered on 30 Mar 2010, 07:18 AM
Hi,
I need to set the default font and size as well. what properties sjould i be using in that case.
Default Arial and Size 1 (through the configuration file)
regards,
Kunal Mittal
I need to set the default font and size as well. what properties sjould i be using in that case.
Default Arial and Size 1 (through the configuration file)
regards,
Kunal Mittal
0
Hi Kunal,
You can set the default font size by modifying the css of the RadEditor's content area. Review the following online help article Defining custom CSS styles.
Regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can set the default font size by modifying the css of the RadEditor's content area. Review the following online help article Defining custom CSS styles.
Regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kunal Mittal
Top achievements
Rank 1
answered on 30 Mar 2010, 09:20 AM
Hi,
After reading the documentation, i am more confused.
What i need is simply have the default Font and Font size set to Arial and 1. Can't i do it from ListConfigFile.xml as a property
<property name="Font">Arial</property>
or something like that and not create a new css file that has all the fonts/css etc..
Please provide a sample to implement the required functionality in Sharepoint for a List item.
Regards,
Kunal Mittal
After reading the documentation, i am more confused.
What i need is simply have the default Font and Font size set to Arial and 1. Can't i do it from ListConfigFile.xml as a property
<property name="Font">Arial</property>
or something like that and not create a new css file that has all the fonts/css etc..
Please provide a sample to implement the required functionality in Sharepoint for a List item.
Regards,
Kunal Mittal
0
Hello Kunal,
What you need to do is create an CssEditor.css file. Place it in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Then add the following style in it.
Also review the following online help article: http://www.telerik.com/help/aspnet-ajax/fonts.html
Greetings,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
What you need to do is create an CssEditor.css file. Place it in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Then add the following style in it.
body { font-family: Arial;}Also review the following online help article: http://www.telerik.com/help/aspnet-ajax/fonts.html
Greetings,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kunal Mittal
Top achievements
Rank 1
answered on 30 Mar 2010, 12:49 PM
Hi,
That was grt. I was able to set the font to Arial with that litttle change.
1.) How can i set the Font - Size . I need it to be of Size 1.
2.) I simply created a css file 'CssEditor.css' and placed it at the 'C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.4.0.0__1f131a624888eeed\Resources' and it worked.
I want to know that will it remove any other default css styling or some other impact on the applciation? (From the css style stand point)
Attached : THE CSS FILE
Regards,
Kunal Mittal
That was grt. I was able to set the font to Arial with that litttle change.
1.) How can i set the Font - Size . I need it to be of Size 1.
2.) I simply created a css file 'CssEditor.css' and placed it at the 'C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.4.0.0__1f131a624888eeed\Resources' and it worked.
I want to know that will it remove any other default css styling or some other impact on the applciation? (From the css style stand point)
Attached : THE CSS FILE
Regards,
Kunal Mittal
0
Hello Kunal,
You can find information on CssEditor.css file in the following online help article:
Defining custom CSS styles.
The following online help articles regard font size:
http://www.telerik.com/help/aspnet-ajax/font_sizes.html
http://www.telerik.com/help/aspnet-ajax/real_font_sizes.html
Kind regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can find information on CssEditor.css file in the following online help article:
Defining custom CSS styles.
The following online help articles regard font size:
http://www.telerik.com/help/aspnet-ajax/font_sizes.html
http://www.telerik.com/help/aspnet-ajax/real_font_sizes.html
Kind regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.