WordPress.org

Support

Popup Text gets a bunch of extra break tags

  • When I hit “update marker”, the wysiwyg editor converts breaks to <br/>. It does auto-create <p> tags as well. So, I’m getting a lot of gap between elements. Maybe a setting I’m missing somewhere?

    Pre-post checklist:
    ✓ check the FAQ
    ✓ check the docs
    ✓ check the support forum
    ✓ disable plugins
    – didn’t switch themes as it is an admin thing (right?)

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author RobertHarm

    @harmr

    Hi Andrew,
    normally this isnt an issue :-/ theme switching should also not be a reason for this, you are right here. Are you using the latest WordPress version? (as the tinymce integration for popup text is different for older versions).
    regards,
    Robert

    I am using 3.4.2 ( until more plugins update to support 3.5 )

    Plugin Author RobertHarm

    @harmr

    3.4.2 already uses the new method. I just cant think what could be the issue here – especially as you did the pre-post-checks. Would have to take a look to be able to tell more (temp. admin access).

    I will setup a user for you. I did notice that removing the preg_replace('/(1512)|(15)|(12)/','<br/>',$popuptext) with just $popuptext helped in certain instances but broke it in others—not sure which was which.

    Plugin Author RobertHarm

    @harmr

    Hi Andrew,
    cant reproduce this – just created a new marker on your site with line breaks (Shift+Enter) and new paragraphs (Enter only) – works for me.
    the popuptext in the other marker (id 1) also looks it works as designed…
    regards,
    Robert

    Plugin Author RobertHarm

    @harmr

    Hi again,
    I think this issue has to do with headings in popuptext – I created marker id 3 with no headings but font-weight strong and size 18/14pt – I hope that this workaround works for you.
    regards,
    Robert

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Popup Text gets a bunch of extra break tags’ is closed to new replies.
Skip to toolbar