Modifying Display of Text Window in WYSIWYG (CLEditor) v 1.3.1 in v2.1 stable
Versions of everything relevant are in the subject line. (I suspect "This Will be a Job for Super @vrijvlinder", but I'll ask out here.)
I have a problem with people copy/pasting 20-page word .doc syllabi directly into the text window and then wondering why the forum chokes on it or formats it terribly or cuts off the last 7 pages.
Now, I could just switch to button bar, which would ignore all that formatting BS and put in raw text, but the Powers That Be really want the formatting options the way they are right now.
So I've decided on the "soft" option of a stern warning, informing people to keep the copy-pasting down to ~10 pages at max, attach larger files to the post, as Dog intended, and don't come crying to me when they ignore these instructions and everything goes haywire. (See example, below.)
Basically, I would like the warning to appear in the location specified, but I have to admit that I haven't been able to figure out how to put any text in that area.
SO: if anyone even has a general suggestion about which file I need to edit - something to get me started in the right direction - I'd appreciate it.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Check out the Word Count plugin here: http://vanillaforums.org/addon/wordcount-plugin
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
wordcount is a good option. if you want to display count left.
However - if you want a warning message like so.
you can add text and style what you want via definitions with this plugin.
you can get it here
e.g. in conf/locale.php
works with all editors I tried. I think it is an overlooked plugin, that is actually pretty handy.
description and plugin.
if it works for you in 2.1
you can add to list here:
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Perfect! Exactly what I needed.