mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-01 05:18:08 +00:00

* fix: image url check in for embed link * chore: move all patterns to shared * test: prefer enterText over manipulating widget
7 lines
234 B
Dart
7 lines
234 B
Dart
import 'package:appflowy/shared/patterns/common_patterns.dart';
|
|
|
|
extension GoogleFontsParser on String {
|
|
String parseFontFamilyName() => replaceAll('_regular', '')
|
|
.replaceAllMapped(camelCaseRegex, (m) => ' ${m.group(0)}');
|
|
}
|