Can we restrict a style plugin to be available only for certain selection in paraformat plugin | Community
Skip to main content
Level 3
January 17, 2019
Solved

Can we restrict a style plugin to be available only for certain selection in paraformat plugin

  • January 17, 2019
  • 1 reply
  • 1122 views

Hi,

I have a requirement where the styles plugin should be available only when the author select heading 1 to heading 6 in the paraformat plugin

So the Style plugin has to be available only when the author selects heading1 to heading 6

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

I'm not aware of any solution OOB to achieve this use case but to write your own custom 'paraformat' plugin and register it in specific editor modes.

References for writing custom plugin -

Experiencing Adobe Experience Manager - Day CQ: In the blog "Experiencing Adobe Experience Manger - Day CQ"

AEM | RTE – Custom Styles Plugin – Touch UI – Need is the mother of invention …

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
January 17, 2019

I'm not aware of any solution OOB to achieve this use case but to write your own custom 'paraformat' plugin and register it in specific editor modes.

References for writing custom plugin -

Experiencing Adobe Experience Manager - Day CQ: In the blog "Experiencing Adobe Experience Manger - Day CQ"

AEM | RTE – Custom Styles Plugin – Touch UI – Need is the mother of invention …