Editable String

Editable String превращает обычный контейнер с текстом в inline-редактор. Компонент возвращает DOM-элемент с API `editableString`.

Hello world
Editable String HTML
<div class="editable-example">Hello world</div>
Editable String JS
const editor = editableString(document.querySelector(".editable-example"));

editor.editableString.onChange(component => {
  console.log(component.value);
});