Questions tagged [rtf]

for questions about Rich Text Format fields, also known as Format area fields.

Filter by
Sorted by
Tagged with
12
votes
2answers
859 views

Examples of altered XSL files for Rich-Text fields

I have a question on the default provided XSLT used for rich-text fields. A client is requesting a more rigid XSLT (to block script tags etc.) Anybody has some examples of finished XSL files ? I've ...
10
votes
2answers
274 views

Adding Japanese text between anchor tags in a Rich Text Field

Is it possible to add Japanese text between a starting and closing anchor tag as follows in a Rich Text field? <a href="/downloads.jsp">ダウンロード</a> I tried it and published the page. But ...
10
votes
3answers
311 views

Unwanted Namespaces in Rendered Output

I create some hyperlinks in RTF field of a component. The type of the hyperlink is "other". It looks like below in the source tab of the field. <a href="tel://{telephone number}">linkText</a&...
10
votes
2answers
156 views

Could i use xsl:include in my rtf xslt filter?

Can i use the <xsl:include url="some.xslt"/> tag in the rtf xslt format area in a schema, to always include the same xslt and only have to change it once instead of in all my templates? And if ...
9
votes
4answers
645 views

How can you preserve empty tags in an RTF field?

What are some ways to allow an RTF field to preserve empty tags? One way I can think of is using XSLT formatting (Filtering XSLT tab in Formatting Features) on the specific field. Does anyone have ...
9
votes
5answers
1k views

Rich Text - How to add in missing <p> tags?

We have an issue where our HTML/CSS requires RTF content to be wrapped in <p> tags in order for some design elements to work correctly. We had some code which added these in if the string did ...
9
votes
1answer
165 views

How can you tell the difference between a text and rich text field with TOM.NET

From within my (2011 SP1) TBB I need to know when a TextField object is rich text or plain text so I can process the contents differently, but I dont see any simple way to find this out. Is this ...
9
votes
1answer
90 views

“multiple” FormatAreaStyles.css files possible?

for our current project, we have to use/extend the FormatAreaStyles.css to give content editors a good impression in the RTF editor on how the text will look like on the page. I've done this before ...
9
votes
1answer
113 views

How can I enter right-to-left (RTL) content?

I am about to create a RTL version of an existing Tridion 2013 site in Hebrew. Creating the site is not an issue, the issue will be how do I take client content and get it into a component. Without ...
8
votes
3answers
800 views

Embedding Images (CSS) in HTML via RTF

The client has requested that would like to be able to use a RTF to embed HTML into a page. The problem that I am encountering is that (due to the clients requirements), the HTML consists of several '...
8
votes
4answers
824 views

Dynamic content changes when you switch between Design and Source in a rich text field

Our writers love to use the Twitter embed codes in Tridion (2011 SP1) to publish little embedded tweets. For example, they use the following type of code from Twitter's site: <blockquote class="...
8
votes
2answers
924 views

How to restrict html tags in RTF fields?

To restrict the p tags and br tags in Tridion RTF fields I am writing XSLT code. But at any time only one tag I can able to remove with the following code. Please correct me where I am doing wrong. ...
8
votes
2answers
424 views

Clearing formatting of pasted text in Tridion RTF field

What is the best way to clear the formatting of text pasted in from a different source (like Microsoft Word) into a rich text field (RTF) field in SDL Tridion? The text pasted should be plain text so ...
8
votes
2answers
509 views

Trying to create a Component with the Core Service: Data at the root level is invalid

I'm trying to import some content into Tridion using the Core Service and have a problem with one of my Rich Text Fields when trying to save a new Component to Tridion. I'm getting the following ...
7
votes
1answer
531 views

Less than or equal to symbol in RTF field

I am trying to enter below text in a RTF field source view. One is &le; One One is &#8804; One One is &#x2264; One Post above entry, I am switching to design view where I am able to see ...
7
votes
1answer
136 views

Difference in pasting content into CM RTF fields between Chrome and Firefox

When copy-pasting content with line breaks into RTF fields in the Content Manager (2013 SP1 HR1) in Firefox and Chrome I see different HTML generated in the source tab. Is anyone aware of a fix for ...
6
votes
2answers
178 views

Disable script tags within RTF fields

