# j-iFrameWydaje się

> j-iFrameEditable: można bezpiecznie edytować HTML; wysokość iframu jest automatycznie obliczana z ciała

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: pl
Content-SHA256: 1126aca75083d9a7eda102be1df53aa164ee27573e28f6eb1310e634bc8673ba
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- Możesz bezpiecznie edytować HTML
- Wysokość iframu jest automatycznie obliczana z `body`
- __important__: zawartość musi zawierać atrybut `contenteditable`

__Konfiguracja__:

- `bind {String}` może zawierać `body` (default), `html` lub `contenteditable`

__Metody__:

- `component.resize()`

Użyj go z `<ui-component name="iframeeditable">`Gdy element nie jest jeszcze ładowany, jComponent Pobierz go po pierwszym użyciu z adresu `DEF.fallback` (Wydaje się Componentator Autor: Peter Širka Źródło: Componentator Zestaw składników, licencja MIT.

```html example.html
<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>
```
