-
Hi there... I can't work this out.
I'm getting the font via 2 html cells html style = html` <style> body, svg { font-family: 'PetitaLight', sans-serif; } </style>` |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Are you using notebooks or is it in a framework project? |
Beta Was this translation helpful? Give feedback.
-
Sorry - I'm using notebooks. |
Beta Was this translation helpful? Give feedback.
-
Makes sense. Just trying to do a very specific one off task.. I've managed to solve it by adding the following to your serialize function.
} |
Beta Was this translation helpful? Give feedback.
Makes sense. Just trying to do a very specific one off task.. I've managed to solve it by adding the following to your serialize function.
}
`;
svg.insertBefore(style, svg.firstChild);