Questions tagged [richtext-editor]

Any questions related to the customization or utilization of the Rich Text Editor (RTE) inside the Sitecore CMS.

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

RTE wraps content with &#8203; when <video> element is present

In Sitecore 10.3 Update 0, when I add a <video> element in the RTE, Sitecore adds &#8203; (a zero-width space HTML entity) at the beginning and end of the content in the RTE. Input: <p>...
Marcel Gruber's user avatar
1 vote
2 answers
53 views

Is it possible to add a CSS style to only the richtext box of a specific component?

I will preface this by saying we are using XM Cloud with Nextjs. No C# in sight. I have a component, basically: Block - Content - Heading: Single-line Text - Body: Richtext One of our ...
Bridgette Ryan's user avatar
0 votes
1 answer
64 views

Add class option in rich text editor in h2 tag

I added a class option in the rich text editor in the content tree. The requirement is to add this class in <h2> tag. But it's adding a class in the <span> tag by default: The ...
Vinesh's user avatar
  • 127
0 votes
0 answers
58 views

Parsing Challenges of HTML in Rich Text

We occasionally have to programmatically elide text retrieved from Sitecore to fit correctly on certain pages. Sometimes this is rich text, containing html markup which breaks when the elision ...
Ron Ritchie's user avatar
2 votes
2 answers
368 views

Can you display an indicator for a div in the rich text editor

Running version 9.3 I have an editor who mentioned they will paste some code into the rich text editor (usually a div for a widget) and they've had other editors accidentally delete it out because ...
eKoz's user avatar
  • 45
2 votes
1 answer
409 views

Customizing Rich text editor in Sitecore Pages

Can we modify the rich text editor in Sitecore Pages, or at least add a new Paragraph style under this dropdown? As far as I know, in Experience Editor or Content Editor, we can customize this by ...
sq___'s user avatar
  • 43
3 votes
3 answers
807 views

Is "STATUS_BREAKPOINT" a Known Error in Rich Text Editor

We have a user who's having this problem in Sitecore 9.2. In the Rich Text Editor (RTE), they insert an image from the media library into their text; when they then click the Accept button to exit ...
Ron Ritchie's user avatar
0 votes
1 answer
376 views

Rich Text Editor custom css - how to add classes to the dropdown that aren't displayable in the dropdown?

On Sitecore 9.1. I've created some custom classes for content authors to use. The authors want these classes to be dropdown options in the rich text editor so they can apply them easily. I added them ...
Erica Stockwell-Alpert's user avatar
1 vote
2 answers
186 views

Disable HTML validation on a single RichText field

We have some integration running that's adding html with necessary data attributes to a RichText field, the validator is flashing this as invalid when it is valid in this use case. How to disable the ...
Sean T's user avatar
  • 240
4 votes
4 answers
308 views

SItecore 10 Rich Text Editor not saving the xLink:href tag while saving one SVG image

Sitecore 10 Rich Text Editor not saving the xLink:href tag while saving one SVG image from the content editor. Please find the HTML below which I want to save. I have done all necessary configuration ...
Koushik Mukherjee's user avatar
1 vote
1 answer
165 views

How to add <picture> tag in Sitecore rich text editor

My requirement is to customize Rich Text so that when an image is added to RTE, the image tag gets converted into a picture element example : Image tag to picture tag so that responsive images in ...
Prince Sharma's user avatar
0 votes
2 answers
250 views

The rich text block iframe in Editor mode

I have added this iframe in Sitecore RTE field <iframe class="EurolandTool" src="https://tools.eurolandir.com/tools/FinCalendar2/?companycode=ae-nbad&v=ae-nbad_redesign2017&...
shimaa elsayed's user avatar
2 votes
2 answers
1k views

Disable Image Upload button in Rich Text Editor

Is it possible to remove/disable the image icon in the Rich Text Editor's toolbar. All the images in this project come from Content Hub and client wants the CMS feature for image uploads to be ...
sukesh's user avatar
  • 3,129
0 votes
1 answer
347 views

How to add ordered list icon to rich text editor in html mode for sitecore 10 [closed]

Using Sitecore 10.0.1 I want to add ordered list icon to Sitecore rich text editor when opening in HTML mode. How do we achieve this?
coder's user avatar
  • 25
0 votes
2 answers
274 views

How to show "No Text Here" from Rich Text Editor in Experience Editor?

I am trying to show the [No Text Here] to Content Editors when there is not a value in that field (for example name of the field "Text") in Experience Editor so that they can edit the text ...
Samke11's user avatar
  • 359
2 votes
1 answer
395 views

Rich Text Editor - Strip Css Formatting

The Strip Css Formatting option in Rich Text Editor does not remove all inline styles. Using the following markup: <h3 style="color: #222222; background-color: #ffffff; margin: 1em 0px; ...
Leonardo Faggiani's user avatar
0 votes
1 answer
102 views

Images don't reflect versioning in Rich Text Fields

