Quantcast
Channel: CKEditor™ Provider for DNN®
Viewing all articles
Browse latest Browse all 1992

Commented Unassigned: CKEditor hidden after form validated false [8067]

$
0
0
After i submit my form has validatecontrol, the CKEditor is destroyed (hidden). how i can re-show CKEditor after it hide?
Comments: ** Comment from web user: thienvc **

Temp im must fix on client-side by this code

Call setTimeout onClick lbtSave, if CKE destoyed then re-load it.

setTimeout(function(){
//ko có _busyRequest sẽ gây conflic CKE
if(_busyRequest) return;

console.log('click Save delay 100');
if(CKEDITOR && CKEDITOR.instances
&& typeof(CKEDITOR.instances.<%=txtContent.ClientID%>_txtContent)== 'undefined'
&& typeof(LoadCKEditorInstance_<%=txtContent.ClientID%>_txtContent)!= 'undefined')
{
console.log('reloadCKE');
LoadCKEditorInstance_<%=txtContent.ClientID%>_txtContent();
}
}, 100);


Viewing all articles
Browse latest Browse all 1992

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>