Font Sizes
To ensure that your templates have a consistent look and feel, you can define preset font sizes for text elements. This allows users to quickly apply standard sizes without manually adjusting them every time.
unlayer.init({
features: {
textEditor: {
fontSizes: ['18px', '20px', '30px'],
},
},
});