j-iFrameEditable
- HTML lze bezpečně upravovat
- Výška iframu se automaticky počítá z
body. - významný: obsah musí obsahovat atribut
contenteditable
Konfigurace:
bind {String}může obsahovatbody(předvolené),htmlnebocontenteditable
Metody:
component.resize()
Použijte ji s <ui-component name="iframeeditable">Pokud je součástka ještě nezačleněna, jComponent Stáhnout ji na první použití z adresy DEF.fallback a) The Componentator CDN dle předvolby. autor: Peter Širka. zdroj: Componentator Výrobce je autorizován, MIT licence.
<div>This component can edit HTML code safely:</div>
<ui-component name="iframeeditable" path="customhtml"></ui-component>
<script>
SET('customhtml', '<div contenteditable="true"><div><b>Total.js</b></div><br /><br /><a href="https://www.totaljs.com">www.totaljs.com</a></div>');
</script>