Skip to content

Commit 1bd1a6b

Browse files
committed
fix: the placeholder doesn't appear on desktop platform
1 parent 967e3e8 commit 1bd1a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/pages/desktop_editor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class _DesktopEditorState extends State<DesktopEditor> {
142142
);
143143
// customize the padding
144144
map.forEach((key, value) {
145-
value.configuration = BlockComponentConfiguration(
145+
value.configuration = value.configuration.copyWith(
146146
padding: (_) => const EdgeInsets.symmetric(vertical: 8.0),
147147
);
148148
});

0 commit comments

Comments
 (0)