]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/wysiwyg-input.js
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / resources / js / components / wysiwyg-input.js
index 88c06a334c6d8178a10290b0b9ee0c428f0082f3..aa21a63717f79ed42679d130a1df2c53ac90c236 100644 (file)
@@ -1,5 +1,5 @@
 import {Component} from './component';
-import {buildForInput} from '../wysiwyg/config';
+import {buildForInput} from '../wysiwyg-tinymce/config';
 
 export class WysiwygInput extends Component {
 
@@ -10,11 +10,8 @@ export class WysiwygInput extends Component {
             language: this.$opts.language,
             containerElement: this.elem,
             darkMode: document.documentElement.classList.contains('dark-mode'),
-            textDirection: this.textDirection,
-            translations: {
-                imageUploadErrorText: this.$opts.imageUploadErrorText,
-                serverUploadLimitText: this.$opts.serverUploadLimitText,
-            },
+            textDirection: this.$opts.textDirection,
+            translations: {},
             translationMap: window.editor_translations,
         });