Questions tagged [richhtmlfield]

A rich HTML field control allows authors to structure and style their content with much more flexibility than with plain text. For example, content authors can use HTML to apply different fonts, colors, bullet points, and headings.

Filter by
Sorted by
Tagged with
0 votes
2 answers
141 views

Which component do you use to render RichText field?

Which component (from which package) do you use to build rich text editor with support for table creation for your SPFx projects? So far I found "@pnp/spfx-controls-react/lib/RichText" but ...
private7's user avatar
  • 123
0 votes
0 answers
52 views

Regarding rich text column properties update using pnp js

I want to update existing rich text field to enhanced rich text field without losing data in the column using pnp js
Lahari's user avatar
  • 1
0 votes
0 answers
224 views

Set default content in PublishingWebControls:RichHtmlField

I need to add default content in the PublishingWebControls:RichHtmlField. <PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server" ID="welcomeText"> &...
Imen Turki's user avatar
  • 2,183
0 votes
1 answer
47 views

Cannot save img tag to Note filed with RichEditMode

I have custom page with MultiLine TextBox control. I linked this field with tinymce scripts for adding pictures. Then I should store field's content into Note field with RichEditMode in SP13 list. I ...
Ivan Tikhonov's user avatar
1 vote
1 answer
926 views

how to insert html table to a content control in a word template in a document library

I have a word template on a document library. It has a rich text context control. I am creating an html table and updating in the same document library 'DescriptionRichText'column. The column is an ...
Ruchi's user avatar
  • 41
0 votes
1 answer
34 views

Custom folder CT + rich HTML field , unable to add a new custom folder to the list - BUG

SharePoint Online I've created a CT based on folder and added a site column (html field) to it. Then I added the CT to a list but I'm unable to create a new custom folder in the list. In the newform ...
Plexus81's user avatar
  • 2,250
1 vote
1 answer
4k views

Zero width spaces &#8203; in rich text editor

The rich text editor fields continually add extra zero width spaces to the text we enter into multiline fields. The content is then often messed up in display because of the characters. I found this ...
Rothrock's user avatar
  • 3,010
1 vote
1 answer
1k views

Is it possible to add Rich Text to a Document Set

Is there any way to add a column that allows Rich Text to a Document Set? I tried adding a new text column that allows Rich Text to my Document Set Content Type but any html tags are still being ...
James11's user avatar
  • 473
1 vote
0 answers
53 views

Editing Tools Ribbon not showing up in Upload.aspx page - SP2013

I had created a new Site Column "Description" with the type enhanced rich text and added it to my content type 'Albums' with Folder as parent content type in a SharePoint library. The New Document ...
mallu coder's user avatar
0 votes
1 answer
103 views

Custom HTML in Sharepoint Page

I have been trying to get HTML inserted into my webpage via sharepoint, as opposed to hard coding it in the layout page (for obvious reasons..). I have tried using the Content Editor and entering ...
trevoirwilliams's user avatar
1 vote
2 answers
3k views

Add java script tag inside HTML rich text editor field in SharePoint 2013

I am trying to add some JavaScript/ Style inside HTML rich text editor field in SharePoint 2013, as we can add in the content editor but it strips all script tags. I tried embedding script inside ...
Shivendra Patel's user avatar
3 votes
1 answer
913 views

Custom styles not working

I'm trying to add some custom styles to a rich text editor on my edit form. I'm following this tutorial which says you can add css styles that start with ms-rte and they will be added to the ...
Rothrock's user avatar
  • 3,010
0 votes
1 answer
111 views

moving publishing pages from root site to subsites, all html code are displaying as plain text

We are using SP2013 on-premise. Publishing infrastructure is enabled in a site collection. Recently we need to move all pages (*.aspx files under /Pages/ library) from root site to a subsite in same ...
Mark L's user avatar
  • 4,065
5 votes
3 answers
3k views

Sharepoint 2013 HTML editor inserting &nbsp; tags on save

I've got the following code in the HTML editor. <div><img src="image.jpg"></div> When I click publish a non-breaking space is added to the markup. <div><img src="image.jpg"&...
Scott Weber's user avatar
2 votes
0 answers
2k views

Adding rich text column with formatting to library

Out of the box it seems you can't have a rich text column in a document library with SP 2013 -- I have no idea why, but it seems to be the case. We have worked around this by going into SP Designer, ...
Rothrock's user avatar
  • 3,010
1 vote
1 answer
286 views

Add content to a rich html field on a pagelayout

I have a page layout and in this page layout there is a rich html field. I am wanting this rich html field to have 2 columns whether it be done by a table or two divs within the rich html field. Is ...
jimmy2holes's user avatar
1 vote
0 answers
30 views

