(ref, value)
| 768 | } |
| 769 | |
| 770 | function setRefValue(ref, value) { |
| 771 | if (!ref) return; |
| 772 | const normalized = typeof value === "string" ? value : String(value ?? ""); |
| 773 | if (ref.el) ref.el.value = normalized; |
| 774 | ref.value = normalized; |
| 775 | } |
| 776 | |
| 777 | function applySearchQuery(editor, searchValue, replaceValue) { |
| 778 | if (!editor) return null; |
no test coverage detected