Merge pull request #7317 from vector-im/aringenbach/7316_indentation_support

Labs: Rich text editor: enable list items indentation
This commit is contained in:
aringenbach
2023-02-01 09:44:45 +01:00
committed by GitHub
16 changed files with 79 additions and 132 deletions
@@ -47,9 +47,7 @@ class HTMLFormatter: NSObject {
var options: [AnyHashable: Any] = [
DTUseiOS6Attributes: true,
DTDefaultFontFamily: font.familyName,
DTDefaultFontName: font.fontName,
DTDefaultFontSize: font.pointSize,
DTDefaultFontDescriptor: font.fontDescriptor,
DTDefaultLinkDecoration: false,
DTDefaultLinkColor: ThemeService.shared().theme.colors.links,
DTWillFlushBlockCallBack: sanitizeCallback