custom-pages
custom-pages copied to clipboard
Custom "style" attributes removed
When change the style attributes of a RichText Field directly in the source code view they are removed.
Steps to reproduce?
To reproduce:
- Open a Richtext Element (HTML)
- Switch to HTML/Sourcecode View
- Add a Table in Source
e.g.
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
- Save
- Anything works as expected
- Now, when you open the Element in Editor, all custom attributes are removed