Skip to content

feat: replace format bar with native context menu submenu#209

Merged
hryhoriiK97 merged 3 commits intomainfrom
feat/native-format-submenu
Apr 5, 2026
Merged

feat: replace format bar with native context menu submenu#209
hryhoriiK97 merged 3 commits intomainfrom
feat/native-format-submenu

Conversation

@hryhoriiK97
Copy link
Copy Markdown
Collaborator

@hryhoriiK97 hryhoriiK97 commented Apr 4, 2026

What/Why?

Replace the custom floating format bar (tooltip) with native platform context menu submenus on iOS, Android.

  • iOS: Use UIMenu with UIAction items to present Bold, Italic, Underline, Strikethrough, and Link as a hierarchical "Format" submenu in the text selection edit menu.
  • Android: Use SubMenu within ActionMode.Callback to present format options in the native overflow menu.

This removes ENRMFormatBar (iOS) and FormatBar.kt (Android) along with all associated drawable resources, resulting in a cleaner, more native-feeling formatting experience.

iOS before iOS after
ios_before.mov
ios_after.mov
Android before Android after
android_before.mov
android_after.mov

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes

@hryhoriiK97 hryhoriiK97 marked this pull request as ready for review April 4, 2026 14:45
@hryhoriiK97 hryhoriiK97 merged commit 760bfae into main Apr 5, 2026
5 checks passed
@hryhoriiK97 hryhoriiK97 deleted the feat/native-format-submenu branch April 7, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant