DEV: refactors textarea-selection helper to prevent leaking (#7709)

This commit is contained in:
Joffrey JAFFEUX
2019-06-05 19:20:46 +02:00
committed by GitHub
parent 35d0fd038e
commit de013262a7
5 changed files with 14 additions and 18 deletions
@@ -1,6 +1,10 @@
import componentTest from "helpers/component-test";
import { withPluginApi } from "discourse/lib/plugin-api";
import formatTextWithSelection from "helpers/d-editor-helper";
import {
setTextareaSelection,
getTextareaSelection
} from "helpers/textarea-selection-helper";
moduleForComponent("d-editor", { integration: true });