Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Strikethrough Plugin for RTE

Avatar

Avatar
Validate 1
Level 1
PRADEEP_KUMAR
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
PRADEEP_KUMAR
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
PRADEEP_KUMAR
Level 1

15-10-2015

Does AEM RTE has a strikethrough inbuilt plugin? If not how can i implement in my project with out using styles.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

15-10-2015

See the styles functionality in this community article:

[img]heroComponent.png[/img]

here is the article:

https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

TO make it easier - we have provided the hero component in the article. It uses the strikethrough plug-in. 

You can download it, deploy it, and look at how it works. Read the article that explains it. Experiment with the different plug-ins too for the RTE. 

Hope this helps

Answers (3)

Answers (3)

Avatar

Avatar
Give Back 5
Level 1
ravi64892
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 5
Level 1
ravi64892
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
View profile
ravi64892
Level 1

10-05-2021

The links shared are not working now. Can someone help me or share the links to enable strikethrough plugin. 

 

It is working for me in in-place editing full screen mode. But for dialog mode and dialog full screen i don't see the styles plugin in rte options even after adding the plugin.

Below are the steps performed. 

  1. Created a node under <rte-plugins>/styles --> type : nt:unstructured
  2. Add property features and value as *.
  3. Create 'styles' node of type cq:widgetCollection.
  4. create individual style (in my case i created strikethrough of type nt:unstructured)
  5. Added below properties
    1. cssName [String] : strikethrough
    2. text[String] : strikethrough
  6. Added the same plugin in cq:editConfig which enabled the styles in in-place edit full screen mode as shown below.

Trying this in AEM as a cloud service SDK local instance. Attached the screenshots for reference. Please help me out in getting styles plugin in dialog mode and dialog full screen.

edit dialog mode - not working.pngin-place edit fullscreen -working fine.pngdialog full screen- not working.png

 

 

Avatar

Avatar
Validate 1
Level 1
PRADEEP_KUMAR
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
PRADEEP_KUMAR
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
PRADEEP_KUMAR
Level 1

15-10-2015

Thanks Bsloki for the reply.

I have other styles in place for changing the font-size. If I use style for strike-through, I cannot configure both at the same time.

Eg: Font-size : 42px and strike-through.

Any way we can accommodate both?

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

15-10-2015

Hi Pradeep,

 We have to use style but that can be added to RTE. Please refer [1] to implement the same

[1] http://blogs.adobe.com/contentmanagement/tag/custom-richtext/

 

Regards,

bsloki