From 4a753f8519938588efb53c6ee2e886633477c313 Mon Sep 17 00:00:00 2001 From: aignatov-bio <47317017+aignatov-bio@users.noreply.github.com> Date: Tue, 14 May 2019 15:02:12 +0200 Subject: [PATCH] Fix user smart annotation fpr tinyMCE (#1759) --- app/assets/javascripts/sitewide/tiny_mce.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/sitewide/tiny_mce.js b/app/assets/javascripts/sitewide/tiny_mce.js index 35ee8d844..c4a845f17 100644 --- a/app/assets/javascripts/sitewide/tiny_mce.js +++ b/app/assets/javascripts/sitewide/tiny_mce.js @@ -193,6 +193,7 @@ var TinyMCE = (function() { editor.selection.collapse(false); SmartAnnotation.init($(editor.contentDocument.activeElement)); + SmartAnnotation.preventPropagation('.atwho-user-popover'); initHighlightjsIframe($(this.iframeElement).contents()); }, setup: function(editor) {