Skip to main content
Share Your Experience: Take the 2024 Developer Survey
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 ...
Bart Koopman's user avatar
  • 29.6k
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 ...
Jonathan Williams's user avatar
4 votes
Accepted

Does Tridion 2013 SP1 and RTF fields use WCAG 2.0 or WCAG 1.0?

According to this website: https://www.w3.org/WAI/WCAG20/from10/diff.php, WCAG 2.0 differs from 1.0 primarily in how each acceptance criteria is explained when a test fails to meet a criteria (in WCAG ...
Nickoli Roussakov's user avatar
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 ...
Nickoli Roussakov's user avatar
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....
Rick Pannekoek's user avatar
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\...
Dominic Cronin's user avatar
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 ...
Rick Pannekoek's user avatar
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 ...
Bart Koopman's user avatar
  • 29.6k
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 ...
Rick Pannekoek's user avatar
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 (...
Bart Koopman's user avatar
  • 29.6k
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 ...
Bart Koopman's user avatar
  • 29.6k
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.
Rajesh G's user avatar
  • 473
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; [...
Sayantan Basu's user avatar
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-...
Bart Koopman's user avatar
  • 29.6k
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 ...
David Forster's user avatar
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 ...
Marko Milic's user avatar
  • 8,942
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.
Shiva's user avatar
  • 2,168
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 ...
Dylan .. Mark Saunders's user avatar
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 ...
Kunle Daramola's user avatar
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# ...
Marko Milic's user avatar
  • 8,942
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 ...
Alvin Reyes's user avatar
  • 12.8k
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.
Tim Alonso's user avatar
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 ...
Will Price's user avatar
  • 16.4k
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 ...
Rick Pannekoek's user avatar
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....
Sudhakar Rao's user avatar
  • 1,771
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 ...
Bart Koopman's user avatar
  • 29.6k
1 vote

Multimedia links to pdfs in RTF are not working for some

I suspect that this may because your HTML isn't valid (due to the spurious over text in your code example). This will be preventing the templating code from adding the PDF to the deployment package. ...
Jonathan Williams's user avatar
1 vote
Accepted

How to fetch keywords inside a Keyword in anguilla

I got the list of Keywords inside a Keyword as below - var list = keywordObj.getList(new Tridion.ContentManager.ListFilter(), false, false); var listXmlDoc = list.getXmlDocument(); var keywords = $...
Pari's user avatar
  • 155
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....
Sudhakar Rao's user avatar
  • 1,771
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....
Trevor Bartlett's user avatar

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