Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions examples/01-basic/02-block-objects/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ export default function App() {
type: "paragraph",
content: "This is a paragraph block",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/01-basic/03-multi-column/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/01-basic/04-default-blocks/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/01-basic/07-selection-blocks/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export default function App() {
type: "paragraph",
content: "Select different blocks to see the JSON change below",
},
{
type: "paragraph",
},
],
});

Expand Down
6 changes: 0 additions & 6 deletions examples/01-basic/12-multi-editor/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export default function App() {
type: "paragraph",
content: "This is a block in the first editor",
},
{
type: "paragraph",
},
]}
/>
<Editor
Expand All @@ -51,9 +48,6 @@ export default function App() {
type: "paragraph",
content: "Try dragging blocks from one editor to the other",
},
{
type: "paragraph",
},
]}
/>
</div>
Expand Down
3 changes: 0 additions & 3 deletions examples/01-basic/16-read-only-editor/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/02-backend/01-file-uploading/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export default function App() {
{
type: "image",
},
{
type: "paragraph",
},
],
uploadFile,
});
Expand Down
3 changes: 0 additions & 3 deletions examples/02-backend/03-s3/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ export default function App() {
{
type: "image",
},
{
type: "paragraph",
},
],
uploadFile: async (file) => {
/**
Expand Down
3 changes: 0 additions & 3 deletions examples/03-ui-components/01-ui-elements-remove/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export default function App() {
content:
"Try making text bold with Ctrl+B/Cmd+B or undo with Ctrl+Z/Cmd+Z.",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ export default function App() {
content:
"Notice that the buttons don't appear when the image block above is selected, as it has no inline content.",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ export default function App() {
content:
"Or select text in this alert - the Block Type Select also appears",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/03-ui-components/04-side-menu-buttons/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export default function App() {
type: "paragraph",
content: "Click it to remove the hovered block",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ export default function App() {
content:
"Try resetting this block's type using the new Drag Handle Menu item",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ export default function App() {
type: "paragraph",
content: "Notice the new 'Insert Hello World' item - try it out!",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ export default function App() {
type: "paragraph",
content: "It's been replaced with a custom component",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export default function App() {
type: "paragraph",
content: "There are now 5 columns instead of 10",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ export default function App() {
type: "paragraph",
content: "It's been replaced with a custom component",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ export function App() {
type: "paragraph",
content: "Press the '@' key to open the mentions menu and add another",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/03-ui-components/11-uppy-file-panel/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ export default function App() {
{
type: "image",
},
{
type: "paragraph",
},
],
uploadFile,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export default function App() {
type: "paragraph",
content: "Check out the static formatting toolbar above!",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/03-ui-components/13-custom-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export default function App() {
type: "paragraph",
content: "Welcome to this demo!",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export default function App() {
content:
"Check out the experimental mobile formatting toolbar by selecting some text (best experienced on a mobile device).",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/03-ui-components/16-link-toolbar-buttons/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ export default function App() {
content:
"Notice that only 'Basic blocks' and 'Headings' are shown, in that order",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/01-theming-dom-attributes/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/02-changing-font/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export default function App() {
type: "paragraph",
content: "You'll see that the font has been changed to Comic Sans MS",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/03-theming-css/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export default function App() {
content:
"Press the '/' key - the hovered Slash Menu items are also blue",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/04-theming-css-variables/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export default function App() {
content:
"Toggle light/dark mode in the page footer and see the theme change too",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/05-theming-css-variables-code/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ export default function App() {
content:
"Toggle light/dark mode in the page footer and see the theme change too",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/06-code-block/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/04-theming/07-custom-code-block/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ export default function App() {
},
],
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/06-custom-schema/01-alert-block/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ export default function App() {
type: "paragraph",
content: "Click the '!' icon to change the alert type",
},
{
type: "paragraph",
},
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ export function App() {
type: "paragraph",
content: "Press the '@' key to open the mentions menu and add another",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/06-custom-schema/03-font-style/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ export default function App() {
content:
"Highlight some text to open the Formatting Toolbar and change the font elsewhere",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/06-custom-schema/04-pdf-file-block/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ export default function App() {
type: "paragraph",
content: "Press the '/' key to open the Slash Menu and add another PDF",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/06-custom-schema/05-alert-block-full-ux/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ export default function App() {
content:
"Or select some text to see the alert in the Formatting Toolbar's Block Type Select",
},
{
type: "paragraph",
},
],
});

Expand Down
3 changes: 0 additions & 3 deletions examples/06-custom-schema/06-toggleable-blocks/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ export default function App() {
type: "paragraph",
content: "Click the '>' icon to show/hide its children",
},
{
type: "paragraph",
},
],
});

Expand Down
Loading
Loading