In MyBlock.php
public $supports = [
...
'color' => true
];
Or more fine tuned:
public $supports = [
...
'color' => [
'background' => true,
'text' => false,
]
]
Read More
In MyBlock.php
public $supports = [
...
'color' => true
];
Or more fine tuned:
public $supports = [
...
'color' => [
'background' => true,
'text' => false,
]
]
Read More
Victor Ramirez talks about the approach here: https://www.youtube.com/watch?v=3o66SvY9G1k&t=91s
The plan itself was posted on Twitter. It is a bit old, but it sounds like decent approach
Level 1