Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(PreviewOptions): set active radio button on open
Fixes: #7544

Signed-off-by: JanBaum <[email protected]>
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
janbaum authored and mejo- committed Oct 14, 2025
commit 3032610c50dc0f3c8a8f8571d520bfcb737992fd
4 changes: 2 additions & 2 deletions src/components/Editor/PreviewOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<NcActionRadio data-text-preview-option="text-only"
name="preview-option"
value="text-only"
:checked="type === 'text-only'"
:model-value="type"
@change="e => toggle(e.currentTarget.value)">
{{ t('text', 'Text only') }}
</NcActionRadio>
<NcActionRadio data-text-preview-option="link-preview"
name="preview-option"
value="link-preview"
:checked="type === 'link-preview'"
:model-value="type"
@change="e => toggle(e.currentTarget.value)">
{{ t('text', 'Show link preview') }}
</NcActionRadio>
Expand Down
Loading