You cannot edit an issue after you use CKEditor multiple loads using the Easeui dialog popup box

Source: Internet
Author: User

Problem rendering: Pop-up Box page

<TRclass= "ADDTR">                    <th>Content</th>                    <TD>                        <!--<textarea rows= "cols=" id= "content" name= "content" class= "CKEditor" > Please enter .</textarea> -                        <textarearows= " the"cols= " the"ID= "Content"name= "Content"class= "CKEditor">Please enter.</textarea>                        <Script>                             varinstance=ckeditor.instances["content"]; if(instance) {Ckeditor.remove (instance);} //$ ("#content"). CKEditor ();Ckeditor.replace ('content'); </Script>                    </TD>                </TR>

First time use no problem, the second time the editor will not be able to edit

Reference to set Madol in the dialog property to False will still not resolve

Finally, the script code for the popup page is placed in the OnLoad event of the dialog.

"'    cache:false,        href:map[" href "],        modal:true,         onload:function () {             var instance = ckeditor.instances["Content"];            if (instance) {Ckeditor.remove (instance);}            $ ("#content"). CKEditor ();            Ckeditor.replace (' content ')        ,         buttons: [{            text: ' Save ',            iconcls: ' Icon-ok ',            handler: function () {for                 ("")

The problem does not arise, ask God to help explain, thank you!!!

You cannot edit an issue after you use CKEditor multiple loads using the Easeui dialog popup box

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.