wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Get HTML with text alignment of TextView
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Hi,
I am trying to create a toolbar with custom button to format text in TextView. When I do text alignment button, I just call textview.textAlignment = .center,...But when get HTML from textview, it have no style for text alignment.
Please give me any ideas for it.
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 TextView alignment change with textview.textAlignment and checking the HTML produced afterward. Trace the HTML serialization entry point to determine where alignment is lost; done means centered or otherwise aligned text is represented in the generated HTML.
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
- Needs clarification
- Newbie friendliness
- 25/100