Skip to content

Commit

Permalink
fix: the placeholder doesn't appear on desktop platform
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Sep 21, 2023
1 parent 967e3e8 commit 1bd1a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/pages/desktop_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
);
});
Expand Down

0 comments on commit 1bd1a6b

Please sign in to comment.