The Sitecore version for this issue is 9.1.0 (rev. 001564). In content editor, if I add a versioned image with only 1 version created added to a rich text field on an item, I encounter issues when I ...
Jesse Schallenberger's user avatar
0 votes
1 answer
242 views

How to fix broken links in EditorPage.aspx url format

Following are few broken link examples using EditorPage.aspx in Sitecore v8.2. How can an editor create such links and should those be transformed as mentioned in each example scenario. There are too ...
vijay majeti's user avatar
0 votes
1 answer
198 views

JSS returns 404 for media items in Richtext

I have a Legacy hybrid solution on SC 9.2 where only some page types are migrated to JSS. The issue is that if I insert an Internal Sitecore Link to a media item, it returns 404. Internal link works ...
iusmar's user avatar
  • 239
1 vote
1 answer
296 views

Customize start location for "insert Sitecore link" in rich text editor

When my editors click the "insert Sitecore link" button in a rich text editor, I'd like to customize the starting point for the dialogs. For example, on Internal Link it starts at the top &...
Ken McAndrew's user avatar
  • 5,102
0 votes
0 answers
210 views

Rich Text Editor removes HTML formatting

I have a role that is a member of Sitecore/Designer, Sitecore/Author, and Sitecore Client Publishing. When I unlock a page it creates a new version and all the Html formatting is deleted on the Rich ...
Ercan Polat's user avatar
0 votes
0 answers
170 views

Special Characters breaking the Experience Editor

We recently had an issue while editing a list, a user tried to add é to a list within a rich text editor while working in the Experience Editor, see below. After adding é, the list the user was ...
rowdy-roddy's user avatar
0 votes
1 answer
71 views

Different results on different machines when fetching a Sitecore RTF

I'm building a web application and experiencing a weird issue. I have a Sitecore RTF containing some formatted text and a link In my web application I have an HTML file with the following snippet: <...
svantis's user avatar
1 vote
0 answers
79 views

Updated Rich Text save action - can I force all Rich Text fields to resave? [closed]

I have updated some code to modify the way Rich Text fields handle the rel="nofollow" tags. the change occurs when the Rich Text field is saved. This works fine for new content. But for ...
Ethan Schofer's user avatar
2 votes
2 answers
1k views

Rich-Text field in experience editor mode adds unwanted break points in Firefox

When using Firefox for content authoring, when you paste a paragraph of content in your rich text field, it adds unwanted tags at the end. I can replicate this issue on the Vanilla instance of ...
SitecorePro's user avatar
1 vote
2 answers
800 views

How Does One Create a Download Link to Media Library Content in Rich Text Editor

A page on the site contains rich text, part of which is a series of links to PDF documents the user can download. Clicking on these, however, results in a 404 error. I've tried several RTE editing ...
Ron Ritchie's user avatar
0 votes
1 answer
887 views

Rich Text Editor - Option to remove all style attributes

How can I provide an option in the Rich Text Editor to remove all style attributes of the selected text?
Siddharth's user avatar
  • 527
2 votes
1 answer
1k views

Allow custom HTML tag to rich text editor

Using Sitecore 9.2, we're working on embedding videos into rich text components, as there aren't enough currently to support a separate rendering at this point. The video is a Brightcove component ...
Ken McAndrew's user avatar
  • 5,102
0 votes
1 answer
338 views

Customizing Rich Text Editor to automatically link email addresses while editing

While I know you can hook into the item:save command or override the scSendRequest method, is there a better way to automatically make email addresses self mailto link when entered? (think of MS word, ...
Adam Hess's user avatar
  • 354
-1 votes
1 answer
522 views

Update Class of Iframe by Rich Text Editor

I have one form URL which I rendering using Iframe in Sitecore Rich Text Editor in 'src' attribute as below: There is one CTA button form that overlapping some of the form text. So to come out ...
Himmat Singh Dulawat's user avatar
5 votes
1 answer
571 views

Experience Editor removing opening paragraph tag in RTE

We've noticed that when editing RTE fields in the experience editor of version 9.3 the first paragraph tag is being stripped. For example: This (prior to save): <p>test</p> <p>test&...
MikeD's user avatar
  • 870
1 vote
1 answer
898 views

How to add multiple css classes to the Rich Text Editor

I'm trying to add custom css class to the sitecore Rich Text editor. .infinityNumber .clickable { background-color: #00657c; color: white; padding: 0px 0px; } When ...
Rajasekar's user avatar
  • 692
3 votes
1 answer
95 views

Why does the RTE default to Media Library in the Document Manager?

Sitecore 8.2 u6 When you edit the properties of a link in an RTE and attempt to change the link, the document manager defaults to sitecore/media library. Shouldn't it default to sitecore? Changing ...
Jason Bert's user avatar
0 votes
1 answer
776 views

Sitecore Rich Text Editor Custom classes add/Path

Where to see the custom classes that are showing in the Sitecore Rich Text Editor. (path in core database) I just want another class here. where to add this? We are not using the ToolsFile.xml file. ...
Rajasekar's user avatar
  • 692
2 votes
1 answer
633 views

The selected link Target value is not displayed after customising the Hyperlink Manager

Following on from a previous question on how to make customisations of the RTE upgrade safe, we have: 1) Customised the LinkManager.ascx to add a new property for the 'rel' attribute on the link. ...
Harald Greve's user avatar
3 votes
1 answer
1k views

