Markup within a table

This example shows how formatting works within a table.

Code

<!-- element -->
<textarea id="entry">
    <h1>...</h1>
    <p>...</p>
    <table>
        <tr>
            <td>
                <h2>...</h2>
                <p>
                    ...
                </p>
            </td>
            <td>
                <figure>
                  <img src="photo.jpg" alt="Blue and purple galaxy">
                  <figcaption>...</figcaption>
                </figure>
            </td>
        </tr>
    </table>
</textarea>

<!-- call -->
<script>
let app = Redactor('#entry');
</script>