0

I want a line length indicator similar to https://codepen.io/beneggett/pen/GJgVrp in the tinyMCE Editor included in wordpress.

Any ideas on how to acomplish this?

  • You should be able to lift the JS and CSS from that codepen and include it in your theme. You'll need to tweak the JS load, though, to be compatible with TinyMCE (you'll have to tell it to load after TinyMCE is done loading, but there's a hook in TinyMCE for doing exactly that - check the TinyMCE docs for details). – Ted Stresen-Reuter Aug 30 '19 at 16:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.