Formatting Toolbar for selections

I run the command


I mark a word, but nothing happens

But on the desktop it works

Is it possible that is covered by the keyboard?
Have you tried other browsers on the same device? I don’t own
an Android device, so I can’t test it, but people said it also works on Android too, and the toolbar works an all my devices, so I have no clue what’s going on. Are you sure you didn’t toggled it off by mistake instead of toggling it on? By default it’s turned on, so by toggling it you might have turned it off.

I've tried different keyboards: SwiftKey, GBoard. I also called up the command, tested it, called it up again, and tested it again.
This might be a Xiaomi issue, since pop-ups in editors might be blocked somehow on those devices. At least there seem to be other apps where a pop-up is supposed to appear but doesn't. But I have only Xiaomi Smartphones, and I cant't test on other android devices.

Issue: FormattingToolbar extension blocked on HyperOS (Poco X7 Pro).

Root Cause: System-level features (AI Visual Recognition and Secure Keyboard) hijack long-press events. This prevents the CodeMirror 6 engine in SilverBullet from capturing the selection events necessary to trigger the toolbar.

Verified Workaround: Using Firefox for Android (Gecko engine) instead of Chrome/WebView. It bypasses Xiaomi’s system-level selection overrides and allows the extension to function correctly.

Optimization Potential for Developers:

  • CSS Suppression: Implement -webkit-touch-callout: none; and -webkit-user-select: text; on the editor container to suppress the native Android menu in favor of the custom toolbar.
  • Event Priority: Using touch-action: manipulation; in the toolbar’s CSS may reduce interference from HyperOS-specific system gestures.

Lösung für Xiaomi HyperOS 3.0.5.0, deutsch:
Einstellungen > Startbildschirm > Systemnavigation
Verknüpfungen
Vollbildschirm-Anzeige drücken und halten
Nichts
wenn dort steht "Circle to Search", dann funktioniert es nicht.

Done :white_check_mark:

  • added these two CSS optimization tweaks, hope it works for you now better with these tweaks (if you have issues, bitte sag Bescheid so I can look into it.)

PS by Claude: These won't fully fix the issue if HyperOS is intercepting at kernel/input level before the browser even sees the event (which is why Firefox's Gecko engine, bypassing the system WebView entirely, remains the fully reliable workaround), but they handle everything that's reachable from CSS.

I've just setup readonly virtual pages using this script and it's made me realize that this toolbar appears on readonly pages. Could that be disabled?

Update: Done :white_check_mark: