Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8196225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:24:47+00:00 2026-06-07T05:24:47+00:00

I have an ExtJS RichText (CQ5 Component that has been extended from the CQ.form.rte

  • 0

I have an ExtJS RichText (CQ5 Component that has been extended from the CQ.form.rte).

There are rtePlugins that are supported using the following, as anyone would:

credit = new CQ.form.RichText({
    height       : 100,
    width        : 400,
    fieldLabel   : 'Photo Credit',
    rtePlugins   : {
        misctools: {
            features: ['specialchars', 'sourceedit'],
            specialCharsConfig: {
                chars: CN.Author.Util.specialCharacters
            }
        }
    }
});

When I click on Source Edit, I want to manipulate the DOM and add a class to the HTML. What I mean is, I want the RTE editor to automatically add an extra class to the Source – the value of the RTE field, before saving. Kindly help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T05:24:50+00:00Added an answer on June 7, 2026 at 5:24 am

    Well you’ll have to probably override MiscToolsPlugins.js, EditorKernel.js, HtmlRules.js, and HtmlProcessor.js. Probably isn’t worth it all. You are probably better off putting your rule in the styles drop-down (see Styles plugin).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ExtJS Viewport with a container that has the border layout and
We have got an extjs 3.1.1 form with file upload field ( http://www.extjs.com/deploy/dev/examples/form/file-upload.html from
I have a simple ExtJS 4 (xtype form) inside a window. It has two
I have an ExtJS grid that has a button set up in it. The
So I have a ExtJs 4 Grid Panel that has two columns. Column ONE
I have an ExtJS application that needs to display an html document within a
I have an ExtJS xtemplate that is throwing errors because of the way a
I have an extjs component in its raw object type, for example: var x
I have the following extJs window which has two tabs in it. One of
I have ExtJS View-Port panel , that contain center panel, that contain tablpanel ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.