4

Not really but it depends on for what you want to use it. I have used in the past the Telerik RAD Editor in a large environment (>10.000 Users) http://sharepoint.telerik.com/aspnet-ajax/web-parts/Pages/Content-Editor-Web-Part-using-RadEditor.aspx This is the most popular SharePoint HTML Editor on the market. But the users where also not happy with it. The ...


4

You need to render the rich text. Just add STSHtmlDecode like in this example. <div id="trimmedDetailsDiv" class="newsListItemBody" style="padding-right: 0px; color:#656565; font-size:15px; padding-bottom: 25px;"> _#= STSHtmlDecode(shortDescription.value) =#_ </div> SharePoint 2013 - Working with Display Template for Content Search Web Part ...


4

It is probably due to the fact that you already have a site content type in use that you want to add the column to that content type. You need to add a new content type and add it in place of the old one as described here. You also should be able to add it programmatically through C# (which can be translated to powershell) described here. SPSite ...


4

SharePoint rich text fields support copy & paste by using an iframe dynamically inserted into the body tag. Manipulating this iframe or any of its content may cause error 800a025e thrown by SP.UI.RTE.debug.js. Searching through SP.UI.RTE.debug.js for "pasteDiv" should help you debugging this issue, as the inserted iframe contains a DIV with id "pasteDiv"...


3

Use a Custom Action with Location="ScriptLink" and inject jQuery/JS on the fly, which hides or uncheck the button by default


2

So what's propably happened is that you've got the HTMLField within your EditMode Panel as below <PublishingWebControls:EditModePanel> <PublishingWebControls:RichHtmlField id="PageContent" FieldName="PublishingPageContent" runat="server" CssClass="bp-pagelayout-contenttable-maxwidth"/> </PublishingWebControls:...


2

Sorry for replying with answer after long time. I wondered when I saw there is no answer to this question. So decided to do self-reply to this question. After lots of brain storming I get to know there was silly mistake I did in feature receiver. When I debug application I come to know that I was getting null values from site column properties. Then I placed ...


2

I created a little script to put focus where I wanted it on opening a publishing page in edit mode. The code is: function waitUnitStuffIsLoaded() {setTimeout(function(){refocus()},1000);} function refocus(){$("input[Title='Title']").focus();} SP.SOD.executeOrDelayUntilScriptLoaded(waitUnitStuffIsLoaded, "sp.ui.spellcheck.js"); http://pirateeric....


2

I found the solution.Use jQuery instead $.Don't know why it is behaving like this.So now I have assign jQuery to $ and it works. $ = jQuery; alert($('#linkMainImgDiv').html())


2

Used PowerShell to create my columns the way I wanted. Add-PSSnapIn "Microsoft.SharePoint.Powershell" #Get the site collection and web object $siteColl = Get-SPSite -Identity "http://sitecollectionURL.com" $rootWeb = $siteColl.RootWeb #Assign fieldXMLString variable with field XML for site column $fieldXMLString = '<Field Type="HTML" Name="...


2

Try <div><img src="image.jpg" /></div>


2

How did you try to override the JavaScript? (I'm writing this because HasInitialFocus hasn't worked and is the obvious answer, although maybe could set it on another field, the first field instead as true?) I would add and try this: $('document').Ready(function() { $('#someother_element').focus(); }); This should work.. Otherwise run up Chrome, and ...


2

Edit the content editor webpart and select "Edit Source" option from the ribbon. Put your HTML there and save the page. if you are using SharePoint 2013 you can use a Script Editor web part instead and put your HTML in that webpart


1

You could also upload your own html file, create a content-editor-webpart and link to the html file in the text file property of the content-editor-webpart. From here you can make changes to the html file with Sharepoint Designer


1

You can use embed code in rich HTML text editor: After clicking the command, you are prompted to insert your code and given a preview: Alternative solution: SharePoint creates a Script Editor webpart on the page for you. It even includes an "Edit Snippet" button, so you can go back and edit the code later. OR you can use Content editor webpart ...


1

Add type (RichHtml field) columns to a custom content type - and then add that content type to the site (rather than the individual columns) - it works. Please refer this link - https://social.technet.microsoft.com/Forums/en-US/7f66abe2-7890-479b-b38b-349d3d1937d5/publishing-html-and-richtextfield-display-html-code-not-rendering?forum=...


1

I figured it out! The Body text had been changed from Rich HTML text field to a Plain text field. Changing this back to Rich HTML fixed the problem. I'm not entirely sure why, but I suspect it is because the Reply field and Body text are linked in some way. I cannot see if it is possible to make the Reply field plain text as well; I imagine this would ...


1

From the way I interpret those posts, the syntax you want is tr.carousel-firstrow { /* [ReplaceColor(themeColor:"Dark1")] */ background-color: #ABABAB; /* or any color, as it will be replaced */ /* [ReplaceColor(themeColor:"Accent3")] */ color: #FFFFFF; } Those articles do seem to imply that the replacements occur when you actually apply a theme, ...


1

It turned out to be a Content Type caching issue... Apparently SharePoint remembered the version of it when it was not fully developed. Creating a new Site Collection resolved the issue.


1

Try alert($('#linkMainImgDiv').html()) First check in you page source that even this id exist or not. If exist then try it in your debugger tool of browser. Can you share your markup or any screenshot with div.


1

as far as I know, site columns are wysiwyg (what you see is what you get). you have to choose whatever type you need from a limited list of types, and apply the avaible customization options. the easiest way to avoid problems is to set the column as single line of text (in which case you could set the maxlength upfront or use a formula in the list ...


1

A little bit of history. We wanted to lock down how users create content. So our goal was to disable the font family, font size and font color controls. I always thought the key was to configure the RichHtmlField. It worked for page content, becuase the control was in a page layout. But for list items, there is/was no page layout for the RichHtmlField to ...


1

You could try using the html element to specify the base url to be used with the relative urls. You would be dependent on the email client to implement the base element.


1

Webparts in the masterpage are not configurable, meaning that you can indeed add a Content Editor WebPart to your masterpage, but it won't be editable from the browser, as you would like. What you can do is adding a Xslt list view web part and retrieving fixed content from a list. For example, you can configure the CAML query to retrieve the first item (or ...


1

Instead of using PublishingWebControls:RichHtmlField, can't you use SharePoint:InputFormTextBox It is a replacement of multi-line Rich Text Box, and it doesn't require Ribbon! And I guess you should be easily able to set focus on this textbox... document.getElementById('<%= myInputFormTextBox.ClientID %>').focus(); Or if that doesn't works, you can ...


1

You could probably first decode the string from html, then trim it and then reencode it to html, like this: var aString = yourTextBoxText; aString= SPEncode.HtmlDecode(aString); Since the texbox will always render <html><div> before the content you can not use .Trim(), instead use: aString = aString.Replace("<html> <div>", ""); ...


1

Try adding the html element works for me. <PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" runat="server" PopupEditorMode="True" html="<span><p>This will be displayed on every page you create</p></span>" />


1

Did you create a new content type for your page layout? The "PublishingWebControls:RichHtmlField" control is always associated with a field in your related content type with a data type of PublishingHTML. You will need to get the guid of the new field and associate it with the RichHtmlField in the page layout markup before it will show the content of the ...


1

This works fine for us: <PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" runat="server" PopupEditorMode="True"/> Allows editing and displays content.


1

You should create bindings to your custom content type: create empty element, add bindings like this to your element file: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!--Default content type--> <ContentTypeBinding ContentTypeId="...


Only top voted, non community-wiki answers of a minimum length are eligible