The Rich Text Format (often abbreviated RTF) is a proprietary document file format with published specification developed by Microsoft Corporation since 1987 for Microsoft products and for cross-platform document interchange.

learn more… | top users | synonyms

2
votes
2answers
2k views

Sending richText format in email (currently using SPUtility.sendemail)

I have a list field that contains hyperlinks and richtextformat. To send the email I am using: Spweb web = spcontext.current.web; StringDictionary headers = new StringDictionary(); ...
2
votes
1answer
445 views

Remove languages from spell checker

What is the best way to hide or remove languages from the spell checker? I want to reduce the available languages down to only three entries.
1
vote
5answers
943 views

Enhanced rich text and Web Parts

In SharePoint 2010, when using SharePoint list and column type "multiple line of text" with Enhanced Rich Text option (which allows inserting images, html code etc.), how can I enable to allow ...
0
votes
1answer
740 views

Extra divs appearing in rich text editor

We're using the HTML Styles menu to give our content editors predefined headers to use when creating pages. In order to allow them to remove formatting they have added, I've created a paragraph ...
1
vote
0answers
93 views

Rich Text Comparison in Sharepoint List 2010

I want to compare two rich text fields in sharepoint list form. And also highlight the difference between the textfields data. Is it possible to do this with Sharepoint Designer 2010 itself? or else ...
0
votes
2answers
584 views

Workflow to copy data from a Rich Text Field to a Text Field (Multi-line)

I tried using a workflow that will copy data from a rich text field to a text field (with multi-line enabled) in a online-based infopath form but without success. Are there other ways to do that?
4
votes
1answer
575 views

Return a rich text managed property in search results

I am working with a custom list in Sharepoint 2010. The list has nine custom columns, some of which are rich text. I've mapped these custom columns to managed properties so that I can return them ...
1
vote
1answer
196 views

Inserting ordered or unordered lists in custom rich text editor breaks the dom

I have a div that is part of a custom web part. Once a user clicks an edit-button I want the div to turn into a rich text field to allow the user to edit the contents as they would edit any rich text ...
1
vote
1answer
851 views

What happened to multiple lines of text text format and append changes only settings?

I have created a document library. Next, I wanted to add a Multiple lines of text field and have Append changes only option selected. But, to my surprise, once I choose the field type, I was not ...
1
vote
1answer
4k views

Why aren't the editing tools available when I am editing a “Multiple lines of text” field allowing rich text?

I have a site column set as "Multiple lines of text" and, under "Specify the type of text to allow:", "Enhanced rich text" is selected. When In the "Edit Properties" dialog, placing my cursor in the ...
3
votes
1answer
424 views

Change default font in rich text field

