diff --git a/playground/src/plugins/ToolbarPlugin/FontDropDown.vue b/playground/src/plugins/ToolbarPlugin/FontDropDown.vue index 5927e1c..06b049b 100644 --- a/playground/src/plugins/ToolbarPlugin/FontDropDown.vue +++ b/playground/src/plugins/ToolbarPlugin/FontDropDown.vue @@ -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)" > {{ text }}