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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:03:20+00:00 2026-06-19T01:03:20+00:00

var editor = CKEDITOR.instances[‘fullHTMLTextArea’]; if(editor) { editor.destroy(true); } Can anyone explain it properly?

  • 0
var editor = CKEDITOR.instances['fullHTMLTextArea'];
if(editor)
{
    editor.destroy(true); 
}

Can anyone explain it properly?

  • 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-19T01:03:21+00:00Added an answer on June 19, 2026 at 1:03 am

    According to CKEDITOR API doc

    var editor = CKEDITOR.instances['fullHTMLTextArea'];
    

    part tells

    Holds references to all editor instances created. The name of the
    properties in this object correspond to instance names, and their
    values contains the CKEDITOR.editor object representing them.

    and

    if(editor){
        editor.destroy(true);---> must be
     //editor.destroy();
    
    }
    

    tells

    Destroys the editor instance, releasing all resources used by it. If
    the editor replaced an element, the element will be recovered.

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

Sidebar

Related Questions

We have a CKEditor in place, on a ASP.Net MVC 3 page: var editor
this is how I destroy CKEditor instance: CKEDITOR.instances.Divname.destroy(); with Divname being id of the
My CKEditor code is window.onload = function() { var editor = CKEDITOR.replace( \'big_info\' );
Can anyone tell me how to expand or enlarge the selection in CKEditor. I
I'm using markdown editor in my app. $(document).ready(function () { var converter = Markdown.getSanitizingConverter();
With CKEDITOR, when I use JS to get the contents of the Text Editor,
Goal, is to extract the content for the CKEDITOR Text Editor, and then only
I'm new to CKEditor , writing my first plugin and i just can't find
I am using CKEditor for my wysiwyg editor and I need to monitor and
I have the following javascript code: var editor = new tinymce.Editor(id, settings); On window

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.