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

RTE Custom styles plugin- issue with style selection check mark

Avatar

Avatar
Validate 1
Level 2
Aem_Rockstar
Level 2

Likes

0 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Aem_Rockstar
Level 2

Likes

0 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
Aem_Rockstar
Level 2

25-02-2019

I have created a custom style plugin in rte. For OOTB style plugin when selection is made and saved it can be viewed even after dialog is closed and opened again. But for the custom plugin when style is selected and saved, when we opened back we are unable to see which style is selected. Please find the pictures below.

1698703_pastedImage_0.png

1698821_pastedImage_1.png

In the first case i have selected h2 center alignment. Even if the dialog is opened and saved authors can see that. But in second case Avenir 13 is selected the style is getting applied but authors when they come back and see they aren't able to see which selection is it. Can some one please help with it?

Replies

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

25-02-2019

the issue is probably with your custom code plugin where you've missed out this configuration.

you'd have to share code otherwise debug OOB implementation to find out the gaps.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 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,406 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

26-02-2019

I asked our touch ui team to give input here. They said look here as an example - http://experience-aem.blogspot.com/2018/04/aem-64-add-blockquote-plugin-to-content-fragment-rte.html