=== Yem HTML to Elementor Converter ===
Contributors: yemlogic
Tags: elementor, html to elementor, converter, ai, import
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn AI-generated HTML from Claude, ChatGPT, v0, Lovable or Bolt into native, editable Elementor pages, right in your browser.

== Description ==

You asked an AI for a landing page and got a single HTML file. It looks great, but it is not something you can edit in Elementor. Yem HTML to Elementor Converter turns that file into a real Elementor page made of Containers, Headings, Text, Buttons, Images, Icons and the other free widgets, so you can change every word, color and spacing in the Elementor editor.

**How it works**

1. Paste the HTML (or upload the .html file) under Tools → HTML to Elementor (also linked from the Elementor menu and the Pages screen).
2. Press Preview to see it rendered.
3. Press Convert. You get a new page, post or Elementor template, or the content is added to a page you already have.

The page is rendered in a sandboxed frame in your browser. The converter measures every element there, picks the matching Elementor widget and writes its settings. Nothing is sent to an outside service.

**What you get**

* Native Elementor widgets: Flexbox and Grid Containers, Heading, Text Editor, Button, Image, Icon, Icon List, Divider, Spacer, Video, Accordion and more, filled in with the original fonts, colors, spacing, borders, shadows and backgrounds.
* Classic widgets that work on every Elementor site, or Elementor V4 Atomic elements when they are switched on.
* Works with Tailwind (also the CDN version), Bootstrap, plain CSS, inline styles and `<style>` blocks.
* Icons from Lucide, Font Awesome, Heroicons, Material Symbols and Bootstrap Icons become Elementor icons.
* Forms, tables and anything Elementor has no free widget for are kept as HTML blocks that look the same.
* Styles Elementor has no setting for are kept by the plugin, or put inside the page so it works even without the plugin.
* Copy the result and paste it into any page in the Elementor editor, or download it as an Elementor template for another site.
* A history of your conversions, with the option to remove their extra styles.

Elementor (free) is required. Elementor Pro is not needed (if you have it, the Pro add-on can use its widgets).

**Pro add-on**