Using Sharepoint 2010 Foundation I got a list with a field that is Multiple lines of text/Enhanced rich text. I want to change the default font and font-size for this field (and other rich text ...
0
votes
2answers
1k views

How to add programatically a RichtText field to a contenttype

THe following code throws me an exception, System.ArgumentNullException: Key cannot be null. Parameter name: key at System.Collections.Hashtable.get_Item(Object key) at ...
2
votes
2answers
903 views

Created a custom image uploader for the Rich Text Editor, but how do I insert the image?

Some background: I have created a custom image uploader for my rich text editor. I feel like I have taken the functionality most of the way, currently it can: Upload the image to another server ...
1
vote
1answer
424 views

Trying to make certain text colored in sharepoint column

I'm using Sharepoint 2007 and Infopath. I've created a Document Library and populate the library using Infopath. the Library is used as a log.. users enter log entries using an infopath form which ...
1
vote
2answers
939 views

Remove all span tags from SharePoint 2010 Rich Text Editor (RTE)

I have users copying and pasting content from a webpage into a SharePoint 2010 RTE. Unbeknownst to them, they are also copying styles that the RTE converts to span tags. Upon paste, I'd like to ...
1
vote
1answer
4k views

How to edit HTML of a rich text field with an InfoPath edit form?

When a list has it's edit form/s managed by InfoPath, all ability to edit the HTML of enhanced rich text fields is lost. The feature explained at How do I edit the HTML source of a rich text column? ...
0
votes
1answer
349 views

What do you call the menu that pop up after clicking the infopath rich text field & how to change the position?

In a web based infopath form for SharePoint (2007), whenever you click on a rich text field box, a menu will pop up showing a few icons that can help you to format the formatting of the text in your ...
3
votes
1answer
276 views

How to migrate c# application to Web Control to use in SharePoint application

I have created C# application which use Microsoft.SharePoint Namespace. That Application let the user to select the wiki page and available anchors inside that wiki page. Now I migrated that C# ...
0
votes
1answer
504 views

Rich text - add additional insert types to ribbon

We have a requirement to insert new types of custom objects (for the sake of discussion, let's say a video) into the rich text area: How do we customize this part of the ribbon for the Rich Text ...
1
vote
1answer
235 views

Is there a way to wrap text editor content with html tags?

I'm trying to implement syntax highlighter in SharePoint and have it working, but want to be able to use it in a list using a multi-text field. I would like to wrap the text that I paste into the ...
4
votes
1answer
2k views

SharePoint RTE: How to attach to mousedown events (like bold, italic does)

When clicking on bold text in the RTE (rich text editor), magically the ribbon button for bold: get's activated. The same happens for the other format option buttons you can see on the screenshot. I ...
2
votes
2answers
3k views

Text in Datasheet view defaults to black highlighting (can datasheet view be configured at all?)

I'm not overly experienced with Sharepoint, but usually my Google-fu is pretty good...until now. Office 2007, SP 2007, Win7/Vista environment, I am a subsite administrator. When viewing a ...
2
votes
2answers
874 views

Customize rich editor to allow <pre> tags?

In a WIKI site, I'd like to allow users to input <pre> tags. My goal is to use a syntax highlighter to build a small KB for he IT team. How can I setup the rich editor to easily produces ...
3
votes
3answers
5k views

Rich Text fields in New Item Dialog - IE9

I had an issue with a number of things due to upgrading my web application's master page to utilize IE9 for HTML 5 and CSS 3 goodies. The problem is this breaks a LOT of things in SharePoint 2010. ...
2
votes
2answers
6k views

Change default font-size in Content Editor

I need to change the default font-size in Sharepoint 2010 Content Editor. I've tried to set .ms-rte-wpbox {...} CSS property as suggested somewhere on web but it didn't work. Any help would be ...
-1
votes
3answers
273 views

get first 50 characters from richtextboxA to richtextboxB or textbox using visual webpart sharepoint 2010

I want to copy only first 5o characters from the richtextboxA to either a textbox or richtextboxB.... in a visual webpart ..the richtextboxA can have images,tables formating,html, blank spaces.. if it ...
0
votes
1answer
552 views

RichText Box in sharepoint 2010 visual webpart

I have a rich text box in share point 2010 visual web part...i want to get only first 2 lines of the rich text box..any suggestions? i tried getting the line by using cRichtextbox.Lines but it throws ...
3
votes
3answers
900 views

Unneeded DIVs added to content

Why does SharePoint add the following to text entered into rich text fields of list items? <div class="ExternalClass85AC900AB26A481DBDC8ADAE7A02F039"><p>....</p></div> We've ...
2
votes
2answers
901 views

Rich Text Box in sharepoint 2010

I have a custom web part which is has a rich text box. When I add any text, tables, images, etc, they get saved in the list column with the data type rich text box. So when we have couple of ...
3
votes
0answers
238 views

Alternative to hook into RTE javascript [closed]

I'm looking to add some logic when a HTML element (input, button, .. but no regular text) is clicked inside the RTE control on a publishing page. One of the solutions I've been thinking about is ...
0
votes
3answers
5k views

rich text to plain text

List consists from Title (Single line of text) and Content (Multiple lines of text - Enhanced rich text) columns. I need to get snippet from Content column(~125 first symbols). I've found that text ...
0
votes
1answer
256 views

Count Words For the SharePoint List Item

I need to count the words of SharePoint List Item. I have used code, but it shows me only 0 words though I type several words. When I used an alert for holdtextvalue it shows me blank value. Can ...
0
votes
1answer
435 views

Reusable content across site collection for rich text editor

Is it possible to have access to the root site collection's Reusable Content list in all its web sites? If not, how do you add the list to a web site? I'm trying to put some common UI elements in this ...
3
votes
1answer
3k views

Can you have lookup column to rich text field

Can a SharePoint 2010 lookup column point to a multi-line rich text field in another list? From what I'm reading, it can only see single-line text fields in the other list, which limits its use in our ...
2
votes
1answer
271 views

Customizing SharePoint 2010 MS RTE

I found this blog -- customizing rich text editor, but what I don't understand is the part where the author writes Set the PrefixStyleSheet-Property of the RichHtmlField. The classname has to be ...
4
votes
1answer
1k views

How to add rich text content programmatically using Managed Client Object Model?

I am building a Silverlight application that interacts with SharePoint through Managed Client Object Model. One of the functionalities of the app is to update a list item field with rich text content. ...
1
vote
1answer
223 views

Can I promote a column from plain text to rich text?

If I have an existing list with a multiple-lines-of-text column, with data, can I promote that column to be rich text? I had a look in powershell and see that there's a richtext = false flag but it ...
3
votes
1answer
3k views

New Line Character in Rich Text Box with InfoPath 2010

I have a rich text box in an InfoPath 2010 form (will be used in the browser) that I want to have some default text similar to: Text A: Text B: Tried a few methods around use an XML resource file ...
3
votes
2answers
4k views

How to insert javascript HTML code into Multi line Sharepoint 2007 text field

I have a Javascript variable that contain HTML code as follows: <DIV>Hello World<BR>Welcome to SharePoint Stack Exchange</DIV> So, how do I insert it into the SharePoint 2007 ...
0
votes
2answers
493 views

Upload Image in CEWP without Rad Editor (WSS 3.0)

I have a Project Web Access (WSS 3.0) site collection where I can't use the Telerik Rad Editor as a rich text editor (long story). My problem is that my users are accustomed to the Rad Editor's image ...
5
votes
2answers
877 views

How do I stop an InputFormTextBox from becoming read only when using an UpdatePanel?

I'm using update panels within a SharePoint 2010 form - I know update panels aren't the best thing to be using in the first place, but time is a issue on our project - and after a user triggers a ...
3
votes
1answer
147 views

How can I hide inline editing controls for a given security group?

Does anybody know of a way of hiding the 'Edit' and 'Delete' controls provided within inline editing to people within the Viewers group?
1
vote
2answers
119 views

Exposing contents of multi-rich column in a custom webpart

Scenario : Sharepoint 2010 foundation site with a custom ASPX page. The custom ASPX page has a webpart wherein I read the contents of a multi-richtext field from a list. I want to know within the ...
1
vote
1answer
901 views

How do I edit the HTML source of a rich text column?

I have a list with some text columns as Rich Text. I need to edit the HTML behind the scenes. Is there a way to do it?
2
votes
1answer
827 views

SPListItem removing HTML attributes?

I want to add this to an SPListItem HTML field (Multiline text) <a href="#" onclick="OpenDispPage('Table 1.1', 'table');" >Text</a> and this is what SharePoint makes out of it when I ...
3
votes
1answer
6k views

How can I have a Rich text box in a custom webpart?

In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. ...
2
votes
3answers
466 views

Modify RichHtmlField in SP2010 Master Page?

I'd like to modify the RichHtmlField to disable the color controls in SharePoint 2010. I tried adding this to my master page: <PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" ...
1
vote
1answer
628 views

Changing page layout across site collections?

I'm trying to customize the OOTB Markup Styles in the Ribbon in SP2010 for the Rich Text Editor. I've found some documentation about the process, and one of the first steps is to add a ...
2
votes
2answers
576 views

Disabling/bypassing Rich Text Editor validation

I've implemented a custom ribbon button/dialog to insert a link to a document contained in a third party DMS. The DMS client installs a protocol handler that allows the use of links such as the ...
4
votes
1answer
585 views

Customize styles in SP2010 WYSIWYG editor?

How can I customize the styles available in the WYSIWYG editor in SharePoint 2010? I'd like to replace the OOTB styles with ones that match our style guide. I found a reference online that mentions ...