Actions
Feature #88162
closedPersistent search in CodeMirror for t3Editor
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-04-17
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Hi,
I use the search within TypoScript templates in the backend very much, but in the context of CodeMirror in TYPO3 9.x the normal browser search works not anymore. Therefore I have to use the CodeMirror search (Ctrl-F / Cmd-F). It would be nice if the search dialog did not disappear again and again. CodeMirror itself has an option that requires only a keyboard shortcut. Here's an example from https://codemirror.net/demo/search.html with key: "Alt + F"
In order to use this, only the initialisation in typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js needs to be adjusted in this way:
in the part "extraKeys"
extraKeys: {
"Ctrl-Alt-F": ...
...
}
add
extraKeys: {
"Alt-F": "findPersistent",
"Ctrl-Alt-F": ...
...
}
would be great to have that in core :)
Files
Actions