Skip to content

Commit

Permalink
Bugfix "[object Object]" when switching font in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
rawlines committed Jun 29, 2024
1 parent fcb1011 commit 40bd97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/src/plugins/ToolbarPlugin/FontDropDown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const FONT_SIZE_OPTIONS: [string, string][] = [
v-for="[option, text] in (customStyle === 'font-family' ? FONT_FAMILY_OPTIONS : FONT_SIZE_OPTIONS)"
:key="option"
:class="`item ${dropDownActiveClass(value === option)} ${customStyle === 'font-size' ? 'fontsize-item' : ''}`"
@click="handleClick"
@click="handleClick(option)"
>
<span class="text">{{ text }}</span>
</DropDownItem>
Expand Down

0 comments on commit 40bd97e

Please sign in to comment.