wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Pasting doesn't call notifyTextViewDidChange
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Describe the bug
When pasting text/content/... into the TextView, the delegate should be informed / textViewDidChange should be called
Expected behavior
notifyTextViewDidChange is called / the delegate is informed about the text change
Proposed fix
Call notifyTextViewDidChange in these 2 lines:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Aztec/Classes/TextKit/TextView.swift at the two paste-related lines linked in the issue. Confirm how those paths handle pasted content and where notifyTextViewDidChange is currently called. Done means pasting text informs the delegate through textViewDidChange.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100