Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Strip out WYSIWYG Editor from Textarea Datums?
Shazzer
Has anyone wanted to or managed to remove the WYSIWYG editor from the textarea datums - or a better question - is this possible? (LS v2.2.1)
Our reasons for needing to do this are stacking up as the problems we are finding with it increase. The only other option is to write scripts to validate, strip out and alter the default behaviour of the editor itself, which is a pretty bad option considering we don't use the WYSIWYG's functionality and it is actually hindering our editors' production of pages.
Has anyone done this?
Find more posts tagged with
Comments
wscott
Removing the visual editor from the textarea datum would be fairly difficult. You MIGHT be able to do it by hacking Textarea.jsp, but I have not tried this. Replace the property:type-textarea tag with something along the lines of this:
[html]
:
" wrap=off cols="49">
<write name="property" property="value"></write>
[/html]
You will need to experiment to get this to work... also backup your changes to this file since re-creating the toolkits (done during an upgrade, for example) will blow away any changes. Note that this is
totally unsupported
so try it at your own risk.
Other workarounds you can try:
1. Use a String datum for short pieces of text. Editors can use Notepad to write the text and cut-and-paste into the text field.
2. Use DCRs for larger or more structured content. The DCR editing environment is a bit richer for editing elaborate or re-usable data.
Finally, note that we are going to replace the visual editor with a better one in the next version of LiveSite.