3 ms·
It is entirely generic and should work with all standards-compliant HTML (built-in and custom) elements. No code was written special-casing specific elements.
by cetinsert 5y ago
It is entirely generic and should work with all standards-compliant HTML (built-in and custom) elements. No code was written special-casing specific elements.
If you right-click in the playground (https://try.webpdf.pro/ https://try.webpdf.pro/) and pick the "Foreign (Markdown)" context menu item, you will find an example that uses https://zerodevx.github.io/zero-md/ https://zerodevx.github.io/zero-md/ for Markdown editing/formatting via web components.
The reason I force update-by-(re)load on other foreign elements is because there are lots of low-quality web component custom elements that do not deal with attribute or content changes as well as the standard HTML elements.