Hot answers tagged

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
7 votes

Special Characters not rendering properly on live website

There are normally three places that I would check for character display issues such as this: Do the characters look correct inside of the Components in the Tridion Content Management Explorer (CME)? ...
Jonathan Williams's user avatar
7 votes
Accepted

Applying advanced styles to embedded RTF Images in DXA

When the DXA publishes binaries (either linked from MM link fields, or embedded in RTF) it publishes the original full res image. When the image is rendered by a view, it will be resized according to ...
Will Price's user avatar
  • 16.4k
6 votes
Accepted

Customize the Font Face, Font Color and Font size options for a RTF in CMS ribbon

Yes, you can add your own fonts. See "Configuring system fonts" in the documentation. While you cannot replace the existing size options, you can add your own CSS classes - which then gives you full ...
Peter Kjaer's user avatar
  • 19.8k
5 votes

Resolving Binary Links in RTF | OUT of the BOX

AFAIK, when you create component links in the RTF field, Tridion does not generates the binary link. You may refer the Process Download Links in Output extension for this purpose. This was written ...
Pankaj Gaur's user avatar
  • 15.9k
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
Accepted

Where to Configure Properties for the New Custom Font Type?

There is no configuration available for the fonts. The only thing you can set is the name of the font to be available in the the list of fonts, that the Editors can select for the rich text format ...
Raúl Escudero's user avatar
4 votes
Accepted

DD4T RTF issue on websphere

make following changes in the file "dd4t-core/src/main/java/org/dd4t/core/util/XSLTransformer.java " comment selected lines and restart server.
Naresh Saini'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
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

Special Characters not rendering properly on live website

just adding to @jonathan's - Check various options available on Elena's blog. i overlooked it recently to resolved my chinese characters issue but ultimately it resolved my issue, it takes care of all ...
Raj Kumar's user avatar
  • 5,867
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
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
2 votes
Accepted

Problem using a component Link in RTF field

This looks like a bug in the ResolveRichText TBB. This TBB puts metadata from the linked component into data attributes on link, which can then be read and used for processing when the content is ...
Will Price's user avatar
  • 16.4k
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,863
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,158
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

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

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,863
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
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

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