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

  • SEARCH
  • Home
  • 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 8924825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:31:22+00:00 2026-06-15T07:31:22+00:00

I am using CKEDITOR 3.6. I want to remove an ‘Anchor’ plugin from the

  • 0

I am using CKEDITOR 3.6.

I want to remove an ‘Anchor’ plugin from the toolbar configuration based on some condition. I am adding the toolbar values as below.

var isAnchor="False";
config.toolbar = 'MyconfigTool';

 switch (toolbarType) {
    case "formatLink":
        config.toolbar_MyconfigTool= [
            ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'],
            ['Link', 'Unlink', 'Anchor']
            ]
            break;
    case "findLink":
        config.toolbar_MyconfigTool= [
            ['Find', 'Replace', '-', 'SelectAll'],
            ['Link', 'Unlink', 'Anchor']
            ]
            break;
            }

And now i want to remove that added ‘Anchor’ plugin from that toolbar if isAnchor='false'.
How can i do this.

I have tried the following but i can’t success

 if(isAnchor== 'False'){

    config.removePlugins = 'Anchor';

}

And i dont want to rebuild that toolbar again. I just want to remove that added plugin.

  • 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-15T07:31:24+00:00Added an answer on June 15, 2026 at 7:31 am

    You can’t just “rebuild” toolbar. You would have to hack the source pretty badly to achieve that. Normally, entire editor has to be reinitialized with the new toolbar config.

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

Sidebar

Related Questions

I am using CKEditor and want to allow the insertion of embed code from
I'm using CKEditor in a CMS I've built. I want use the ability to
I am using GWT-CKEditor for my application. And I want to test it through
I'm currently working with ckeditor and i'm using the jquery plugin for this editor
I am using the CKEditor for my website along with PHP, and want to
I am using CkEditor for by replacing a text area. I want to open
I'm using CKEditor on a textarea and the jQuery validation plugin ( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ )
I am using in place ckeditor with jquery drag and drop. I want to
i am using ckeditor,now i want to translate the content in onChange event using
I'm using CKEditor to allow editing of template-based HTML newsletters with inline CSS. Each

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.