FriendsOfREDAXO / redactor2

Integriert den Redactor WYSIWYG-Editor in Version 2
Other
54 stars 11 forks source link

Eingefügtes HTML via PlugIn wird angepasst #164

Closed tbaddade closed 4 years ago

tbaddade commented 4 years ago

Ich bin grad an einen Quote PlugIn dran.

Wenn ich dann HTML wie

<blockquote>
    <p>Zitat</p>
    <footer>
        Autor, <cite>Referent</cite>
    </footer>
</blockquote>

via this.insert.html(html); einfüge, dann kommt das heraus

<blockquote>
    Zitat
    <p><br/></p>
    <footer>
        Autor, <cite>Referent</cite>
    </footer>
</blockquote>

Wo muss man ansetzen damit der text im <p> bleibt?

Edit: Für mich - Projekt Id 400