[Yem HTML to Elementor Converter Pro](https://yemlogic.com/yem-html-converter-pro/) adds tablet and mobile layouts, hover effects, animations, images imported into the Media Library, global colors and fonts, and website ZIP imports. On sites with Elementor Pro it also builds forms, menus, carousels, tables of contents, flip boxes and more as Elementor Pro widgets.

**Trademarks**

Elementor is a trademark of Elementor Ltd. WordPress is a trademark of the WordPress Foundation. YemLogic is not affiliated with or endorsed by either.

== Installation ==

1. Install and activate Elementor.
2. Install Yem HTML to Elementor Converter from Plugins → Add New, or upload the zip, and activate it.
3. Classic output needs Flexbox Container, which is on by default in current Elementor versions (Elementor → Settings → Features).
4. Go to Tools → HTML to Elementor (or click "Convert HTML to Elementor" on the Pages screen).

== Frequently Asked Questions ==

= Does my HTML leave my site? =

No. The HTML is rendered and measured in your own browser. Only the finished Elementor elements are saved to your site. When the page is previewed, your browser loads the files the HTML itself refers to (for example the Tailwind CDN or Google Fonts), the same as opening the HTML file would.

= Classic widgets or V4 Atomic elements? =

Classic widgets work on every Elementor site and with every theme. V4 Atomic elements (Elementor 4) map more closely to the original CSS. Use Atomic when it is switched on for your site and you are comfortable with Elementor 4.

= Will the page look exactly like the original? =

Very close at the width you convert at. Fonts that are not available on your site fall back to similar ones, and parts that need a widget Elementor Free does not have are kept as HTML blocks (with the Pro add-on and Elementor Pro, forms, menus and carousels become Elementor Pro widgets). The result card lists everything that was kept as HTML.

= What about tablet and phone layouts? =

Elementor's defaults are used: columns stack on phones. The Pro add-on renders the page at tablet and phone widths too and copies those layouts.

= Does it work with scripts in the HTML? =

Yes. Page scripts run in the sandbox (needed for the Tailwind CDN and icon scripts). You can switch that off under Advanced. Scripts are never copied into the converted page.

= Can I remove the plugin later? =

Converted pages are normal Elementor pages. Styles Elementor has no setting for are served by the plugin; choose "Put them inside the page" when converting if the page should keep working without it. The Uninstall option on the Settings tab decides whether conversion records and their styles are deleted with the plugin.

== Screenshots ==

1. Paste your HTML and preview it.
2. Choose Classic widgets or V4 Atomic elements, and where to save.
3. The result: a native Elementor page.

== Changelog ==

= 1.0.5 =
* The note about the Pro add-on on the converter screen and in this readme mentions its Elementor Pro widgets (forms, menus and carousels on sites with Elementor Pro). No change to conversions.

= 1.0.4 =
* The name is Yem HTML to Elementor Converter again, and the menu item Tools → HTML to Elementor (1.0.1 to 1.0.3 used "Yem HTML Converter for Elementor" and "HTML Converter"). Settings, history and converted pages are not affected.

= 1.0.3 =
* Sections sized to the screen keep that size: a hero set to 90% of the screen height (min-h-[90vh], height: 80vh, 50svh) becomes 90vh in Elementor instead of the pixel height of the screen it was converted on.

= 1.0.2 =
* Font Awesome 6 icons: 535 more icon names are recognised. Names Font Awesome changed in version 6 (circle-plus, angles-right, droplet, burger, cake-candles…) become the same icon from Elementor's Font Awesome 5, and icons new in version 6 (wheat-awn, ticket, tent, bowl-food…) the closest one. Before, these icons were left out of the converted page.

= 1.0.1 =
* New name: Yem HTML Converter for Elementor (it was "Yem HTML to Elementor Converter"). Same plugin: your settings, history and converted pages stay as they are.
* The menu item is now Tools → HTML Converter (and HTML Converter in the Elementor menu). The Pages screen button reads "Convert HTML".

= 1.0.0 =
* First public release. Same code as 0.9.9.

= 0.9.9 =
* A full-width header whose inner bar has a fixed height (a 64px navigation bar) keeps that height.
* Floating cards placed over an image ("Invoice paid $2,400") size to their content again, so short labels no longer wrap.
* Badges with an icon ("New: automatic payment reminders") keep their height.

= 0.9.8 =
* A link or label drawn as a small flex box inside text (a logo mark next to the site name) keeps its spacing and alignment.

= 0.9.7 =
* Rows made only of inline SVG icons (a line of rating stars) are no longer left out of the page.
* Headings with an SVG icon before or after the text keep the icon: it becomes an Icon widget next to the heading, because Elementor's Heading widget can't show SVG. An icon in the middle of a heading becomes a Font Awesome icon.
* Font Awesome icons inside converted text and headings now show on the live page too, not only in the editor, when Elementor draws its own icons as inline SVG (its default).
* A heading that is one link keeps the link's colour and underline, and underlines keep their colour, thickness and offset.
* Plain document pages with the content straight in a padded or narrowed body keep their margins and column width, and a narrower section that sits to one side stays there instead of being centred.
* V4 Atomic elements: content that sits on one line in the source (an icon next to a heading, a row of inline items) stays on one line.

= 0.9.6 =
* Accessibility: disabled buttons (a sold-out size) stay real disabled buttons, kept as HTML because Elementor's Button widget can't be disabled. They look and behave disabled, and the result summary says so.
* Accessibility: icon-only buttons get a name for screen readers as hidden text inside the button.
* Outline icons (Lucide, Heroicons outline) become Font Awesome's outline style when it has one, so a 4-star rating with one empty star stays 4 stars instead of turning into 5 filled ones.

= 0.9.5 =
* Accessibility: icon-only links (social icons) keep a name for screen readers: the source's aria-label or title, or the site they point to ("GitHub", "Instagram").
* Accessibility: form fields kept as HTML keep the name of a label that became a separate widget.
* Speed: images loaded from a web address reserve their space before they load (no layout shift).

= 0.9.4 =
* Buttons with a Material Symbols icon no longer show the icon's name ("confirmation_number Get tickets"); the icon becomes the button icon, at the right size.
* About 80 more Material Symbols names are recognised (calendar, tickets, arrows, food and travel icons).
* Result summary: V4 and classic widgets of the same kind are counted together.

= 0.9.3 =
* Conversions keep running at full speed when you switch to another browser tab (background tabs used to slow them down until they timed out).
* Overlays and decorations drawn with ::before/::after that stretch with the section (for example a dark layer over a hero photo) now stretch on any screen width instead of stopping at the conversion width.
* The Settings tab is shown only to administrators (other users could open it but not save).

= 0.9.2 =
* Fix: on Windows (and anywhere the browser shows a page scrollbar), long pages converted every section as a fixed-width box about 15px narrower than the page. The page is now laid out at exactly the chosen desktop width on every system.
* Tools → HTML to Elementor is highlighted in the admin menu on the converter screen.

= 0.9.1 =
* Menu: the converter now lives under Tools → HTML to Elementor (Elementor 4 moves add-on links into a flyout and hides them from editors), with a link in the Elementor menu as before.
* Pasted sections without page CSS now convert full width (the browser's default 8px page margin is ignored).
* Forms and tables kept as HTML are about half the size, and their placeholders and select arrows look like the original.
* "Add to an existing page": the site kit is no longer offered; replacing a page stops loading the old conversion's CSS.
* Copy for the Elementor editor: a "Copy to clipboard" button appears when the browser blocks automatic copying.
* "Settings saved" notice; clearer result summary; a hint about narrow theme layouts; titles from the first heading when the HTML has no title.

= 0.9.0 =
* First release candidate.

== Upgrade Notice ==

= 1.0.5 =
Text only: the Pro add-on note mentions Elementor Pro widgets.

= 1.0.4 =
The name is Yem HTML to Elementor Converter again; nothing else changes.

= 1.0.3 =
Sections sized to the screen (90vh heroes) keep their height on every screen.

= 1.0.2 =
Font Awesome 6 icons that were left out are now converted.

= 1.0.1 =
New name: Yem HTML Converter for Elementor. Nothing else changes; settings and converted pages stay.

= 1.0.0 =
First public release.

= 0.9.9 =
Icons in headings and icon-only rows are kept; plain document pages, fixed-height headers and floating cards keep their layout.

= 0.9.8 =
Icons in headings and icon-only rows are kept; plain document pages keep their layout.

= 0.9.7 =
Icons in headings and icon-only rows are kept; plain document pages keep their layout.

= 0.9.6 =
Disabled and icon-only buttons stay accessible; outline icons keep their outline style.

= 0.9.5 =
Accessibility and layout-shift improvements for converted pages.

= 0.9.4 =
Better Material Symbols icons in buttons.

= 0.9.3 =
Conversions no longer stall in background tabs; stretching overlays fixed.

= 0.9.2 =
Fixes sections converting as fixed-width boxes on Windows. Convert affected pages again.

= 0.9.1 =
QA fixes: menu location, full-width sections, smaller HTML blocks, clipboard fallback.

= 0.9.0 =
First release candidate.
