Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor hupe13

    (@hupe13)

    I don’t use Elementor, but I tested it. I found that it works with GeneratePress for example, but not with Twenty Twenty Three.
    I can only recommend to use the WordPress editor for these pages or ask Elementor for support.
    The problem is, Elementor converts the Shortcode block to a classic HTML block.

    Thread Starter postmortem98

    (@postmortem98)

    Ok, thanks for the clarification unfortunately i’m forced to use Elementor, with previous versions of LeafLet i didn’t have this problem anyway.

    Plugin Contributor hupe13

    (@hupe13)

    When you edit the page with Elementor, do you use the Shortcode block for [leaflet-map]?
    Or are you offered a Text Editor block?

    Thread Starter postmortem98

    (@postmortem98)

    This is my code:

    [leaflet-map lat=43.05565133680425 lng=12.405886769687065 height=”400″ zoom=13 zoomcontrol detect-retina][fullscreen]

    [leaflet-marker lat=43.05565133680425 lng=12.405886769687065]<b>Company Name</b><br>

    Street Address<br><br><u><a href=”https://goo.gl/maps/&#8221; target=”_blank”>Directions</a></u>

    [/leaflet-marker]

    Plugin Contributor hupe13

    (@hupe13)

    This works for me, both with GeneratePress and Twenty Twenty-Three.
    But the Editor “translates” < to & l t ; and > to & g t ;, maybe this is the problem.
    (The blanks are because of the forum editor)

    • This reply was modified 2 years ago by hupe13.
    • This reply was modified 2 years ago by hupe13.
    Plugin Contributor hupe13

    (@hupe13)

    The only thing that Bozdoz changed is the handling of popups. It may be that Elementor interprets this incorrectly:

    marker.bindPopup(window.WPLeafletMapPlugin.unescape('&lt;b&gt;Company Name&lt;/b&gt;&lt;/p&gt;&lt;br&gt;&lt;p class=\&quot;p1\&quot;&gt;Street Address&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;a href=\&quot;https://goo.gl/maps/\&quot; target=\&quot;_blank\&quot; rel=\&quot;nofollow noopener ugc\&quot;&gt;Directions&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;&lt;br&gt;&lt;p class=\&quot;p1\&quot;&gt;'));window.WPLeafletMapPlugin.markers.push( marker );

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with Elementor’ is closed to new replies.