Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #519 +/- ##
===========================================
- Coverage 63.56% 63.49% -0.07%
===========================================
Files 27 29 +2
Lines 2791 2805 +14
===========================================
+ Hits 1774 1781 +7
- Misses 1017 1024 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
surajshetty3416
requested changes
Mar 13, 2026
builder/builder/doctype/builder_style_preset/builder_style_preset.json
Outdated
Show resolved
Hide resolved
frontend/src/components/BlockPropertySections/TypographySection.ts
Outdated
Show resolved
Hide resolved
frontend/src/components/BlockPropertySections/TypographySection.ts
Outdated
Show resolved
Hide resolved
surajshetty3416
requested changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #106
Changes
Builder Style PresetDocType to manage presets from the desk withstyle_name,style_map(JSON) andsort_orderfieldsNew Files Added
stylePreset.ts— added this to fetch all style presets from the DocTypepresetUtils.ts— added this to get the active preset's style map to avoid repetition and can be just imported wherever usefulChanges In Existing Files
TypographySection.ts— added the Style preset dropdown hereStylePropertyControl.vue— extended this to handle preset inheritence for all style fieldsblockController.ts— addedgetPresetStyleandsetPresetStylemethods hereblock.ts— addedpresetStyleproperty to keep track of which preset is applied on a blockDemo:
Screen.Recording.2026-03-12.at.12.44.31.PM.mov