wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Code format does not work for some text.
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 we apply code format in note it does not work for some text.
To Reproduce
Steps to reproduce the behavior:
- Go to Empty demo
- Type any words.
- Hit return key.
- Apply code format and start typing any random words.
- Now click on source code button and you will see that code format does not apply for all text.
Expected behavior
Code Format should apply for all text.
Screenshots


Smartphone (please complete the following information):
- Device: iPhone 11 Pro
- OS: 14.3
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 by reproducing the issue in the Empty demo on an iPhone or iOS simulator, following the listed steps, then trace the code-format handling used by the note editor. Done means code formatting applies to all typed text after a line break and the source code view reflects the complete formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100