Override rendering of built-in blocks (Link)

Offen
#1,118 6 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
react, typescript
Bereich
frontend

Rechercherichtung

Start by reviewing how the built-in Link block renders and how custom blocks or block overrides are currently configured. Identify the existing Link behavior that must remain available and determine where a React render hook could fit. Done means a documented, tested way to provide custom JSX without re-implementing or disabling the built-in Link block.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug:P3

Is your feature request related to a problem? Please describe.
I'd like to override React rendering for links, but without completely re-implementing the Link code as a custom block.

Describe the solution you'd like
Ideally some way to provide a render that returns custom JSX

Describe alternatives you've considered
Considered re-implementing the Link code and disabling the existing default block but I want most of the same behavior, just custom rendering.

Vorherrschende Sprache
TypeScript
Sterne
10.2k
Forks
772
Ø Merge
3 T. 11 Std.
Gemergte PRs (30 T.)
17

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TypeCellOS/BlockNote

Alle Issues in TypeCellOS/BlockNote

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.