Hi i am looking for the functionality on the client side for the Editor from which i can get the exact character count of the Characters if its in HTML mode (i.e mode = 2).
i have used
oValue = Editor.get_html(true).trim(); ----(a)
-In this case oValue.length is showing the result which is a count of text entered by user as well as the html tags included.
also i have tried var oValue = Editor.get_text(true).trim(); ----(b)
-In this case we are getting the plain text count text count
eg: if i enter: B
(text is bolded just to distinguish)I shud get count = 3 as we get in MS word if we check. but from (a) and (b) we get diffrent result. This is creating trouble with our QA as we are not getting things approved due to this :(. Can anybody help me on this.