How To Remove Html Code At The Time Of Page Loads Ck Editor Loading The Text In Asp.net
In my wed application, I have one page it contains ck editor when i load that page ck editor showing some fraction of seconds HTML code after it will display text in ck editor. I n
Solution 1:
CKEditorYou can use a simple javascript trick to "hide" the CKEditor until it has been initialized.
<divstyle="height: 400px; width: 600px;"><divstyle="display: none"id="CKPlaceHolder"><asp:TextBoxID="CKEditorTextBox"runat="server"TextMode="MultiLine"></asp:TextBox></div></div>
I use 2 <div>
elements. One to actually hide the editor and the first one as a placeholder to prevent the jumping of the content once the editor will be shown.
And then somewhere in JavaScript:
setTimeout(function () { document.getElementById('CKPlaceHolder').style.display = "block"; }, 500);
Post a Comment for "How To Remove Html Code At The Time Of Page Loads Ck Editor Loading The Text In Asp.net"