How to extend multiple extjs classes? | Community
Skip to main content
vikramca06
Level 4
October 16, 2015
Solved

How to extend multiple extjs classes?

  • October 16, 2015
  • 2 replies
  • 1566 views

Hi,

I am trying to add more features to /libs/cq/ui/rte/core/commands/DefaultFormatting.js like shade, fontcolor, allcaps. In DefaultFormatting.js file it extends Command.js file by default.Here i'm trying to add a dialog to get user inputs like in TablePlugin.js file, but i'm getting this.editorKernal not defined because editorKernal available only in Plugin.js.

So to get access to editorKernal i need to extend Plugin.js in /libs/cq/ui/rte/core/commands/DefaultFormatting.js.

Any idea how we can call editorKernal? or how we can add a dialog to /libs/cq/ui/rte/core/commands/DefaultFormatting.js?

Thanks.

Vikram.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

vikramca06
Level 4
October 16, 2015

Thanks Sham.