摘要:CKeditor Read/Write
常常有時需要只read ckeditor,雖然也許有正規的函數,但其實直接控制要不要load &replace即可,用計算的js,read時這段replace textarea code就直接hidden,此時就會show出原來Content 裡存的html碼
"<script language=\"JavaScript\" type=\"text/javascript\">if (document.getElementById('Content') != null){CKEDITOR.replace('Content');}</script>"