Is it possible to append + prepend <span> tags without using Widgets?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 162
- Merge medio
- 2h 41m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di uiwjs/react-codemirror
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
uiwjs/react-codemirror#766 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
uiwjs/react-codemirror#765 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
uiwjs/react-codemirror#770 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
uiwjs/react-codemirror#767 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
uiwjs/react-codemirror#757 · 2 commenti ·
Tutte le issue di uiwjs/react-codemirror
Issue simili
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
lingdojo/kana-dojo#32018 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
paperclipai/paperclip#15751 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
BuilderIO/agent-native#7275 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno