Skip to content

Commit 9d3952e

Browse files
committed
feat: disable color for text block leading
1 parent e4c2449 commit 9d3952e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/editor/widgets/text/text_block.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,16 @@ class EditableTextBlock extends StatelessWidget {
241241
if (isOrdered) {
242242
return defaultStyles.leading!.style.copyWith(
243243
fontSize: size,
244-
color: fontColor,
244+
// DISABLE font color
245+
// color: fontColor,
245246
);
246247
}
247248
if (isUnordered) {
248249
return defaultStyles.leading!.style.copyWith(
249250
fontWeight: FontWeight.bold,
250251
fontSize: size,
251-
color: fontColor,
252+
// DISABLE font color
253+
// color: fontColor,
252254
);
253255
}
254256
if (isCheck) {

0 commit comments

Comments
 (0)