Modifying Display of Text Window in WYSIWYG (CLEditor) v 1.3.1 in v2.1 stable
Hi all,
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.
Comments
Peregrine made a plugin for this I believe ... You can also add text or anything by using JavaScript .append or . prepend I am on mobile but you can see how I did it by checking out the index plugin which has the jquery to append the menu. You would find the text form element you wish to append and use that instead of menu.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Check out the Word Count plugin here: http://vanillaforums.org/addon/wordcount-plugin
Search first
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
http://vanillaforums.org/get/addtexttobox-plugin
like so:
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.
http://vanillaforums.org/addon/addtexttobox-plugin
if it works for you in 2.1
you can add to list here:
http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1
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.