Hi, I have upgraded from 11.2 to the current service released and realised that all my text editor controls have aditional styling applied. Is there any way that I can disable all the styling being applied to the text editors.
I hace tried the following:
$("[data-datatype=Currency]").each(function () { var $this = $(this); var disabled = $this.attr("disabled"); $this.igCurrencyEditor({ theme: "", renderInContainer: true, valueChanged: function () { eval($this.attr("onchange")); } }); $this.removeClass(); $this.parent().removeClass(); $this.attr("disabled", disabled); });
But the you are stuck with the focus and hover styling that gets applied via script.
Thanks in advanced
Regards Christoff
Hi Christoff,
Thank you for posting in the community.
As you have noted, some styling is applied on the texteditor upon actions such as hover and focus. I would therefore suggest that you create a custom there for your editor where empty CSS classes can override the undesired default styling. Instructions on how this can be done along with a list of the more common classes used can be found at:
http://help.infragistics.com/NetAdvantage/jQuery/Current/CLR4.0?page=igTextEditor_Styling_and_Theming.html
Please let me know if this helps.
Hi I have implemented the editors using the custom styles and overriding the applied styles. I am just struggling to get the text controls to look like the default browser's controls with no styling applied to it, e.g. how do I get the text control's borers to look like the normal controls, especially when hovered upon. Is there no way I can just disable all styling being applied?
Thanks Christoff