fix: the placeholder doesn't appear on desktop platform

This commit is contained in:
Lucas.Xu 2023-09-21 10:17:45 +08:00
commit 1bd1a6b514

View file

@ -142,7 +142,7 @@ class _DesktopEditorState extends State<DesktopEditor> {
);
// customize the padding
map.forEach((key, value) {
value.configuration = BlockComponentConfiguration(
value.configuration = value.configuration.copyWith(
padding: (_) => const EdgeInsets.symmetric(vertical: 8.0),
);
});