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

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alfogrillo committed Oct 28, 2023
1 parent 526467c commit cdbf82f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ public class WysiwygComposerViewModel: WysiwygComposerViewModelProtocol, Observa
}

/// Whether the composer should take any keyboard input.
/// When set to `false`, the underlying text won't change.
/// Otherwise `replaceText(range:,replacementText:)` is evaluated.
/// When set to `false`, `replaceText(range:,replacementText:)` returns `false` as well.
public var shouldReplaceText = true

/// Published value for the composer plain text mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public protocol WysiwygComposerViewModelProtocol: AnyObject {
/// Update the composer compressed required height if it has changed.
func updateCompressedHeightIfNeeded()

/// Whether the composer should take any keyboard input.
/// When set to `false`, the underlying text won't change.
/// Otherwise `replaceText(range:,replacementText:)` is evaluated.
var shouldReplaceText: Bool { get set }

/// Replace text in the model.
///
/// - Parameters:
Expand Down

0 comments on commit cdbf82f

Please sign in to comment.