-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat add editor fontsize #2088
base: main
Are you sure you want to change the base?
Feat add editor fontsize #2088
Conversation
WalkthroughThe changes modify three areas of the codebase. First, an editor component has its import statements reorganized to consolidate utility imports into a single statement. Second, the context menu within a preview component has been enhanced by adding a submenu for font size adjustments. This submenu retrieves the default font size from a global store and the current override from metadata, allowing users to select from various font sizes (ranging from 6px to 18px) or reset to a default state. Click handlers update the metadata configuration via an RPC command, and a menu separator is introduced for clarity. Finally, the global type declarations have been updated with an optional property for editor font size settings, thereby extending the customization options available for the editor. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
I added editor fontsize configuration.
I found an issue that had related requirements, so I added it.
I hope I can be of some help.