WordPress.org

Ready to get started?Download WordPress

Forums

Knews Multilingual Newsletters
Knews wysiwyg cleaning needed paragraph attributes (2 posts)

  1. sam45698
    Member
    Posted 1 year ago #

    Concerning the wysiwyg of Knews when adding text content into newsletter, I have noticed that when you make a cariage return to add a paragraph, the editor create a new "p" tag and keep some styling from the p tag from which you hit enter.

    The problem here is that it will keeps only some predetermined attributes, and if these attributes don't have zero as value. But to keep visual aspect in all mail clients, some precise attributes have to be kept. For example, hotmail (now called Outlook) has to have "margin-bottom:0px" in p tag otherwise it will be adding a margin-bottom of 1em even if you had "margin:0px". We also have to keep "line-height:1" for that one. But the actual wysiwig will clean these attributes in added paragraphs.

    Is there a way to custom adjust these settings?

    http://wordpress.org/extend/plugins/knews/

  2. creverter
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Sam!

    You're right, any tag <p> without styles to avoid the defaults will be shown different in every email client.

    But... I can reproduce the issue! I just tested it in Win Chrome / FF / IE 8 & 9, and on Mac in Safari and Chrome!

    Please, tell me what platform, browser, version, template and exact steps... (free text, post insertion, paste, etc.)

    Regards,
    Carles.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic