Skip to content

Commit

Permalink
Merge pull request #54 from rawlines/font-selector-bugfix
Browse files Browse the repository at this point in the history
Bugfix "[object Object]" when switching font in playground
  • Loading branch information
wobsoriano authored Jun 30, 2024
2 parents fcb1011 + 40bd97e commit 3824e4a
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 3824e4a

Please sign in to comment.