11
votes
Include <picture> element in RTF Text Field
By default SDL Tridion 2013 SP1 is not setup to be fully HTML 5 compliant (this is also still the case for Web 8 for that matter). You can extend the RTF field to allow HTML 5 tags, and this can be ...
7
votes
Accepted
RTF hyperlink to component: open button grayed out
Mine too is greyed out if I choose a Component as the link type.
However, the open button becomes enabled if using http:// as the link type, and can be used to open the linked page (e.g. The BBC ...
4
votes
Let SDL WEB 8 Rich Text field support HTML 5
If it is possible, I doubt it would be supported because there could be dependencies inside the CME that aren't tested against the latest Tidy. However, IIRC, Tidy is not used by Tridion or Web. It is ...
4
votes
Embedding DXA entities other than images in RTF fields
In DXA 2.0 (R2 Data Model), Rich Text Field processing is done on CM-side: see method DataModelBuilder.BuildRichTextModel https://github.com/sdl/dxa-content-management/blob/master/Sdl.Web.Tridion....
4
votes
Style Dropdown is disabled in Web 8.5 RTF Field
The style dropdown offers choices based on the format area stylesheet which is installed on the content management server. On an 8.5 system this is located at:
%TRIDION_HOME%\web\WebUI\Editors\Base\...
3
votes
Resolve component link in rich text
The fact that the hyperlink is removed altogether indicates that the DXA Model Service/Extension did process/resolve the link, but link resolution didn’t provide results (i.e. the linked Component is ...
3
votes
Accepted
Filtering XSLT in Tridion not evoking custom replacement string
I can't find the relevant information in the documentation but if I recall correctly the Filtering XSLT of a Schema is limited to XSLT 1.0 only.
The reason behind this is that the XSL transformation ...
3
votes
How to resolve image issue in the RTF field in DXA 1.2
Let's focus on the root cause of this error: "Cannot create an (instance of an) abstract class".
In the stack trace you can see that the exception occurs in DefaultRichTextProcessor line 116, where ...
3
votes
How to resolve image issue in the RTF field in DXA 1.2
The first error in the error message (Unable to map field 'article' to property of type 'WFA.Web.Site.Models._Article') is something I'll come back on later, let's first discuss the second error (...
2
votes
Accepted
Tridion RTF Field Content Format
You're correct... This will be caused by a combination of two things:
Tridion runs Tidy over RTF fields, which is what's adding the line breaks after you click on the design or preview tab after ...
2
votes
RTF Field Parsing when content ends with '<'
Yes, this is the issue with Tidy.
What you can do is create a rewriter that can change < into < at publish time, but it will still stay as gibberish in component as content. Also, it might ...
2
votes
RTF Field Parsing when content ends with '<'
Your HTML source is have an extra <. Your source should be
<strong>Testing</strong>
Tridion use HTMLTidy out of the box for RTF parsing unless you have a separate XSLT filter.
2
votes
Accepted
RTF field Parsing
When you select the Source tab in an RTF field, the Tridion GUI applies an XSLT against the XHTML that exists; this causes the escaping of the HTML you seem to desire.
The same action is undertaken ...
2
votes
SDL Web 8.5 RTF generating <br> and <div> instead of <p> tags
Notepad is a plain text editor and doesn't support rich text (like paragraphs or bullets), so your expected results are sort of impossible if you ask me.
The RTF editor in the CME currently has a ...
2
votes
SDL Web 8.5 RTF generating <br> and <div> instead of <p> tags
You can select the copy pasted content and change it to paragraph using the options available in Ribbon menu.
2
votes
Accepted
How to resolve ECL components in rich text fields
I am assuming that you are using DXA Media Manager module and you have already created a Model for the Media Manager item, if not then add a Model in your project. Here is the sample for that;
[...
2
votes
Let SDL WEB 8 Rich Text field support HTML 5
Currently SDL Web 8 indeed does not fully support HTML5, certainly from a Rich Text field standpoint.
See https://stackoverflow.com/questions/15263064/html5-tags-are-not-working-in-rtf-field-for-...
2
votes
Accepted
XSLT Filtering to Prevent Self-Closing Tag in Rich Text Editor
You should check the Schema RTF field, it usually has a XSLT fillter tab. This fillter uses <xsl:copy> which I have found leaves behind self closing tags.
The portion of the xslt that does this ...
2
votes
XSLT Filtering to Prevent Self-Closing Tag in Rich Text Editor
There are 2 ways I can think of that you can tackle this issue:
Update Tidy to parse <iframe> tag as block tag. For this I suggest you check Nikoli's blog.
create HTML parser (some sort of C# ...
1
vote
Link resolving in Rich text field
I think good approaches depend on how you publish and render markup for the Thin Website.
If using Content Manager templating with .NET or Java in delivery, then consider using Template Building ...
1
vote
Accepted
Inserting a Component Link in RTF via Experience Manager Hangs
SDL's R&D Team have released a hotfix (XPM_8.6.0.12993.zip) which have resolved the issue encountered above.
1
vote
Embedding DXA entities other than images in RTF fields
We solved this by making the DXA have a more generic approach to embedding entities in Rich Text fields. Required for this was:
Updates to DXA 2.0 Template logic (see pull request):
New TBB ...
1
vote
Accepted
Can we add metadata fields to RTF links to Asset Components?
DXA 1.x uses a TBB called “Resolve Rich Text” to preprocess Rich Text Fields. This is the TBB that puts the data- attributes on a and ing elements which are referencing Multimedia Components. It has a ...
1
vote
Accepted
SDL Web 8.5 RTF generating <br> and <div> instead of <p> tags
br tag generating on the 1st and 2nd (or subsequent) embedded rich text field when content copy and paste. The below code event fire when click the "INSERT" button for the 2nd embedded rich text field....
1
vote
Accepted
how to stop tags getting deleted from RTF?
I'm unsure if the TcmXHTML.config is actually supposed to be a user configurable file, since I don't see it documented. But if you are happy to edit it, changing the default behaviour of the format ...
1
vote
Difference in pasting content into CM RTF fields between Chrome and Firefox
We implemented the ValidateRtfCopyPasteCommand Extension to resolve this issue. Please find sample code below:
Tridion.Type.registerNamespace("SDLPS.Extensions");
SDLPS.Extensions....
1
vote
Clearing formatting of pasted text in Tridion RTF field
Old post...but to go along with Johnathan's answer, I made an extension that just used RegEx to clean up the paste:
// Clear the Word header
wordGarbage = wordGarbage....
1
vote
Rich Text - How to add in missing <p> tags?
I have the same issue. Rather than fixing it in code on the presentation side, we have the following XSLT which is not perfect, but addresses the case where the editor enters content without hitting ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rtf × 812013 × 17
2013-sp1 × 14
2011 × 11
dxa × 10
cme × 8
xslt × 6
filtering-xslt × 6
gui-extensions × 5
experience-manager × 4
content-manager × 4
web8.5 × 3
core-service × 3
templating × 3
configuration × 3
schema × 3
multimedia × 3
dd4t × 2
dxa-java × 2
2009 × 2
dxa2.2 × 2
dynamic-linking × 2
binary × 2
sites-9.5 × 2
image × 2