function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rupesh ranjanrupesh ranjan 

How to make Ck editor read only mode in Visualforce page

How to make Ck editor read only mode in Visualforce page
VinodKRVinodKR
Hi Rupesh,

Try this:

<script type="text/javascript">
$(document).ready(function()
{
         
var myeditor = $('#myeditor');
myeditor.ckeditor();
myeditor.ckeditorGet().config.readOnly = true;

});
</script>

Thanks,

Have a great day ahead,Let the Force be with you!
Please mark this as best answer if it helps you.