Skip to content

Commit

Permalink
Make editor document prop optional
Browse files Browse the repository at this point in the history
  • Loading branch information
bkis committed Oct 25, 2023
1 parent bf7b7bd commit 1f2f8b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tekst-Web/src/components/WysiwygEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ import ImageOutlined from '@vicons/material/ImageOutlined';
const props = withDefaults(
defineProps<{
document: string;
document?: string;
toolbarSize?: 'small' | 'medium' | 'large';
maxChars?: number;
}>(),
{
document: '',
toolbarSize: 'small',
maxChars: undefined,
}
Expand Down

0 comments on commit 1f2f8b4

Please sign in to comment.