Justin J <email@example.com>
Subject: Re: Disable WYSIWYG editor after install?
In-Reply-To: Disable WYSIWYG editor after install?
Date: September 8th 2012
On Sep 8, 2012, at 11:53 AM, Mary Ann Kelley wrote:
> Is there a way to disable the WYSIWYG editor after install? We have it in our installation but after saving the source code in a scheduled mailing, it strips out the <html> and <body> tags. This is a problem because often the mailings have styles in the body code that are critical to proper display of the mailing (like a background color other than white). Is there something I can comment out to remove the editor and go back to saving straight HTML without the editor?
Yeah - in your list control panel, go to:
Your List Control Panel » Options and choose,
( ) Don't use a WYSIWYG Editor
The problem of using styles in your <body Here's some advice from an old post on MailChimp's blog about background colors ( I should really write my own - or provide a filter):
Background Images and colors in HTML Email
If you want to set a background image or color in your HTML email, you can set it in your BODY tag, where it usually goes. That'll work ok for some desktop email applications, like Microsoft Outlook.
But to make it work across more email applications, you need to "rig" your code so that your entire email is set inside a big TABLE WRAP. Just set a big table that's 100% wide, then specify your background color and image there. We recommend doing it the old-fashioned "bgcolor" or "background="" way. If you prefer doing it with CSS, be sure to read the "CSS" tips below. As with all images in HTML email, they need to be hosted on your server, and you need to point to them with absolute (not relative) paths.
Once you've created the big TABLE WRAP with your background color or image, place your actual newsletter code inside, and you're good to go.
If you're a very experienced web designer, this will no doubt make you feel dirty, and make you want to take a shower immediately afterwards. But HTML email isn't as reliable as web pages are (yet) and there are way too many email apps out there that display HTML differently. Until all the various email apps get a little more consistent, you're going to have to get used to "rigs" like this.
CSS in HTML Email
There are all sorts of "CSS tips and tricks for HTML email." But the main thing to remember is that the <HEAD> and <BODY> tags get stripped when HTML email is displayed in browser based applications. So that means you can't link to an external CSS file from the <HEAD> portion of your email. You'll need to use embedded or inline CSS in HTML email instead. And, if you take the embedded approach, be sure to place all your code BELOW the <BODY> tag. Place it just above your content. Feels dirty, I know. But it's the only way to get CSS to work (reliably) in email.
This also has some updated information, do a page search for, "Background Images"
I think it's fairly safe to use css for background stuff, rather than just, bgcolor="", etc.
<< Previous: Disable WYSIWYG editor after install?
| Archive Index |
This mailing list is to discuss the nerdy programming development of Dada Mail -
If you are just looking for support Dada Mail, consult the message boards at:
To post to this list, send a message to:
All subscribers of this list may post to the list itself.
Some on topic... topics include:
At the moment, there aren't many people with CVS access for Dada Mail - if you would like CVS access, please first talk about the changes you propose and how it will affect the program. If the idea is sound and agreed upon, the change will be comitted. A good track record of this will allow you to have CVS access. Some reasons that patches will not be accepted is if the patch breaks compatibility with a previous version of the program, the patch is too centric to your own problem or the patch simply isn't very good.
Please, please please familiarize yourself with the documentation at:
Since no one wants to answer the same question twice.
Another sneaky reason for this mailing list is to test out the discussion list capabilities of Dada Mail, since Dada Mail is used for the mailing list itself.
NOTE - because of this, there may be times that this list will be somewhat broken. Although we're not planning on breaking the program by using it, we're giving you the heads up that this may well happen anyways.