I’ve been able to specify the maximum number of allowed characters in all of my input forms expect for the BuddyPress Simple Front End Post TinyMCE input form.
Normally I create a JS with the following code.
jQuery('input#field_1').attr('maxlength', '14');
I can’t seem to find a way to target the TinyMCE input form.
I’ve trried the following code and multiple other attempts with no success.
jQuery('body#tinymce').attr('maxlength', '2000');
Is it possible to force or limit the number of characters when posting a blog article? If so, can you please point me in the right direction?
Thanks as always. J.C>
Hi John,
Thank you for the question.
Tinymce enabled areas are different than the normal text area and you will need to work with Tinymce API for the same.Here is what they suggest
https://www.tiny.cloud/docs-3x/howto/words/
Regards
BrajeshHi John,
Thank you for the reply and confirming.
Regards
Brajesh
The topic ‘ [Resolved] BuddyBlog/BuddyPress Simple Front End Post – Min and Max characters – TinyMCE’ is closed to new replies.