Skip to content

Commit e129ae0

Browse files
committed
Configure values to demo to match defaults in WordPress.
1 parent 21edfc1 commit e129ae0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Example/Example/EditorDemoController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ class EditorDemoController: UIViewController {
324324
textView.accessibilityLabel = accessibilityLabel
325325
textView.font = Constants.defaultContentFont
326326
textView.keyboardDismissMode = .interactive
327-
textView.textColor = UIColor.darkText
327+
textView.textColor = UIColor(red: 0x1A/255.0, green: 0x1A/255.0, blue: 0x1A/255.0, alpha: 1)
328+
textView.linkTextAttributes = [.foregroundColor: UIColor(red: 0x01 / 255.0, green: 0x60 / 255.0, blue: 0x87 / 255.0, alpha: 1), NSAttributedString.Key.underlineStyle: NSNumber(value: NSUnderlineStyle.single.rawValue)]
328329
}
329330

330331
private func registerAttachmentImageProviders() {

0 commit comments

Comments
 (0)