fix: remove hover tooltip from mentions
This commit is contained in:
parent
462b3f6419
commit
8e9446d630
3 changed files with 6 additions and 2 deletions
|
|
@ -393,7 +393,7 @@ def get_names_for_mentions(search_term: str):
|
|||
continue
|
||||
|
||||
mention_data["link"] = frappe.utils.get_url_to_form(
|
||||
"User Group" if mention_data.get("is_group") else "User Profile", mention_data["id"]
|
||||
"User Group" if mention_data.get("is_group") else "User", mention_data["id"]
|
||||
)
|
||||
|
||||
filtered_mentions.append(mention_data)
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ class Mention {
|
|||
return {
|
||||
id: this.mentionList.childNodes[this.itemIndex].dataset.id,
|
||||
value: itemLink
|
||||
? `<a href="${itemLink}" target="_blank">${
|
||||
? `<a class="mention-link" href="${itemLink}" target="_blank">${
|
||||
this.mentionList.childNodes[this.itemIndex].dataset.value
|
||||
}`
|
||||
: this.mentionList.childNodes[this.itemIndex].dataset.value,
|
||||
|
|
|
|||
|
|
@ -346,3 +346,7 @@
|
|||
.ql-bubble .ql-editor img {
|
||||
max-width: 500px !important;
|
||||
}
|
||||
.mention-link::after,
|
||||
.mention-link::before {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue