Ability to choose which HTML tags to use
まだ誰も着手していません。
評価
調査の方向性
Aztec.TextView と getHTML() のエクスポートパスから始め、attributedText がどのように HTML に変換されるかを追跡します。太字、斜体、下線、段落出力に使用するタグを呼び出し側がどのように選択するかを定義します。getHTML() が手動置換を必要とせずに要求されたタグの選択をサポートすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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! 😊
- 主要言語
- Swift
- スター
- 669
- フォーク
- 153
- 平均マージ
- 11時間 27分
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wordpress-mobile/AztecEditor-iOS のほかの issue
-
Bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
wordpress-mobile/AztecEditor-iOS#1417 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
wordpress-mobile/AztecEditor-iOS#1411 ·
-
wordpress-mobile/AztecEditor-iOS#1401 · コメント 2 件 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
wordpress-mobile/AztecEditor-iOS#1399 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
wordpress-mobile/AztecEditor-iOS#1398 · コメント 1 件 · リアクション 1 件 ·
wordpress-mobile/AztecEditor-iOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
googleapis/google-cloud-swift#1106 ·
-
bug channel: beta feature: preferences feature: ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Cocoanetics/SwiftACP#52 ·