• Hi,

    I installed tinymce editor successfully. However, when I edit the code, click on save and open the editor again it loses all format (without tabs and intros). For example:

    <div style=”text-align: left; margin-top: 20px; margin-bottom: 20px;”><div style=”display: inline-block; width: 28%; background: gray; margin: 5px; padding: 10px; color: white;”><div class=”subtitle”></div><div class=”content”><p>”</div><div class=”content”><p>

    I want the source code always formatted. How can I achieve this?

Viewing 1 replies (of 1 total)
  • Thread Starter Marc Oliveras

    (@moginn)

    I think I found a solution:

    In the TinyMCE settings there is an option that says “Stop removing the <p> and tags when saving and show them in the Text editor”

Viewing 1 replies (of 1 total)
  • The topic ‘TinyMCE souce code is messy’ is closed to new replies.