CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Two WYSIWYG quirks
Pages: [1]

Author Topic: Two WYSIWYG quirks  (Read 814 times)

jrkelley32

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Two WYSIWYG quirks
May 06, 2009, 10:17:00 am
Outlook 2007 does not use inline style sheet statements, so resizing images using fckeditor screws up Outlook emails.
I tried switching to TinyMCE but that strips out the css include at the top of top email.  I've read that I need to add
style sheets to the extended_valid_elements in the TinyMCE.init call.  That occurs in several places so I'm looking for the correct one now.  Believe I found it under the quickform area.

OK, it worked when I added:
    height : "960",
    extended_valid_elements : "a[name|href|target|title|onclick],link[href|rel|type],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
to tinymce.php in the quickform area.  Note the height statement it just to make for a larger working area when creating the mailing html.
« Last Edit: May 06, 2009, 10:33:34 am by jrkelley32 »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Two WYSIWYG quirks

This forum was archived on 2017-11-26.