Our client would like to disable the ability to add script tags to RTF fields for all users, or would like a configuration where this can be turned on/off at the environment and potentially, ...
6
votes
1answer
933 views

How can I control the encoding of '&amp;' when adding a URL into a rich text field in Tridion 2009?

I'm having an issue when inserting a hyperlink of type 'http://' into the rich text editor. I'm trying to a pass a query string value in the URL: www.somewebsite.com/Break.aspx?ht=all&sd=31/08/...
6
votes
2answers
192 views

DD4T RTF issue on websphere

We are facing issue in getting RTF text if we use any HTML tag in RTF(Simple text working fine in all conditions). case 1. when i use simple one level text field as RTF in schema and use below code: ...
6
votes
1answer
175 views

Tridion Gui extension - how to insert html in RTF and set focus after inserted content

I have a Tridion GUI extension (Tridion 2013 SP1 - but I don't think this matters much) that inserts a piece of text in a rich text field. The text is inserted correctly, using the applyHTML("text") ...
5
votes
4answers
1k views

Text in multiple columns

We have a requirement of showing text in multi columns - the way its printed in newspapers or magazines. Any suggestions how can I achieve it in Tridion. Is there any such feature in RTF or other ...
5
votes
1answer
204 views

Include <picture> element in RTF Text Field

I'm trying to include an <picture> HTML tag in a RTF Text Field, but it shows me an error like this: The code is something like this: <picture> <source media="(min-width: 650px)" ...
5
votes
1answer
111 views

RTF hyperlink to component: open button grayed out

While setting up a hyperlink to a component inside of a RTF, the "open" button to view the component is grayed out. Is this normal behavior? It seems like the button doesn't actually serve a purpose ...
5
votes
2answers
135 views

How to resolve image issue in the RTF field in DXA 1.2

I'm testing scenario for one of Component it is having RTF field. In the RTF field I have added image and preview the Component with respective Component Template without any issue JSON is populated ...
5
votes
2answers
71 views

Pasting images into a RTF in Experience Manager

Is there are way to modify the behavior when pasting an image in a RTF using the Experience Manager?
5
votes
3answers
595 views

XSLT Filtering to Prevent Self-Closing Tag in Rich Text Editor

I have problem in SDL Tridion 2013 rich text editor for Component, since it automatically convert an iframe tag to be self-close: from <iframe></iframe> to <iframe/> I have looked ...
4
votes
1answer
234 views

Applying advanced styles to embedded RTF Images in DXA

I am currently adding Multimedia Images to the RTF via the insert tool bar. When the GUI pop up appears and I select an image, I am given the choice for Advanced properties. For height and width ...
4
votes
2answers
192 views

Let SDL WEB 8 Rich Text field support HTML 5

SDL WEB 8 Rich Text field still stick to HTML 4. Behind this field, WEB 8 use tidy html to format the HTML content. But based on http://www.html-tidy.org/, Tidy solution do support HTML 5, is it ...
4
votes
1answer
148 views

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

Can we edit the options listing in the dropdown menu for Font Face, Font size and Font colour which appears once we click inside a RTF. 1). Can we add our own Font face for example "Test Font" along ...
4
votes
1answer
123 views

How to configure custom ribbon toolbar buttons to Page Metadata Schema?

I created new ribbon tool bar buttons for RTF fields. I am able to see them in component RTF fields. But when I add a metadata schema with RTF field to a page I am unable to see the custom buttons in ...
4
votes
3answers
135 views

SDL Web 8.5 RTF generating <br> and <div> instead of <p> tags

