Move border settings for the editor to theme.json
[MAILPOET-5740]
This commit is contained in:
committed by
Jan Lysý
parent
b90a35d80a
commit
c75f30ce4e
@ -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;
|
||||
|
@ -10,6 +10,12 @@
|
||||
"padding": true,
|
||||
"margin": false
|
||||
},
|
||||
"border": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"style": true,
|
||||
"width": true
|
||||
},
|
||||
"typography": {
|
||||
"dropCap": false,
|
||||
"fontWeight": false,
|
||||
|
Reference in New Issue
Block a user