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

Set DTCoreText version to 1.6.26 #743

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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