Questions tagged [richtext-editor]
Any questions related to the customization or utilization of the Rich Text Editor (RTE) inside the Sitecore CMS.
80
questions
0
votes
2
answers
55
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 ...
2
votes
1
answer
64
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; ...
0
votes
1
answer
44
views
how to insert an H5 video under sitecore richtext editor, version 9.3(not sxa)
with the media manager in current sitecore richtext editor, its presented with embeded object video which is not supported any more now.
wondering how we can replace this and simply insert a video ...
0
votes
0
answers
46
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 ...
0
votes
1
answer
49
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 ...
0
votes
1
answer
92
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 ...
0
votes
0
answers
40
views
Get the current page being edited in a custom RTE Dialog Form?
I have a custom RTE button to insert and component within the RTE, using a treelist to select an existing datasource. I have the path for the treelist set to a global components folder (const string ...
1
vote
1
answer
117
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 &...
0
votes
0
answers
67
views
Rich Text Editor removes HTML formatting
I have a role which 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 ...
0
votes
0
answers
82
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 ...
0
votes
1
answer
53
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:
<...
1
vote
0
answers
25
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 ...
2
votes
2
answers
608
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 ...
0
votes
2
answers
373
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 ...
0
votes
1
answer
300
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?
2
votes
1
answer
528
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 ...
0
votes
1
answer
255
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, ...
-1
votes
1
answer
296
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 ...
4
votes
1
answer
451
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&...
1
vote
1
answer
576
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 ...
2
votes
1
answer
60
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 ...
0
votes
1
answer
326
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.
...
1
vote
1
answer
295
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. ...
3
votes
1
answer
780
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'...
0
votes
1
answer
319
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,...
0
votes
1
answer
682
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 ...
2
votes
1
answer
325
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 ...
4
votes
1
answer
347
views
Remove empty Html tag from RTE
Is it possible to remove empty html Tags like
<p> </p>
from RTE, because they are getting inserted very easy and destroying the design.
The best would be automaticaly :-) on ...
3
votes
1
answer
386
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 "...
-1
votes
1
answer
249
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 ...
2
votes
1
answer
438
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 ...
2
votes
1
answer
168
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?
1
vote
2
answers
140
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 ...
0
votes
2
answers
1k
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=...
5
votes
3
answers
5k
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/"...
1
vote
1
answer
815
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 ...
1
vote
1
answer
454
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 ...
-1
votes
1
answer
422
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 ...
0
votes
2
answers
325
views
Sitecore Rich Text Editor seperate image for mobile and desktop
Is there a way to show separate images for mobile and desktop in Sitecore Rich Text Editor.
I have an image which contains a table with more than 4 columns. It shows perfectly on a desktop. But when ...
1
vote
2
answers
415
views
How to wrap selected content in 2 tags by using a button in Sitecore Rich Text Editor
I have a requirement where the authors want a button in RTE which can wrap selected text with a predefined html structure.
E.g.
This is the Selected Text
Now we want a button/tool in Sitecore Rich ...
2
votes
1
answer
333
views
How to configure sitecore rich text editor not to replace url to relative.
I have strange behavior at Rich Text editor (I heard that everyone had it),
when user add some Absolute url for example, https://www.example.com/mypage/someextra, after save Sitecore replace it to ...
0
votes
0
answers
340
views
Removing Width and Height Attributes on Images added via Rich Text Editor [duplicate]
I have used the method seen here to remove the Width and Height attributes on an image generated using the HTML Helpers in Sitecore, and it works perfectly.
Is there a way to apply this same ...
5
votes
1
answer
2k
views
Preventing RTE from removing scripts for specific templates only
I need to prevent Sitecore from removing my script tags in RTE for specific templates even when HtmlEditor.RemoveScripts is true.
I have looked at
https://laubplusco.net/customizing-sitecore-rich-...
3
votes
0
answers
222
views
How to let Sitecore 9 RTE Link Manager use "id" attribute instead of "name" attribute for anchors
When adding an anchor link in the Link Manager inside a RTE field in Sitecore 9, the attribute name is used. This is no longer supported with html5 according to W3Schools:
The name attribute is ...
1
vote
2
answers
368
views
Embedding Instagram in RTE
I want to embed Instagram posts in an RTE field and am having trouble with captions. The Instagram Embed code is a block quote and script. This gets converted to an iFrame on rendering. The instagram ...
2
votes
1
answer
455
views
Disable inline editing of rich text fields in Experience Editor
How can I disable inline editing of rich text fields in Experience Editor?
I still want the users to be able to click the edit icon in the toolbar popup (leftmost icon in the attached screenshot) so ...
2
votes
1
answer
1k
views
Prevent rich text editor from inserting paragraphs on Ctrl+Enter
When you click [Ctrl+Enter] in Rich Text Editor it inserts a paragraph (<p>) at the cursor, and also encapsulates the content before the cursor in another paragraph.
I've already created a ...
1
vote
0
answers
304
views
Media item (image) and RTE
I'm running into an issue with using images in RTE. Images upload as expected into the medialibrary so no issues there. But when I insert the newly uploaded image in RTE it'll appear in Experience ...
1
vote
2
answers
986
views
Sitecore Rich Text Editor removing 'autoplay' attribute
I'm trying to embed a video in a Rich Text editor like so:
<div class="video-wrapper">
<video autoplay loop poster="/img/hero-stills/Homepage.jpg" style="margin-top: -295px;position:...
3
votes
3
answers
511
views
Prevent content authors removing html from the experience editor
I have been working on a Sitecore 9 migration project. The client told us to use the existing html and stylesheets and use SXA as much as possible.
We have used RichText control in a few places but ...