File tree Expand file tree Collapse file tree
js/frappe/form/controls/quill-mention Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ def get_names_for_mentions(search_term: str):
393393 continue
394394
395395 mention_data ["link" ] = frappe .utils .get_url_to_form (
396- "User Group" if mention_data .get ("is_group" ) else "User Profile " , mention_data ["id" ]
396+ "User Group" if mention_data .get ("is_group" ) else "User" , mention_data ["id" ]
397397 )
398398
399399 filtered_mentions .append (mention_data )
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ class Mention {
158158 return {
159159 id : this . mentionList . childNodes [ this . itemIndex ] . dataset . id ,
160160 value : itemLink
161- ? `<a href="${ itemLink } " target="_blank">${
161+ ? `<a class="mention-link" href="${ itemLink } " target="_blank">${
162162 this . mentionList . childNodes [ this . itemIndex ] . dataset . value
163163 } `
164164 : this . mentionList . childNodes [ this . itemIndex ] . dataset . value ,
Original file line number Diff line number Diff line change 346346.ql-bubble .ql-editor img {
347347 max-width : 500px !important ;
348348}
349+ .mention-link ::after ,
350+ .mention-link ::before {
351+ display : none ;
352+ }
You can’t perform that action at this time.
0 commit comments