We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3696926 commit c0747eaCopy full SHA for c0747ea
src/handlers/quickTools.js
@@ -203,7 +203,7 @@ function toggleSearch() {
203
const $searchInput = quickTools.$searchInput.el;
204
const $toggler = quickTools.$toggler;
205
const { editor } = editorManager;
206
- const selectedText = editor.getCopyText();
+ const selectedText = editor.getSelectedText();
207
208
if (!$footer.contains($searchRow1)) {
209
const { className } = quickTools.$toggler;
0 commit comments