You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summernote automatically populates the font dropdown with the available fonts that are given on `fontNames` option. This includes the font set on the current dom element. If you only want to display a specific list of fonts on the dropdown. You can set the `addDefaultFonts` option to `false` along with the `fontNames` option. Example settings below will only add Arial and Arial Black fonts to the dropdown.
201
+
202
+
{% highlight javascript %}
203
+
$('#summernote').summernote({
204
+
fontNames: ['Arial', 'Arial Black'],
205
+
addDefaultFonts: false
206
+
});
207
+
{% endhighlight %}
208
+
200
209
### Custom font size units
201
210
You can set the available font size units with the `fontSizeUnits` option.
0 commit comments