Move border settings for the editor to theme.json

[MAILPOET-5740]
This commit is contained in:
Rostislav Wolny
2024-01-19 12:13:46 +01:00
committed by Jan Lysý
parent b90a35d80a
commit c75f30ce4e
2 changed files with 6 additions and 7 deletions

View File

@ -73,13 +73,6 @@ class SettingsController {
$settings['styles'] = apply_filters('mailpoet_email_editor_editor_styles', $settings['styles']);
$settings['__experimentalFeatures'] = $themeSettings;
// Enable border radius, color, style and width where possible
$settings['__experimentalFeatures']['border'] = [
"radius" => true,
"color" => true,
"style" => true,
"width" => true,
];
// Enabling alignWide allows full width for specific blocks such as columns, heading, image, etc.
$settings['alignWide'] = true;

View File

@ -10,6 +10,12 @@
"padding": true,
"margin": false
},
"border": {
"radius": true,
"color": true,
"style": true,
"width": true
},
"typography": {
"dropCap": false,
"fontWeight": false,