Skip to content

Commit 57e419c

Browse files
committed
Remove the redundant title attribute from saved context keywords in the chat input highlighting
1 parent 11d2e52 commit 57e419c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/ui/src/components/editor/panel/ChatInput/utils/get-highlighted-text.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const get_highlighted_text = (params: {
5555
return `<span class="${cn(
5656
styles['keyword'],
5757
styles['keyword--saved-context']
58-
)}" contentEditable="false" data-type="saved-context-keyword" data-context-type="${context_type}" data-context-name="${context_name}" title="Context &quot;${context_name}&quot;"><span class="${
58+
)}" contentEditable="false" data-type="saved-context-keyword" data-context-type="${context_type}" data-context-name="${context_name}"><span class="${
5959
styles['keyword__icon']
6060
}"></span><span class="${
6161
styles['keyword__text']
@@ -103,7 +103,7 @@ export const get_highlighted_text = (params: {
103103
return `<span class="${cn(
104104
styles['keyword'],
105105
styles['keyword--saved-context']
106-
)}" contentEditable="false" data-type="saved-context-keyword" data-context-type="${context_type}" data-context-name="${context_name}" title="Context &quot;${context_name}&quot;"><span class="${
106+
)}" contentEditable="false" data-type="saved-context-keyword" data-context-type="${context_type}" data-context-name="${context_name}"><span class="${
107107
styles['keyword__icon']
108108
}"></span><span class="${
109109
styles['keyword__text']

0 commit comments

Comments
 (0)