Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a0707f

Browse files
authored
Merge pull request draft-js-plugins#721 from matthiasn/patch-1
Update addSticker.js
2 parents 5963b58 + 881b86b commit 0a0707f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

draft-js-sticker-plugin/src/modifiers/addSticker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default (editorState: Object, stickerId: any) => {
6363
new ContentBlock({
6464
key: genKey(),
6565
type: 'sticker',
66-
text: '',
66+
text: ' ',
6767
characterList: List(Repeat(charDataOfSticker, 1)), // eslint-disable-line new-cap
6868
}),
6969

0 commit comments

Comments
 (0)