How to create Dropdown in Rich Text Editor (wysiwyg) in Sitecore 9.0.2

I am trying to create a Dropdown in WYSIWYG. I have added the Item using the Html Editor Drop Down Button template and Dropdown values using the Html Editor List Item in the core database. However, it'...
Asad Syed's user avatar
0 votes
1 answer
733 views

Making customisations of Sitecores Rich Text Editor dialogs upgrade safe

Looking at this: awareweb.com/blog/customizing-sitecores-rich-text-editor-dialogs and this Unable to customize HyperLink Manager in Rich Text Editor in Sitecore, if we want to override EditorPage.aspx,...
Harald Greve's user avatar
0 votes
1 answer
1k views

Rich Text Editor - Apply CSS class around <tr> html tag

I have selected the complete row of the table, Then I have selected a class that changes the background color of the table row. The background color is not applying to the selected table row, because ...
Kumar K s's user avatar
2 votes
1 answer
437 views

Change RTE Default font size not reflecting on RTE html editor

I changed RTE default font size by changing Website\sitecore\shell\Controls\Rich Text Editor\Editor.css : body { font-size: 20px; } This is working fine for the RTE Design tab but not for the ...
user6016's user avatar
4 votes
1 answer
486 views

Remove empty Html tag from RTE

Is it possible to remove empty html Tags like <p>&nbsp;</p> from RTE, because they are getting inserted very easy and destroying the design. The best would be automaticaly :-) on ...
squadwuschel's user avatar
  • 1,165
3 votes
1 answer
585 views

Hyperlink Manager "http://" for external links

When accessing Hyperlink Manager from a Rich Text field, the default value of the "URL" field displayed on the modal is "http://". The code responsible for setting this value is hard-coded inside of "...
Leonardo Faggiani's user avatar
-1 votes
1 answer
314 views

Why Sitecore RTE Field removing body section?

When I am trying to insert body tag in RTE, then RTE is removing once clicking on Accept (save) button. I am not surprised but wanted to know what else removed by default in Sitecore. Like when I am ...
Pradeep Gupta's user avatar
2 votes
1 answer
594 views

setting tool tip for custom button for rich text editor

I have created a custom insert link button by inserting an item based on /sitecore/templates/System/Html Editor Profiles/Html Editor Button in html editor profile rich text editor. It is working ...
rdhaundiyal's user avatar
2 votes
1 answer
248 views

How to set different RTE Profile for different Sites in SXA

I want to set different RTE profile for different Sites in SXA. Is there a setting OR a other way to achieve this?
scFootsteps's user avatar
  • 3,851
1 vote
2 answers
199 views

Sitecore patch from Security Bulletin SC2017-001-170504

I am trying to install the https://kb.sitecore.net/articles/978654 to a SC 8.2 update 2 instance. Once installed I am getting the following error when I open the rich text editor. It looks like it is ...
Robert Kelly's user avatar
0 votes
2 answers
2k views

Richtextbox (RTE) link.aspx custom link provider/pipeline

so far I understand the richtextbox, when I insert a Internal sitecore link a href is created with link.aspx?_id=siteguid which is replaced in preview or published mode with the right url. <a href=...
squadwuschel's user avatar
  • 1,165
5 votes
3 answers
7k views

Applying rich text editor custom classes

I have a custom css class that has been patched which I have verified in showconfig.aspx <?xml version="1.0" encoding="utf-8"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"...
Jen's user avatar
  • 1,393
1 vote
1 answer
1k views

How to change Sitecore 8.2 RTE behavior to insert <p> tag instead of <br> on Enter?

We recently upgraded to 8.2. When editing rich text, if I press Enter at the end of a paragraph, it creates a new paragraph, as expected; however, if my cursor is in the middle of a paragraph, when I ...
Erica Stockwell-Alpert's user avatar
1 vote
1 answer
610 views

How to call javascript for custom Web Edit Button of RTE in Experience Editor

I need to add custom button of template /sitecore/templates/System/WebEdit/WebEdit Button to RTE in Experience Editor. And invoke my custom js function on click. How I can implement that? I've ...
Val Yar's user avatar
  • 87
-1 votes
1 answer
628 views

While updating content in Sitecore RTE programmatically it is removing line breaks

We are using Sitecore 8.2 update 2 in our project. Currently facing issue when adding content to the Rich Text Editor programmatically it is removing new lines and line breaks automatically and the ...
rajender patel's user avatar