Ability to choose which HTML tags to use
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start with Aztec.TextView and the getHTML() export path, then trace how the attributedText is converted into HTML. Define how callers would select tags for bold, italic, underline, and paragraph output; done means getHTML() supports the requested tag choices without requiring manual replacement.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
For my project I need to be able to export the HTML after editing with the TextView selecting which tags I want to use. For example, we need to use <b> for bold text instead of <strong>.
Describe the solution you'd like
Letting the user the possibility of choosing tags to use when getting the html (using getHTML()).
Describe alternatives you've considered
For now I will need to manually replace all tags by what I need. I also don't want to use <p> tags which are added automatically so I will need to replace those accordingly.
Additional context
I'm using the Aztec.TextView in Swift and setting its attributedText with my own attributed string at the beginning. The only html tags we want to use are <b>, <i> and <u>.
Many thanks! 😊
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
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.
More from wordpress-mobile/AztecEditor-iOS
-
Bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
wordpress-mobile/AztecEditor-iOS#1417 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
wordpress-mobile/AztecEditor-iOS#1411 ·
-
wordpress-mobile/AztecEditor-iOS#1401 · 2 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
wordpress-mobile/AztecEditor-iOS#1399 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
wordpress-mobile/AztecEditor-iOS#1398 · 1 comment · 1 reaction ·
All issues in wordpress-mobile/AztecEditor-iOS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area:general bug P1 security
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
uttrflow/uttrflow-swift#1333 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
maxgoedjen/secretive#840 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·