appflowy-editor
appflowy-editor copied to clipboard
TodolistBlock and BulletListBlock and NumberedListBlock can not set padding for it's type
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:
Any proper way could do it exaclty>
Updates: I found I can set the padding to larger like 64, but can not remove the default padding, Is there any further default padding I not aware?
I have disabled EditorStyle padding to zero, and BlockCompoenent for all padding to zero, there still have padding in vertical between todoList or umberedList