')
+ })
+ })
+
+ it('text should be wrapped in a paragraph by default', () => {
+ cy.get('.ProseMirror')
+ .type('Example Text')
+ .find('p')
+ .should('contain', 'Example Text')
+ })
+
+ it('enter should make a new paragraph', () => {
+ cy.get('.ProseMirror')
+ .type('First Paragraph{enter}Second Paragraph')
+ .find('p')
+ .should('have.length', 2)
+
+ cy.get('.ProseMirror')
+ .find('p:first')
+ .should('contain', 'First Paragraph')
+
+ cy.get('.ProseMirror')
+ .find('p:nth-child(2)')
+ .should('contain', 'Second Paragraph')
+ })
+
+ it('backspace should remove the second paragraph', () => {
+ cy.get('.ProseMirror')
+ .type('{enter}')
+ .find('p')
+ .should('have.length', 2)
+
+ cy.get('.ProseMirror')
+ .type('{backspace}')
+ .find('p')
+ .should('have.length', 1)
+ })
+})
diff --git a/docs/src/demos/Nodes/Emoji/index.vue b/docs/src/demos/Nodes/Emoji/index.vue
new file mode 100644
index 00000000..eb4ccbe4
--- /dev/null
+++ b/docs/src/demos/Nodes/Emoji/index.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/src/docPages/api/extensions.md b/docs/src/docPages/api/extensions.md
index 61cf3a84..f55b8f9b 100644
--- a/docs/src/docPages/api/extensions.md
+++ b/docs/src/docPages/api/extensions.md
@@ -18,6 +18,7 @@ There are also some extensions with more capabilities. We call them [nodes](/api
| [FontFamily](/api/extensions/font-family) | β | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-font-family/) |
| [Gapcursor](/api/extensions/gapcursor) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-gapcursor/) |
| [History](/api/extensions/history) | Yes | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-history/) |
+| [Placeholder](/api/extensions/placeholder) | β | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-placeholder/) |
| [TextAlign](/api/extensions/text-align) | β | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-text-align/) |
| [Typography](/api/extensions/typography) | β | [GitHub](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-typography/) |
diff --git a/docs/src/docPages/api/extensions/placeholder.md b/docs/src/docPages/api/extensions/placeholder.md
index 078df7af..346124dc 100644
--- a/docs/src/docPages/api/extensions/placeholder.md
+++ b/docs/src/docPages/api/extensions/placeholder.md
@@ -2,7 +2,7 @@
[](https://www.npmjs.com/package/@tiptap/extension-placeholder)
[](https://npmcharts.com/compare/@tiptap/extension-placeholder?minimal=true)
-This extension provides placeholder support.
+This extension provides placeholder support. Give your users an idea what they should write with a tiny hint. There is a handful of things to customize, if you feel like it.
## Installation
```bash
diff --git a/docs/src/docPages/api/nodes/emoji.md b/docs/src/docPages/api/nodes/emoji.md
index 0d085130..15103a97 100644
--- a/docs/src/docPages/api/nodes/emoji.md
+++ b/docs/src/docPages/api/nodes/emoji.md
@@ -1,7 +1,19 @@
# Emoji
+## Support for emojis
+There is no extension or example yet, but itβs definitely on our list to build a dedicated extension to add emoji support.
+
+If you want to give it a shot yourself, you could start altering the [`Mention`](/api/nodes/mention) node. This uses the [`Suggestion`](/utilities/suggestion) utility, which should help with an autocomplete and such things.
+
:::pro Fund the development β₯
We need your support to maintain, update, support and develop tiptap 2. If youβre waiting for this extension, [become a sponsor and fund open-source](/sponsor).
:::
-TODO
+## Bring your own emoji picker
+You can use any emoji picker, or build your own. Just use [commands](/api/commands) to insert the picked emojis.
+
+```js
+this.editor.chain().focus().insertText('β¨').run()
+```
+
+
diff --git a/docs/src/docPages/experiments/placeholder.md b/docs/src/docPages/experiments/placeholder.md
deleted file mode 100644
index 1a802fe4..00000000
--- a/docs/src/docPages/experiments/placeholder.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Placeholder
-
-β οΈ Experiment
-
-
diff --git a/docs/src/links.yaml b/docs/src/links.yaml
index 0afecb59..4e99ffb7 100644
--- a/docs/src/links.yaml
+++ b/docs/src/links.yaml
@@ -215,6 +215,7 @@
link: /api/extensions/history
- title: Placeholder
link: /api/extensions/placeholder
+ type: new
- title: TextAlign
link: /api/extensions/text-align
- title: Typography