How do I turn off the source view so that it only shows the rich text and not the source area below it?
Thanks!
Hi,
In 12.1 igHtmlEditor doesn't have such an option, but it will be implemented in the future. You can accomplish this with workaround.
Here is the code:
#htmlEditor prefix in the selectors is the ID of the DOM element on which the igHtmlEditor is instantiated.
Hope this helps,
Martin Pavlov
Infrgistics Inc.
Sorry for the delay in posting! Thanks for this.
However I'm still getting the <textarea name="source"/> displaying by default under the actual editor in every browser.
I tried to get rid of it like this in the rendered function:
$("textarea[name='source']", this).hide();
But no dice. It won't go away. what am I doing wrong?