FIX: Ask AI highlight fixes (#562)
This commit is contained in:
parent
505650205d
commit
35fbf5c836
|
@ -100,8 +100,13 @@ export default class AIHelperOptionsMenu extends Component {
|
|||
);
|
||||
|
||||
const textNodes = [];
|
||||
while (walker.nextNode()) {
|
||||
|
||||
if (walker.currentNode?.nodeType === Node.TEXT_NODE) {
|
||||
textNodes.push(walker.currentNode);
|
||||
} else {
|
||||
while (walker.nextNode()) {
|
||||
textNodes.push(walker.currentNode);
|
||||
}
|
||||
}
|
||||
|
||||
for (let textNode of textNodes) {
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
}
|
||||
|
||||
.ai-helper-highlighted-selection {
|
||||
background-color: var(--highlight-low);
|
||||
background-color: var(--highlight-low-or-medium);
|
||||
}
|
||||
|
||||
// AI Typing indicator (taken from: https://github.com/nzbin/three-dots)
|
||||
|
|
Loading…
Reference in New Issue