FIX: Prepends whitespace when inserting via emoji picker

This commit is contained in:
Gerhard Schlager
2019-12-02 17:31:05 +01:00
parent ee2473d7d5
commit e7c3c10829
3 changed files with 37 additions and 4 deletions

View File

@ -618,7 +618,6 @@ testCase(`doesn't jump to bottom with long text`, async function(
});
componentTest("emoji", {
skip: true,
template: "{{d-editor value=value}}",
beforeEach() {
// Test adding a custom button
@ -641,7 +640,7 @@ componentTest("emoji", {
await click(
'.emoji-picker .section[data-section="smileys_&_emotion"] button.emoji[title="grinning"]'
);
assert.equal(this.value, "hello world.:grinning:");
assert.equal(this.value, "hello world. :grinning:");
}
});