Very complicated
There are no settings for medium editor to limit input length https://github.com/yabwe/medium-editor. Any feature like this would need to be added to Medium Editor. I’m just using this editor and making it work as an ACF field type.
The real issue is that there can be multiple editors. To do this without it being a feature added by Medium Editor I would need to build a character limit into the field settings and then build the JS needed to impose the limit. It would also mean parsing the HTML of the content in order to only count characters and not html tags. This is not something that could be added without making the changes to this plugin because you’d need to “subscribe” a callback function for each editor instance when it is created. Either that or I’d need to build some type of an “action” system into this plugin.
Thanks for your answer.
I was looking into this plugin which seemed to have an option to limit characters to the wysiwyg in acf V4.
https://github.com/AtomicSmash/ACF-limiter-field
But from reading this I understand it is fairly complicated.
https://github.com/yabwe/medium-editor/issues/962
Thanks for the info.
If they get some feature added to the editor I will definitely look at incorporating it into this plugin.