Rich HTML field show same content for 2 different fields

I want to use 2 richhtmlfield and 2 richImagefield in HTML in the same row in the same page layout to show 2 different images and captions. It didn't work for me. I tried to change ID but didn't work ...
Sinan Kachachi's user avatar
1 vote
1 answer
866 views

Discussion Board: HTML appearing in reply

I set up a discussion board a while ago (mid 2015) on our O365 SharePoint to test styling. I cannot see anything different to the default set up except for a custom view. But, when I reply to a post ...
Kitty Dunle's user avatar
1 vote
1 answer
945 views

Resizing the Rich Text Editor

Hopefully this is a simple question, as I'm new to Sharepoint. When I'm editing an item in a list some of the fields have a Rich Text Editor. How do I make the editor bigger, as it only shows a tiny ...
zadj's user avatar
  • 11
3 votes
1 answer
467 views

(How) can I reference a theme color in my inline CSS?

I'm planning to use the "Preview Pane" list view style to create a much easier-to-maintain version of a carousel that's currently built in code. I've created a list with just a Title column and a ...
Dan Henderson's user avatar
2 votes
1 answer
824 views

Looking for 3rd party rich html editor

We are using SharePoint 2013 on-premise. On a site collection which publishing infrastructure is enabled. Our users use the OOTB html editor to create web pages (under Pages library and with .aspx ...
Mark L's user avatar
  • 4,065
0 votes
1 answer
65 views

RichHtmlEditor html property, to create default HTML content for a template, not working in SharePoint 2010

I've been developing a custom page layout to associate with the enterprise wiki content type in SharePoint 2010. The default comes with a RichHtmlEditor Field control. These field controls have an ...
TheBigBoosh56523452435's user avatar
0 votes
2 answers
1k views

How to insert raw html in a rich text content field on a page without using edit source from ribbon

Using SharePoint 2013 on-prem. I have created a page layout with a rich html field and was wondering if it was possible to insert raw html without using edit source from ribbon. The way I have done ...
Karl's user avatar
  • 123
2 votes
1 answer
2k views

How do I created a Column of Type Publishing HTML that uses template RichHTMLField?

When I create a Site Column of Type Publishing HTML it becomes a NoteField. When I look at a system generated Site Column called Page Content, it is also of type Publishing HTMl however it gets ...
schuess's user avatar
  • 83
0 votes
1 answer
4k views

display HTML styling to a div using content templates and JS

I am busy working on creating a 'new and announcements' web part for a client using a 'News' list, a content search on a New content type, and displaying it using a display template and javascript. ...
Simon's user avatar
  • 705
1 vote
2 answers
826 views

Content in RichHtmlField not rendered as HTML

I have made a Content Type: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: Page (...
Mariusz Ignatowicz's user avatar
0 votes
2 answers
342 views

Image in sharepoint 2013 rich-text control generate js error

I have sharepoint 2013 rich text control in page-layout.After adding image in rich-text control ,I am not able to get any html object using js.I am using below line to alert div object. alert($('#...
Heena's user avatar
  • 141
1 vote
0 answers
59 views

How to add styles to RichHtmlField when master pages cannot be edited?

I have a problem. I have SharePoint Designer 2013 I want to add a style in the ribbon: Many posts suggest to edit master pages, but in my case this is not possible as my Sharepoint web site has this ...
Andry's user avatar
  • 111
0 votes
1 answer
47 views

How do you skip list numbers in a rich text editor?

Refer to the image below. How do you skip numbers in a list after an image is inserted? (The next list number should be 2, not 1).
psdpainter's user avatar
0 votes
2 answers
137 views

Restrict HTML Site Column

Is it possible to restrict a Site Column in following ways: Limit HTML to just use following tags: <p>, <a>, <ul>, <ol>, <b>, <i> (or <strong> and <em&...
superschaf's user avatar
1 vote
1 answer
140 views

Block overwrite in Site Assets Library?

I'm working on a SP2010 list where any authenticated user may submit list entries. Each list entry has a rich text column allowing uploaded images, etc. Those uploaded images get deposited into the ...
Alan M's user avatar
  • 1,338
0 votes
1 answer
50 views

Disabling the Font Family option in forms (ie a new Blog entry)

I have figured out how to disable font options when I am creating content using a page, or more importantly the PublishingWebControls:RichImageField. But when users create a new blog entry, the modal ...
mdumka's user avatar
  • 323
0 votes
1 answer
121 views

Are there any viable alternatives to the OOB RichHTMLField editor?

One of our customers is complaining about the poor quality of the built-in Rich field editor. FWIW, I'm also unimpressed by the quality of the editor, and would dearly love to have one at hand. Do ...
Josh Korn's user avatar
  • 547
11 votes
1 answer
2k views

Emailed HTML Rich Text Column Relative URLs

Does someone knows another "fix" for this? I am looking for a simple way. And how is this in sharepoint 2010? from http://rrfreeman.blogspot.com.br/2010/12/emailed-relative-html-rich-text-column.html ...
Khrys's user avatar
  • 221
0 votes
1 answer
674 views

After 2013 upgrade, PublishingPageContent returns null/empty for checked-in pages

We upgraded one of our sites to SharePoint 2013 (We used DocAve Migrator).Everything came across, but we have one strange issue: When we check-in a page, the content drops off. The page is using a ...
DaFlons's user avatar
1 vote
2 answers
598 views

Placing a rich HTML field in master page

For a client, I'm currently looking at placing a rich HTML field in the master page. This rich HTML field has to be fully configurable by the client (preferably from a web part), and should have the ...
Refalm's user avatar
  • 33
4 votes
1 answer
3k views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is html code. <%@ Register TagPrefix="Publishing" Namespace="Microsoft.SharePoint.Publishing....
vishal_the_prince's user avatar
0 votes
1 answer
561 views

RichHtmlField custom page layout initial focus

According to the following http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.webcontrols.richhtmlfield.hasinitialfocus(v=office.14).aspx the focus is set to the first ...
Shoaib Ahmed's user avatar
4 votes
1 answer
674 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio [closed]

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
zedmeister's user avatar
0 votes
1 answer
1k views

How to enable/turn on Rich Text editor in SharePoint server 2010?

By default, when I try to create custom list with column I do not get the option to set the column type as Rich Text. Neither can I see the option while I try to add an item to that list subsequently....
user7400's user avatar
  • 1,256
0 votes
2 answers
4k views

Remove Leading and Trailing Spaces from Rich Text Box using C# code

I am using a MultiLine Rich Text box in my custom list, now I want to remove leading and trailing spaces in the MultiLine Rich text box's input. I have written an List item event receiver with string....
Karthik Jaganathan's user avatar
2 votes
0 answers
180 views

SharePoint interact with Rich HTML editor using javascript

Is there any way to manipulate the editor content by using JavaScript? My ultimate goal is to allow user to click a button on ribbon bar, and JS will help to insert some predefined template html into ...
KP_HK's user avatar
  • 151
14 votes
5 answers
5k views

RichHTMLField value is not rendered in page

I have a custom page layout created, in which "PublishingWebControls:RichHtmlField" control is added with some default HTML value. When any page is created using the custom page layout created, page ...
Amit Thakkar's user avatar
2 votes
1 answer
139 views

String does not show html tags prior to output

I am taking a value from a string from a text column String str = myListItem[field name].toString() In many cases the field may contain html which I wish to remove but it is somehow not visibly ...
Sean's user avatar
  • 21
3 votes
2 answers
731 views

Add PrefixStyleSheet property to SharePoint 2010 Wiki editor?

I am looking for a way to control the rich text options availabe in the new SharePoint 2010 wiki sites - not the Enterprise Wikis, but the new wiki format that is the default team site template. On ...
jwoodruff's user avatar
  • 131
0 votes
1 answer
60 views

How would I rebuild something like ReusableContent?

What I'd love to do: In a RichHtmlField of a publishing Page click "insert" in the ribbon, then "Foo" This let's me select from a list of "Foos" and inserts something that is not "contenteditable" ...
Nils's user avatar
  • 2,327
2 votes
1 answer
2k views

Rich text editor fails when pasting in IE 8 and 9 error 800a025e

We have a solution with a lot of customization. At some point something was added that breaks the rich text editor because now I cannot paste from clipboard using either Ctrl+V or the "Paste" ribbon ...
Thomas's user avatar
  • 980
0 votes
1 answer
205 views

Replacing a custom-developed CMS tool with SharePoint?

I need to develop/create sharepoint portal site to replace a custom-developed asp.net CMS tool. This custom CMS tool is a classic content management tool that content authors create/edit rich-text ...
ozdogan's user avatar
  • 997
2 votes
1 answer
181 views

RichHtmlField: Using :first-of-type (and other pseudo-classes) causes blank entries in Markup Styles menu

I've set up a RichHtmlField like so: <PublishingWebControls:RichHtmlField PrefixStyleSheet="sbg" id="SomethingUseful" FieldName="SomethingUseful" HasInitialFocus="False" MinimumEditHeight="200px" ...
Olly Hodgson's user avatar
0 votes
1 answer
130 views

saving/loading location specific content

I am having an issue solving this problem. I have a RichHtmlField, date selectors, and geographical location dropdownlist. (A list of cities). I need to be able to edit a page and create content for ...
TeddyRuxpin's user avatar