Highlighted

Inputting asterisk in a RTE

Avatar

Avatar

carloso72558986

Avatar

carloso72558986

carloso72558986

09-10-2018

Since * is used on RTE component to make text bold, is there a way to escaping it so that it can be used in text. In text * usually means that there's a footnote about that topic, so it make sense to be able to use that character.

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

09-10-2018

You can use * character in a RTE. When you submit the text - the * character appears in text.

Highlighted

Avatar

Avatar

carloso72558986

Avatar

carloso72558986

carloso72558986

09-10-2018

No it doesn't work. What happens is that the RTE component thinks is the start of text that needs to be in bold, so every text after the * appears in bold and the * is not shown.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

09-10-2018

Using Core Text Component here:

RTEAAa.png

Output --

RTEAA.png

What version of AEM are you using and what components - libs, core?

Highlighted

Avatar

Avatar

carloso72558986

Avatar

carloso72558986

carloso72558986

09-10-2018

If I use only one * in the text it works. But if there are 2 *, then component renders the text between as bold. And the *'s are not shown anymore.

Screen Shot 2018-10-09 at 12.54.19 PM.png

Renders like:

Screen Shot 2018-10-09 at 12.54.34 PM.png

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

09-10-2018

Hi,

Can you check what values are store in JCR property when you submit dialog.

Highlighted

Avatar

Avatar

Ravi_Pampana

MVP

Avatar

Ravi_Pampana

MVP

Ravi_Pampana
MVP

09-10-2018

Hi,

I tried in new AEM 6.4.0 and not able to replicate the issue. Tried 4 different ways. What is the version of AEM you are using ?

Screen Shot 2018-10-09 at 12.37.04 PM.png

Screen Shot 2018-10-09 at 12.36.52 PM.png

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

09-10-2018

No one within Adobe whom i have spoken too can reproduce this issue, Can you see if this can be re-produced on your end in a fresh AEM instance. 

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-10-2018

If you keep getting this - customer care asked that you open a support ticket.

Highlighted

Avatar

Avatar

carloso72558986

Avatar

carloso72558986

carloso72558986

10-10-2018

Good point: I checked the value in the JCR, is still stored as an * but because of this I now think I know what's the issue. Thanks