Skip to content

Commit

Permalink
Added first and last baseline layout views for Editor (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep authored Feb 23, 2024
1 parent 4ec0a27 commit 0b81209
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Proton/Sources/Swift/Editor/EditorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1552,3 +1552,13 @@ extension EditorView: AsyncTaskSchedulerDelegate {
return previousRangeIDs.reversed()
}
}

extension EditorView {
open override var forFirstBaselineLayout: UIView {
richTextView
}

open override var forLastBaselineLayout: UIView {
richTextView
}
}

0 comments on commit 0b81209

Please sign in to comment.