feat: Reset SentFurigana field on SentenceListeningNote creation

This commit is contained in:
Dendy 2025-04-23 06:02:30 +02:00
parent 0eab07c497
commit b7ec7623b2
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class SentenceListeningNote extends Note
$this->fields['VocabKanji'] = $term->getKanji();
$this->fields['VocabFurigana'] = $term->getReading();
$this->fields['VocabDef'] = $term->toAnkiVocabDef();
$this->fields['SentFurigana'] = ''; // We don't want to keep this
$this->fields['SentKanji'] = $this->stringHighlight(
$this->fields['SentKanji'],
$term->getKanji(),