Closed jmartinesp closed 3 months ago
Attention: Patch coverage is 65.11628%
with 30 lines
in your changes are missing coverage. Please review.
Project coverage is 87.13%. Comparing base (
5d3e6c3
) to head (cc9abf6
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
This should help in cases where the UI text is modified externally by the OS or some app.
Basically, what we do here is we intercept any change made outside of the editor by either the OS or the implementing app, pass them to the editor, apply them, then notify the text watchers of the result of these editor changes.
It seems to work well so far, the tests pass. We probably need to thoroughly test it with some day-to-day usage.
PS: this is heavily based on @ganfra 's work here. Thanks!
Video example
https://github.com/matrix-org/matrix-rich-text-editor/assets/480955/33234304-038f-40c5-bbd3-b00bd3ffc7f0