Closed emteknetnz closed 3 years ago
There's a bit of discussion in the related issue. I personally feel like we should be consistent with elemental here, so the title should be "Untitled Content block" or whatever it is in elemental. Not quite sure how we can put this into code though.
I like the idea of elemental providing a BlockTitle
component or something, but I'm not sure how that would tie into campaign admin...
Agree it would be better, though it'll also massively increase the effort required.
There's already context within campaign admin that the thing that is "Untitled" is a "Block"
I'd have a strong preference to keep this PR as is because it still makes things significantly better than they are now.
Fix for https://github.com/dnadesign/silverstripe-elemental/issues/574
Will show "Untitled" for any item that has a blank title, not just content blocks
Before![image](https://user-images.githubusercontent.com/4809037/90203930-27780a00-de36-11ea-83fa-9a88c196ced3.png)
After![image](https://user-images.githubusercontent.com/4809037/90203917-1cbd7500-de36-11ea-909c-1d8e052f140f.png)