Pricing Blog

How to set font from variable?

  • patrickmast-1279865087867224156

    Patrick Mast

    1 year ago

    I have a variable that stores the name of a font. How can I set the font of a textarea to the font specified in the variable?
  • prettycold_-1280041291173859470

    Sam B

    1 year ago

    👀 Watching this post, as I may need this functionality to be implemented in my app soon 😄
    🙏1
  • lucasg-1280173581216518187

    Lucas G

    1 year ago

    Inline styles
  • patrickmast-1280242620638953615

    Patrick Mast

    1 year ago

    Hey @Lucas G, thanks! Can you explain more on how to implement it? 😉
  • lucasg-1280912541299511416

    Lucas G

    1 year ago

    1280912541069086790-image.png
  • It's not the best solution but it would do it
  • patrickmast-1281196537623347316

    Patrick Mast

    1 year ago

    Works perfect! Thanks @Lucas G 💪