Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to remove ckeditor instance?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 2.89k
    Comment on it

    When we use CKEditor for a text area it creates an instance of an editor for this text area. But in some case, if we remove this element the instance of CKEditor not removed and it show on our browser, so for removing it completely we use

    <textarea id="textareaid"></textarea>
    
    <script>CKEDITOR.replace( 'textareaid' );</script>
    if(CKEDITOR.instances["textareaid"])
    CKEDITOR.instances["textareaid"].destroy();

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: