Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Set DTCoreText version to 1.6.26 (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
aringenbach committed Jul 21, 2023
1 parent 3a4686f commit 308b774
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/Cocoanetics/DTCoreText",
"state" : {
"revision" : "9d2d4d2296e5d2d852a7d3c592b817d913a5d020",
"version" : "1.6.27"
"revision" : "b664664825da565b4c2b7a17dbe2369f68ae43d9",
"version" : "1.6.26"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion platforms/ios/lib/WysiwygComposer/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
),
.package(
url: "https://github.com/Cocoanetics/DTCoreText",
from: "1.6.27"
exact: "1.6.26"
),
],
targets: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ public final class HTMLParser {

let parsingOptions: [String: Any] = [
DTUseiOS6Attributes: true,
DTDefaultFontDescriptor: defaultFont.fontDescriptor,
DTDefaultFontFamily: defaultFont.familyName,
DTDefaultFontName: defaultFont.fontName,
DTDefaultFontSize: defaultFont.pointSize,
DTDefaultStyleSheet: DTCSSStylesheet(styleBlock: defaultCSS) as Any,
DTDocumentPreserveTrailingSpaces: true,
]
Expand Down

0 comments on commit 308b774

Please sign in to comment.