chore: Remove emojione, cleanup styles (#1232)

* chore: Remove `emojione`, cleanup styles

* Move size to variables

* Remove unused categories
This commit is contained in:
Pranav Raj S
2020-09-13 22:49:01 +05:30
committed by GitHub
parent 739c062676
commit f3a357d832
12 changed files with 159 additions and 310 deletions

View File

@@ -80,14 +80,11 @@
</template>
<script>
/* eslint no-console: 0 */
import { mapGetters } from 'vuex';
import emojione from 'emojione';
import { mixin as clickaway } from 'vue-clickaway';
import FileUpload from 'vue-upload-component';
import EmojiInput from '../emoji/EmojiInput';
import EmojiInput from 'shared/components/emoji/EmojiInput';
import CannedResponse from './CannedResponse';
import ResizableTextArea from 'shared/components/ResizableTextArea';
import {
@@ -284,9 +281,7 @@ export default {
this.$refs.messageInput.focus();
},
emojiOnClick(emoji) {
this.message = emojione.shortnameToUnicode(
`${this.message}${emoji.shortname} `
);
this.message = `${this.message}${emoji} `;
},
clearMessage() {
this.message = '';