We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229b479 commit ffafc3bCopy full SHA for ffafc3b
CustomSuggestionService/TestField/TestFieldView.swift
@@ -162,6 +162,8 @@ private struct StylingPlugin: STPlugin {
162
let textView = context.textView
163
let paragraph = NSParagraphStyle.default.mutableCopy() as! NSMutableParagraphStyle
164
paragraph.lineHeightMultiple = 1.1
165
+ textView.textColor = .textColor
166
+ textView.backgroundColor = .white
167
textView.typingAttributes[.paragraphStyle] = paragraph
168
}
169
0 commit comments