summaryrefslogtreecommitdiff
path: root/assets/js/components
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/components')
-rw-r--r--assets/js/components/text-editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/components/text-editor.js b/assets/js/components/text-editor.js
index e9ab4c80..1da8f0d9 100644
--- a/assets/js/components/text-editor.js
+++ b/assets/js/components/text-editor.js
@@ -63,7 +63,7 @@ KB.component('text-editor', function (containerElement, options) {
// Order is important for IE11 (especially for the placeholder)
var textWrapper = KB.dom(containerElement).find('script');
- textareaElement.text(textWrapper.innerText);
+ textareaElement.html(textWrapper.innerHTML);
if (options.placeholder) {
textareaElement.attr('placeholder', options.placeholder);