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 6530955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:49:08+00:00 2026-05-25T09:49:08+00:00

I disabled the advanced & target tabs from the link dialog, and only left

  • 0

I disabled the advanced & target tabs from the link dialog, and only left the URL input box.

Actually what I did is exactly explained here: http://peterpetrik.com/blog/remove-tabs-and-elements-from-ckeditor-dialog-window

My question is, is it possible to add a text string to the dialog (as my supplement hints for users.) ?

  • 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-05-25T09:49:09+00:00Added an answer on May 25, 2026 at 9:49 am

    Yes, you can use ” add(elementDefinition, nextSiblingId) “, to add elements to the dialog.

    From the code on the page in your link, I added “infoTab.add” before the “infoTab.remove” entries:

    infoTab.add(
      {
        type : 'html',
        html : '<div id="myDiv">Supplemental <b>hint</b>.</div><br />'
      },
      'linkType'
    );
    
    // Remove unnecessary widgets from the 'Link Info' tab.         
    infoTab.remove( 'linkType');
    infoTab.remove( 'protocol');
    

    The nextSiblingId is used to place the new element above an existing element.
    I assigned “linkType” as nextSiblingId to place the new element above the url input box.

    To place the new element between the url input box and the browse button, replace ‘linkType’ with ‘browse’ ( ‘browse’ is the id assigned to the browse button in the definition for the link dialog ).

    To place the new element below the button, just remove ( , ‘linkType’ ).


    Between this information and that found on the page you linked to, you should be able to accomplish your goal.

    If you want to get a better understanding of your options, you can look at the following files:

    The source files for the link dialog:
    http://docs.cksource.com/ckeditor_api/symbols/src/plugins_link_plugin.js.html
    http://docs.cksource.com/ckeditor_api/symbols/src/plugins_link_dialogs_link.js.html
    http://docs.cksource.com/ckeditor_api/symbols/src/plugins_link_dialogs_anchor.js.html

    The source files are also in your CKEditor directory:
    ckecitor/_source/plugins/link/

    The CKEditor documentation is located here:
    http://docs.cksource.com/

    Some relevant info from the CKEditor API:
    CKEDITOR.dialog
    http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html

    CKEDITOR.dialog.definition.html
    http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.html.html

    CKEDITOR.dialog.definitionObject
    http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definitionObject.html

    CKEDITOR.dialog.definition.contentObject
    http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.contentObject.html

    Be Well,
    Joe

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

Sidebar

Related Questions

I have a requirement to add conditional disabled & class attributes to a dropdown
i disabled safe_mode by off value and tried with shell_exec(),exec() both functions on 1and1
Our network admins have disabled IMAP and POP for our exchange server, but do
MSDTC is disabled by default (windows 2003 - onwards) and I want to have
I believe I have disabled the view state on all controls as well as
i have disabled all the checkboxes except one. On click of that checkbox i
As JavaScript can be disabled in the browser by the user, I wonder if
I am trying to set the disabled font characteristics for a Label Control. I
Consider the following code: $(a).attr(disabled, disabled); In IE and FF, this will make anchors
If have an element that maybe disabled on a page, and would like to

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.