Uploaded image for project: 'Newsletter'
  1. Newsletter
  2. NEWSLETTER-257

In the model.xml we should be able to add css classes that does not disappear when the content is edited with tinymce

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0
    • None
    • None
    • FF

      How to reproduce :

      • in the model.xml of the newsletter, insert this lines :
        <table class="body table-row">
              <tbody>
                <tr>
                  <th class="small-12 large-12 columns first last newsletter-title">
            		<h1>
             		<span>N</span>ewsletter
            		</h1>
            	  </th>
            	</tr>
           	  </tbody>
             </table>
      • create a new newsletter with this model
        > the preview contains all classes :
        <table class="body table-row">
              <tbody>
                <tr>
                  <th class="small-12 large-12 columns first last newsletter-title">
            		<h1>
             		<span>N</span>ewsletter
            		</h1>
            	  </th>
            	</tr>
           	  </tbody>
             </table>
      • Edit the newsletter content without modifying anything and preview again
        > all classes have desapeared :
        <table>
        <tbody>
        <tr>
        <th>
        <h1><span>N</span>ewsletter</h1>
        <center data-parsed=""></center></th>
        </tr>
        </tbody>
        </table>

      This classes are "foundation for emails" classes that supposes help us to make responsive and compatible mails for most application. We really need it to define the newsletter zones to create columns for example.

            raphael Raphaƫl Franchet
            llopez Laure Lopez
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: