Main question: How to perform a basic redefinition of the plugin method without editing the plugin source file?
Is it possible to create an override for a specific instance:
Example: The rtf plugin uses:
$('selector').wysiwyg('setContent',newContent);
To display rtf text as readonly, I would like the same method to be applied to the div instead of the IFRAME body
I would like to overwrite the original 'setContent' with my own code, for this single element only.
thanks
source share