• When I use Front-end Editor it automatically strips any
    tags (I am using them with the Auto Formatting plugin). It strips these before making any edits or saving.

    For instance, this:

    <p style="text-align: center;">To get in touch, you can call Chris on <strong>0123 456 789 </strong></p>
    <p style="text-align: center;">or <a href="mailto:[email protected]">send an email</a> to: <strong>[email protected]</strong></p>
    <br />
    <p style="text-align: center;">If you prefer, you can also fill out the contact form below:</p><br />
    
    [customcontact form=2]

    becomes this:

    <p style="text-align: center;">To get in touch, you can call Chris on <strong>0123 456 789 </strong></p>
    <p style="text-align: center;">or <a href="mailto:[email protected]">send an email</a> to: <strong>[email protected]</strong></p>
    <p style="text-align: center;">If you prefer, you can also fill out the contact form below:</p>
    
    [customcontact form=2]

    I need a client to be able to make small edits in the simplest way possible (and I love this plugin), but not being able to use Auto Formatting would make the site look bad.

    Is there a fix for this, or a suggestion for a different way of reaching the same result?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    That is caused by WordPress’ wpautop() function.

    Don’t know what the “Auto Formatting plugin” is.

    A different way to achieve the same result would be to not need the
    tags at all: apply margins to the <p> tags.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Front-end Editor] is stripped’ is closed to new replies.