Un workaround a cui posso pensare è convertire il post grezzo in Markdown (come, non sono sicuro), guardare l’indice di inizio e fine della selezione nel testo convertito, quindi usarlo per estrarre la sezione dal testo originale. Il problema sarebbe che dovrei presumere che nessun carattere cambi, cioè che Markdown sostituisca i caratteri 1:1.
NateDhaliwal
(Nate Dhaliwal)
2
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| The quote feature strips out some useful HTML tags from the content | 1 | 88 | Dicembre 15, 2024 | |
| Add custom markdown quote bbcode tags | 4 | 311 | Gennaio 8, 2025 | |
| Get back the real "raw" data that created a post? | 33 | 3126 | Gennaio 24, 2026 | |
| Select only the content of a list item or blockquote | 5 | 795 | Aprile 2, 2024 | |
| Lag in selecting text | 2 | 802 | Gennaio 31, 2022 |