Advanced HTML Editor 3 Support Product Page

Under consideration

Character Counter For AHE

Shared 27 Mar 2012 21:49:46
like this idea
27 Mar 2012 21:49:46 billy flynt posted:
Does AHD 3.x support ability to add our custom function or custom plugin to access the WYSIWYG content?

We want to add a Character Counter, like this similar application:

Thanks in advance for any feedback.


This reply was removed on 3/27/2012 9:58:24 PM.
See the changelog
Replied 28 Mar 2012 06:20:16
28 Mar 2012 06:20:16 Teodor Kuduschiev replied:

Unfortunately this is not possible in the current version of the editor.

Thank you for the idea, i'll pass it to our development team!
Replied 02 Apr 2012 15:57:00
02 Apr 2012 15:57:00 billy flynt replied:
In the meantime, we have customized AHE to handle the character counter.

Please let us know when this feature is integrated.

Thank you.
Replied 11 Apr 2012 20:25:13
11 Apr 2012 20:25:13 R W replied:
I have all but perfected a counter function for another editor for my programs which uses a bunch of regex to strip all tags and give a closer to real count of only typed characters (with a "tags-and-all" limiter too to help avoid exaggerated "idiot" entries). It can set the alarm (colour etc as in your example) as a word counter also.

Overcoming the usual     strings of multiple spaces was a bit tricky too, as I believe often the average woodduck visitor using these forms wouldn't care to try and remove / cleanup such stuff.

The counting solution included using an internal entities type init option that editor offered. This lends itself to reliable conversion of entities to single counted characters.

It was my experience it depends on just where / how one can hook in to onchange and key-up etc, plus what init options are available. Now it can handle quite large whole pages of html with almost negligible as-you-type speed loss with large pages. It took a while to sort that and it depends on the editor in question and what it offers / allows for hooks.

So it all comes down to an issue of creating a decent callback function which would not really need to be an integral part of the actual editor.

I strongly suggest no one wastes time with the idea of blocking typing when the limit is reached... it can just go crazy, the reset carot placement, in some browsers and annoy the hell out the user who may simply leave with frustration.

Because I've spent so much time on ???? I haven't had a close look at this editor yet but I would really like to get away from the arrogance of the supposed forum maintainers / advisers? at the other and I like the professionalism and products here.

Anyhoo it can be done and there is a need for it. I hope I can convert to this editor some day. First I gotta get right in to that .pdf manual.

Replied 29 Jun 2012 09:13:01
29 Jun 2012 09:13:01 George Petrov replied:
Hi All,

Please send me any code solutions, so I can review them and see the possibility of integration as AHE plugin.

Mail to

This reply was removed on 11/24/2015 7:54:16 AM.
See the changelog

Reply to this topic