Is it possible to append + prepend <span> tags without using Widgets?
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
The issue names MatchDecorator and WidgetType but no repository files or tests; start by checking the repository’s CodeMirror decoration examples and the relevant CodeMirror documentation. Done would be a clear explanation of how the shown markup can be produced, or a specific request for a supported way to achieve it.
索引モデルが issue の本文から書いたものです。
説明
I want to achieve this with codemirror
as you can see in the second image, the html code is:
<div class="cm-line">
testing
<span class="wa-marker">*</span>
<span class="wa-bold">line</span>
<span class="wa-marker">*</span>
</div>
I have tried using MatchDecorator, but it can only wrap ONE <span> tag around the MATCH
How is it possible that this example managed to prepend + append <span class="wa-marker">*</span> around the BOLD <span> tag?
Clearly they are not using WidgetType because there are no .cm-widgetBuffer <img>
How is it possible that they can achieve this?
they are using codemirror too
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 162
- 平均マージ
- 2時間 41分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uiwjs/react-codemirror のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
uiwjs/react-codemirror#766 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
uiwjs/react-codemirror#765 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
uiwjs/react-codemirror#770 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
uiwjs/react-codemirror#767 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
uiwjs/react-codemirror#757 · コメント 2 件 ·
uiwjs/react-codemirror の issue をすべて見る
似ている issue
-
Bump Firebase JS SDK (12.19.0 → 13.0.0)対応中かも @SelaseKay が今日担当しました。 オープンNeeds Attention type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
invertase/react-native-firebase#9364 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4261 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] 官网文档的图片挂了オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
area:cli bug triage:in-progress
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信