WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
Popup Text gets a bunch of extra break tags (7 posts)

  1. Andrew Tibbetts
    Member
    Posted 1 year ago #

    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/

  2. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Andrew Tibbetts
    Member
    Posted 1 year ago #

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

  4. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    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).

  5. Andrew Tibbetts
    Member
    Posted 1 year ago #

    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.

  6. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    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

  7. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic