Open jaidpr opened 5 years ago
it's simple, just add following code in the end of "editor.js". (after $.fn.editor function):
$.fn.disableEditor = function(){ $(this).data('editor').attr('contenteditable' , false); }
it's simple, just add following code in the end of "editor.js". (after $.fn.editor function):
$.fn.disableEditor = function(){ $(this).data('editor').attr('contenteditable' , false); }
Similarly, if we want to check if the textvalue is empty, how do we write a function ? @pyhp2017 Thank You.
Can you please let me know if there is a setting to disable the complete control. I had tried with 'readonly':true, but not disabling the control.