1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Don't directly change TextEditor styles

This commit is contained in:
Toby Zerner
2015-11-21 13:11:22 +10:30
parent 4bae199bdb
commit 4cb764e603
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export default function addComposerAutocomplete() {
const composer = this;
const $container = $('<div class="ComposerBody-mentionsDropdownContainer"></div>');
const dropdown = new AutocompleteDropdown({items: []});
const $textarea = this.$('textarea');
const $textarea = this.$('textarea').wrap('<div class="ComposerBody-mentionsWrapper"></div>');
const searched = [];
let mentionStart;
let typed;