@internetstiftelsen/styleguide 2.20.0 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -141,6 +141,9 @@ function setupTextArea(el) {
|
|
|
141
141
|
content: el.value,
|
|
142
142
|
onTransaction: function onTransaction(props) {
|
|
143
143
|
toogleButtonState(props.editor, editorEl);
|
|
144
|
+
},
|
|
145
|
+
onUpdate: function onUpdate(props) {
|
|
146
|
+
el.value = props.editor.getHTML();
|
|
144
147
|
}
|
|
145
148
|
});
|
|
146
149
|
|
package/package.json
CHANGED