Skip to content

Commit

Permalink
chore: update link to a specific subsection of the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Casillas committed Nov 27, 2024
1 parent ca8d6b1 commit e37d784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/editor/extensions/functionality/fontfamily.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This extension enables you to set the font family in the editor. It uses the [`T
<CodeDemo path="/Extensions/FontFamily" />

<Callout title="Heads-up!" variant="hint">
Be aware that `editor.isActive('textStyle', { fontFamily: 'Font Family' })` will return the font family as set by the [browser's CSS rules](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) and not as you would have expected when setting the font family.
Be aware that `editor.isActive('textStyle', { fontFamily: 'Font Family' })` will return the font family as set by the [browser's CSS rules](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#family-name) and not as you would have expected when setting the font family.
</Callout>

## Install
Expand Down

0 comments on commit e37d784

Please sign in to comment.