Skip to content

if users can select the font for text in default editor? #89

Closed Answered by hm21
iOSyan asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, I just released version 2.6.8 where it is also possible to choose between different fonts in the default editor. Just set your settings in the configurations like below:

textEditorConfigs: TextEditorConfigs(
    customTextStyles: [
      // List of your text styles
      GoogleFonts.roboto(),
      GoogleFonts.averiaLibre(),
      GoogleFonts.lato(),
      GoogleFonts.comicNeue(),
      GoogleFonts.actor(),
      GoogleFonts.odorMeanChey(),
      GoogleFonts.nabla(),
    ],
  ),

You can see a complete example here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iOSyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #29 on June 14, 2024 07:05.