AppFlowy-IO / AppFlowy-IO/appflowy-editor

TodolistBlock and BulletListBlock and NumberedListBlock can not set padding for it's type

Open
#1,133 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
684
Forks
329
PR merge metrics
No merged PRs in 30d

Description

```
TodoListBlockKeys.type: TodoListBlockComponentBuilder(
configuration: configuration.copyWith(
placeholderText: (_) => LocaleKeys.blockPlaceholders_todoList(context),
padding: (node) => EdgeInsets.all(0),
),
iconBuilder:
(_, node, onCheck) => TodoListIcon(node: node, onCheck: onCheck),
toggleChildrenTriggers: [
LogicalKeyboardKey.shift,
LogicalKeyboardKey.shiftLeft,
LogicalKeyboardKey.shiftRight,
],
),
```

I had set the paddign to zero, but the 3 types of block just toooo large:

Image

Any proper way could do it exaclty>

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.