vue-intergrall-plugins 1.1.60 → 1.1.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -394,6 +394,18 @@ export default {
394
394
  ? ""
395
395
  : { hexa: emoji.hexa, finalEmoji: emoji.finalEmoji };
396
396
  this.isEmojisOpen = false;
397
+
398
+ const ckEditorContext = document.querySelector('.ck-editor');
399
+ if (ckEditorContext) {
400
+ this.$emit("insert-emoji", {
401
+ finalEmoji: emoji.finalEmoji,
402
+ hexa: emoji.hexa,
403
+ editorType: 'ckeditor'
404
+ });
405
+ } else {
406
+ this.$emit("insert-emoji", emoji);
407
+ }
408
+
397
409
  this.$emit("reagir-mensagem", {
398
410
  emoji,
399
411
  seq: this.seq,