Disable Search Bar keyboard shortcut

Is there a way to disable the Search Bar keyboard shortcut? We use the classic source editor for some pages and with need to open and close html tags and always remove focus from the editor.

System info:

  • OS: Ubuntu 22.04

  • Using Docker bluspice-deploy images

  • BlueSpice version: BlueSpice free 5.1.4

  • Browser version: Chrome 143.0.7499.40

Hello semae,
can you right click and inspect element when your cursor are inside a source editor (like the attached screenshot)? I would like to know which kind of element you are into when you trigger the behavior.
According to these lines of code, the search focus change won’t happen when you are inside textarea element, input element and their childs. I cannot reproduce your reported behavior either.
Looking forward to your feedback = )
Best regards,
Hua

I see the issue, is an extension we use: CodeMirror (Extension:CodeMirror - MediaWiki)

The javascript that captures the ‘/’ doesn’t exclude the CodeMirror elements

Hello Victor,

thanks for the feedback. CodeMirror is actually well tested with BlueSpice, and works well in general. The WikiEditor you use, in the mean time, is not that much tested.

I tried to enable the WikiEditor together with CodeMirror as you demonstrated, but I cannot reproduce the same bug. WikiEditor is not well tested for BlueSpice, but VisualEditor is. The VisualEditor provides not only a visual mode, but a nice source text mode as well.

For BlueSpice 5.1.4 the Visual Editor should be the default option for all users - unless you have certain special settings on your user / on the wiki in general. If you do not find the feature switch in the Special:Preferences#mw-prefsection-editing panel, comment out a related wgHiddenPrefs config in the settings.d/030-BlueSpiceFreeDistribution.php.

Hope these helps to solve your problem.

Best regards,
Hua