When author copy/paste text paragraphs using Notepad, unnecessary <br><div> tags displays instead of <p> tags in in RTF Fields. Firefox Version (52.2.0 Firefox Extended Support ...
4
votes
1answer
106 views

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

We are introducing Accessibility to our web implementation and, in order to be complete, we would like to use it in our Tridion RTF fields. We are using WCAG 2.0. What is Tridion 2013 SP1 using on ...
4
votes
2answers
208 views

RTF Editor - Edit Existing Tables?

Is there any way to use the table editor in an RTF field to edit an existing table without losing any of the values? It looks like the answer is no. Do you know of any online tools that can do this? ...
4
votes
1answer
176 views

Extending RTF in XPM

I want to extend RTF options. I am able to do it in CMS but I am not able to do the same in XPM. In my custom editor'c config, I have both CME as well as SiteEdit as my target and I have tried ...
4
votes
1answer
130 views

How to resolve ECL components in rich text fields

Not able to bind Rich Text field to Model if I am embedding an ECL image in a RTF field. Getting below error: Unable to map field 'description' to property of type 'Sdl.Web.Common.Models.RichText'. ...
3
votes
4answers
482 views

Allowing tags in the Rich Text Field

We need a specific JSF tag to be allowed in the RTF (this component is abstracted away from 'general editors' and is part of a more technical aspect). Whilst we can update the TcmXHTML.config and ...
3
votes
3answers
4k views

Filtering XSLT replace is adding unwanted xmlns-attribute for one element

I'm using Tridion 2011 SP1 HR1 and have created a new schema with one RTF field and have applied the following filtering XSLT: <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1....
3
votes
2answers
732 views

Special Characters not rendering properly on live website

I am facing issue with production website which is displaying some special characters as black diamond shape with a question mark inside, on multiple browsers .However, the QA website is displaying ...
3
votes
3answers
129 views

Decimal code is changed to Sign symbol in RTF when switch between Design and Source tabs

When ever enter decimal code in RTF source tab and click on design tab, it is getting converted to sign symbol in both source and design tabs. For example, entered decimal code &#10003; in source ...
3
votes
2answers
236 views

WYSIWYG editor modification for inline link for rtf

I want to enable capture of additional information for inline links for the rtf. This additional information/attributes are standard html tags like is it new window or pop up for the target or window ...
3
votes
1answer
99 views

How to deselect an allowed action via core service for a RTF field

I am unable to get the allowed actions for a RTF field. any suggestions to allow or deny actions would be of great help. OrganizationalItemItemsFilterData filter = new ...
3
votes
3answers
896 views

Tridion adds unwanted xmlns-attribute to new html tags in RTF filtering XSLT

I'm replacing links in a RTF with an iframe wrapped with a div. I'm using <element name="div"> to create new tags. This works fine. However, the XML rendered when i switch to the source tab ...
3
votes
2answers
97 views

Embedding DXA entities other than images in RTF fields

We are using DXA 2.0 (Java) and can see if we embed images in RTF fields that the RTF contains the embedded Image entity as part of the set of fragments generated for the RTF. However if we link to ...
3
votes
1answer
148 views

Resolving Binary Links in RTF | OUT of the BOX

I need to resolve Binary Links (Dynamically) from RTF field of a Component. I don't use DWT TBB in my Template and rendering output using C# or Razor TBBs. I place OOB "default finish actions" TBB at ...
3
votes
2answers
420 views

XSLT filtering takes away some html tags

We use default Tridion XSLT for RTF field. This field should take any html text and save it as is. However, some fields are taken out after XSLT transformation. For example: input: <!--[if gt ...
3
votes
1answer
127 views

Enable styles in Design tabs of RTF field

We are using Tridion 2011 SP1. Is there any way to enable styles in Design tabs of RTF field? We have preview tab but editors are finding it as an extra activity to click on preview tab and see the ...
3
votes
1answer
208 views

Use Font-Awesome with SDL Tridion

I'd like to use Font-Awesome (http://fortawesome.github.io/Font-Awesome) in one of my projects but the CMS I'm using (SDL Tridion) is removing font-awesome characters like  from it's rich text fields....
3
votes
1answer
290 views

Problem creating new tags in RTF filtering XSLT

I'm trying to replace a link with an iframe in a rich text field but I can't get it to work. Somehow, it is not accepting the iframe-tag, or other tags for that matter. In the end, I'm trying to ...
3
votes
1answer
535 views

Component Creation Via CoreService - Rich Text Field Population

I'm currently working on the process of importing specific elements of legacy Tridion data (held within R5) into Tridion 2013 via the Core Service, and I've got a simple test pretty much up and ...
3
votes
1answer
51 views

Inserting a Component Link in RTF via Experience Manager Hangs

I'm attempting to add a Component link to a RTF via Experience Manager. I highlight the text I intend to update and then from the ribbon: Insert > Hyperlink > Type: Component and "Browse", this opens ...