* , - or + at the b
## Installation
::: warning Use with ListItem
-This extension requires the [`ListItem`](/api/nodes/list-item) extension.
+This extension requires the [`ListItem`](/api/nodes/list-item) node.
:::
```bash
diff --git a/docs/src/docPages/api/nodes/list-item.md b/docs/src/docPages/api/nodes/list-item.md
index 3fbc1f42..2f6408b2 100644
--- a/docs/src/docPages/api/nodes/list-item.md
+++ b/docs/src/docPages/api/nodes/list-item.md
@@ -3,7 +3,7 @@ The ListItem extension adds support for the `1. (or any other number followed by a dot) at the beginn
## Installation
::: warning Use with ListItem
-This extension requires the [`ListItem`](/api/nodes/list-item) extension.
+This extension requires the [`ListItem`](/api/nodes/list-item) node.
:::
```bash
diff --git a/docs/src/docPages/api/nodes/task-item.md b/docs/src/docPages/api/nodes/task-item.md
index 97aab620..82209b49 100644
--- a/docs/src/docPages/api/nodes/task-item.md
+++ b/docs/src/docPages/api/nodes/task-item.md
@@ -5,7 +5,7 @@ This extension doesn’t require any JavaScript framework, it’s based on plain
## Installation
::: warning Use with TaskList
-This extension requires the [`TaskList`](/api/nodes/task-list) extension.
+This extension requires the [`TaskList`](/api/nodes/task-list) node.
:::
```bash
diff --git a/docs/src/links.yaml b/docs/src/links.yaml
index 1211a4a4..ed2b93f5 100644
--- a/docs/src/links.yaml
+++ b/docs/src/links.yaml
@@ -112,6 +112,9 @@
link: /api/marks/link
- title: Strike
link: /api/marks/strike
+ - title: Text Style
+ link: /api/marks/text-style
+ draft: true
- title: Underline
link: /api/marks/underline
- title: Extensions
@@ -127,6 +130,9 @@
link: /api/extensions/dropcursor
- title: Focus
link: /api/extensions/focus
+ - title: FontFamily
+ link: /api/extensions/font-family
+ draft: true
- title: Gapcursor
link: /api/extensions/gapcursor
- title: History
diff --git a/packages/extension-font-family/index.ts b/packages/extension-font-family/index.ts
new file mode 100644
index 00000000..00c2053a
--- /dev/null
+++ b/packages/extension-font-family/index.ts
@@ -0,0 +1,55 @@
+import { Command, createExtension } from '@tiptap/core'
+
+type FontFamilyOptions = {
+ types: string[],
+}
+
+const FontFamily = createExtension({
+ defaultOptions: