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
If you create custom 'select' lists in the toolbar, when the focus leaves the editor the select label reverts to 'hard-coded' values.
E.g. If you have a custom list of fonts, when the focus leaves the editor the font name will be displayed as 'Sans-Serif', even if this is not present in your list of fonts.
I have a feeling that perhaps I am taking the wrong approach to creating these 'custom' lists?
The font lists in this example is working only through the coincidence that the values I have used (serif & monospace) match the values used for the fonts in quill.snow.css.
E.g. If I wanted a font to map to "Verdana, Arial, Helvetica, sans-serif", this would not work.
Should it? Or is there another way to do this?
This sort of approach used to work in v0.2 - perhaps it no longer does by design?
I have been unable to find docs on this.
If you create custom 'select' lists in the toolbar, when the focus leaves the editor the select label reverts to 'hard-coded' values.
E.g. If you have a custom list of fonts, when the focus leaves the editor the font name will be displayed as 'Sans-Serif', even if this is not present in your list of fonts.
Steps for Reproduction
Expected behavior: The originally 'selected' option should be displayed by default when the editor loses focus.
Actual behavior: Quill's standard default options are displayed when the editor loses focus.
Platforms: Chrome 52 on Mac 10.11.6
Version: 1.0.0-rc3
The text was updated successfully, but these errors were encountered: