• How can I create multiple internal anchor links within the same Elementor text widget without Elementor removing the HTML id attributes?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Rica

    (@ricav)

    Hi Paloma,

    Here are a few workarounds you can use to prevent Elementor from stripping out your id attributes:

    • Use Empty Span Tags inside the Text Editor: Instead of placing id attributes directly on headings or paragraphs (which the editor’s sanitizer often cleans up), insert an empty span element right before or around your anchor target text: <span id="your-anchor-id"></span>
    • Use Custom HTML Widgets: Place a Custom HTML widget where you want the anchor to be, or wrap your content inside one. Unlike the Text Editor widget, the Custom HTML widget does not sanitize or filter attributes on save.
    • Use Menu Anchor Widgets: Drag Elementor’s native Menu Anchor widget directly above each target section or paragraph and set the anchor ID name in its settings.

    Kind regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.