Closed gregzo closed 1 year ago
@amyworrall has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@amyworrall has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@amyworrall merged this pull request in facebook/lexical-ios@ebadf6a0c19d97ba8a122b6ddd03cf18fac6e581.
The current implementation does not allow the
LexicalView
's delegate to refuse text changes intextViewShouldChangeText
. This PR remediates that by updating the return type of theLexicalViewDelegate
protocol from Void toBool
and making the necessary changes in theLexicalView
extension which implementsLexicalViewDelegate
.Tests have been run successfully.