From 25879d6dc832ab018233a51993dddd73776a6e60 Mon Sep 17 00:00:00 2001 From: Darginec05 Date: Mon, 8 Jul 2024 21:45:52 +0200 Subject: [PATCH] change landing page --- .../LandingEditor/LandingEditor.tsx | 122 -- .../src/components/LandingEditor/value.ts | 1332 ----------------- 2 files changed, 1454 deletions(-) delete mode 100644 web/next-example/src/components/LandingEditor/LandingEditor.tsx delete mode 100644 web/next-example/src/components/LandingEditor/value.ts diff --git a/web/next-example/src/components/LandingEditor/LandingEditor.tsx b/web/next-example/src/components/LandingEditor/LandingEditor.tsx deleted file mode 100644 index aeddd8e4e..000000000 --- a/web/next-example/src/components/LandingEditor/LandingEditor.tsx +++ /dev/null @@ -1,122 +0,0 @@ -import YooptaEditor, { YooEditor } from '@yoopta/editor'; - -import Paragraph from '@yoopta/paragraph'; -import Blockquote from '@yoopta/blockquote'; -import Embed from '@yoopta/embed'; -import Image from '@yoopta/image'; -import Link from '@yoopta/link'; -import Callout from '@yoopta/callout'; -import Video from '@yoopta/video'; -import File from '@yoopta/file'; -import Accordion from '@yoopta/accordion'; -import { NumberedList, BulletedList, TodoList } from '@yoopta/lists'; -import { Bold, Italic, CodeMark, Underline, Strike, Highlight } from '@yoopta/marks'; -import { HeadingOne, HeadingThree, HeadingTwo } from '@yoopta/headings'; -import Code from '@yoopta/code'; -import ActionMenuList, { DefaultActionMenuRender } from '@yoopta/action-menu-list'; -import Toolbar, { DefaultToolbarRender } from '@yoopta/toolbar'; -import LinkTool, { DefaultLinkToolRender } from '@yoopta/link-tool'; - -import { uploadToCloudinary } from '@/utils/cloudinary'; -import { value } from './value'; -import { useEffect } from 'react'; - -const plugins = [ - Paragraph, - Accordion, - HeadingOne, - HeadingTwo, - HeadingThree, - Blockquote.extend({ - options: { - HTMLAttributes: { - className: 'yoopta-main-page-blockquote', - spellCheck: true, - }, - shortcuts: ['>', 'bq'], - }, - }), - Callout, - NumberedList, - BulletedList, - TodoList, - Code, - Link, - Embed, - Image.extend({ - options: { - async onUpload(file) { - const data = await uploadToCloudinary(file, 'image'); - - return { - src: data.secure_url, - alt: 'cloudinary', - sizes: { - width: data.width, - height: data.height, - }, - }; - }, - }, - }), - Video.extend({ - options: { - onUpload: async (file) => { - const data = await uploadToCloudinary(file, 'video'); - return { - src: data.secure_url, - alt: 'cloudinary', - sizes: { - width: data.width, - height: data.height, - }, - }; - }, - }, - }), - File.extend({ - options: { - onUpload: async (file) => { - const response = await uploadToCloudinary(file, 'auto'); - return { src: response.url }; - }, - }, - }), -]; - -const TOOLS = { - ActionMenu: { - render: DefaultActionMenuRender, - tool: ActionMenuList, - }, - Toolbar: { - render: DefaultToolbarRender, - tool: Toolbar, - }, - LinkTool: { - render: DefaultLinkToolRender, - tool: LinkTool, - }, -}; - -const MARKS = [Bold, Italic, CodeMark, Underline, Strike, Highlight]; - -type Props = { - editor: YooEditor; - selectionRef: React.RefObject; -}; - -export const LandingEditor = ({ selectionRef, editor }: Props) => { - return ( - - ); -}; diff --git a/web/next-example/src/components/LandingEditor/value.ts b/web/next-example/src/components/LandingEditor/value.ts deleted file mode 100644 index 2ff43453d..000000000 --- a/web/next-example/src/components/LandingEditor/value.ts +++ /dev/null @@ -1,1332 +0,0 @@ -export const value = { - 'bd2968cd-0e38-4804-8761-efd919599bb2': { - id: 'bd2968cd-0e38-4804-8761-efd919599bb2', - type: 'HeadingThree', - meta: { - order: 1, - depth: 0, - }, - value: [ - { - id: '989848b0-1f8e-4cd3-8f81-423de4e7948d', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'Getting started is easy ', - }, - ], - }, - ], - }, - '202f6bc9-dd49-47f2-9402-4788d0e9dd18': { - id: '202f6bc9-dd49-47f2-9402-4788d0e9dd18', - value: [ - { - id: '3ed61756-e7a6-4aab-bf2a-8798f38fba5f', - type: 'code', - props: { - nodeType: 'void', - language: 'javascript', - theme: 'VSCode', - }, - children: [ - { - text: "import YooptaEditor, { createYooptaEditor } from '@yoopta/editor';\nimport Paragraph from '@yoopta/paragraph';\n\nconst plugins = [Paragraph]\n\nexport const Editor = () => {\n const editor = useMemo(() => createYooptaEditor(), []);\n\n return ;\n};", - }, - ], - }, - ], - type: 'Code', - meta: { - order: 2, - depth: 0, - }, - }, - 'dbeb873f-e2d1-4e02-ba7a-aa0977d8d7eb': { - id: 'dbeb873f-e2d1-4e02-ba7a-aa0977d8d7eb', - value: [ - { - id: '517b8db1-b5d3-46d7-b84c-1468a0fb48ae', - type: 'heading-one', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'Hello there 👋', - }, - ], - }, - ], - type: 'HeadingOne', - meta: { - order: 0, - depth: 0, - align: 'center', - }, - }, - '4bb3d300-aa26-4840-8f65-eef0b3ca749c': { - id: '4bb3d300-aa26-4840-8f65-eef0b3ca749c', - type: 'HeadingThree', - meta: { - order: 3, - depth: 0, - }, - value: [ - { - id: '60ec96cf-32ce-4b58-8e47-0ea447069239', - type: 'heading-three', - children: [ - { - text: 'List of powerful plugins:', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - }, - 'd8f8dfca-d155-4a09-afc9-5d6b91e4ddd2': { - id: 'd8f8dfca-d155-4a09-afc9-5d6b91e4ddd2', - value: [ - { - id: '1cb4a581-d140-44f9-8246-33d21eb54f87', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/paragraph', - }, - { - text: ' - [default plugin]', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 4, - depth: 0, - }, - }, - 'c72c9735-b3a9-40be-9820-420291fe235c': { - id: 'c72c9735-b3a9-40be-9820-420291fe235c', - value: [ - { - id: '1398d65e-3003-4e1b-9d82-796f44b72383', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/headings', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 5, - depth: 0, - }, - }, - '14224f42-ea5c-4e79-a7f8-2b330abffb22': { - id: '14224f42-ea5c-4e79-a7f8-2b330abffb22', - value: [ - { - id: '6dafb854-f391-4a2e-ba77-b5f7d9fa221d', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/blockquote', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 6, - depth: 0, - }, - }, - 'f8c8082a-a1f0-4e1d-8a6e-97de1d19dd04': { - id: 'f8c8082a-a1f0-4e1d-8a6e-97de1d19dd04', - value: [ - { - id: 'f3eb3198-1321-4c5e-aba6-55d26de3555c', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/accordion', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 7, - depth: 0, - }, - }, - '79ec5096-4618-4301-9163-71f2192d0a8d': { - id: '79ec5096-4618-4301-9163-71f2192d0a8d', - value: [ - { - id: 'ebc00ebd-02dc-4c3e-90b9-6fa18622f219', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/code', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 8, - depth: 0, - }, - }, - 'cdc55930-ff2f-45c6-b124-1a60635357ba': { - id: 'cdc55930-ff2f-45c6-b124-1a60635357ba', - value: [ - { - id: '2349b5ea-f3d5-401a-9961-a5c8dfcabd5c', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/embed', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 9, - depth: 0, - }, - }, - '458e9ac8-9997-47da-8060-b5faa046a5e9': { - id: '458e9ac8-9997-47da-8060-b5faa046a5e9', - value: [ - { - id: '04064e0a-a0e8-48d8-9995-0a73c3077737', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/image', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 10, - depth: 0, - }, - }, - 'a5268aa3-18fd-4151-960e-9109ed37ea0a': { - id: 'a5268aa3-18fd-4151-960e-9109ed37ea0a', - value: [ - { - id: '13f5e4bc-3348-4d84-9209-7bfe4c78581c', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/link', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 11, - depth: 0, - }, - }, - 'f0c9af44-d345-4715-ab8d-1c688010e930': { - id: 'f0c9af44-d345-4715-ab8d-1c688010e930', - value: [ - { - id: '1c3d21ff-acb5-4046-841d-2d76271f42e9', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/file', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 12, - depth: 0, - }, - }, - '00c87f38-22e0-4e8a-8c75-fe68e3d0ba75': { - id: '00c87f38-22e0-4e8a-8c75-fe68e3d0ba75', - value: [ - { - id: '8693e77d-3d63-41ed-bf41-f3320fa58106', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/callout', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 13, - depth: 0, - }, - }, - 'a522ac4a-ddf8-4d2e-a3a2-72db5ecd4980': { - id: 'a522ac4a-ddf8-4d2e-a3a2-72db5ecd4980', - value: [ - { - id: 'ca2f9c58-d0d7-46a9-a6bf-386b5386c6da', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/video', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 14, - depth: 0, - }, - }, - 'a0ef42a4-e05d-40cf-acff-8a88dc19e221': { - id: 'a0ef42a4-e05d-40cf-acff-8a88dc19e221', - value: [ - { - id: 'de3eb770-a634-47d8-9359-0d9d89f17b09', - type: 'bulleted-list', - children: [ - { - code: true, - text: '@yoopta/lists', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 15, - depth: 0, - }, - }, - 'ee7b75d0-2a7c-4567-9e5e-61fe46f451ca': { - id: 'ee7b75d0-2a7c-4567-9e5e-61fe46f451ca', - value: [ - { - id: 'bf2d26e3-a9f2-4c2a-ad0e-45bcbf61e1ce', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'Everything is customizable', - }, - ], - }, - ], - type: 'HeadingThree', - meta: { - order: 16, - depth: 0, - }, - }, - '0dc95004-9b39-4f49-ae99-95f09e2aa703': { - id: '0dc95004-9b39-4f49-ae99-95f09e2aa703', - value: [ - { - id: 'dd4fdc48-5536-4bf2-902e-38c110bf531f', - type: 'code', - props: { - nodeType: 'void', - language: 'javascript', - theme: 'VSCode', - }, - children: [ - { - text: "import Blockquote from '@yoopta/blockquote';\n\nconst plugins = [\n // ...other plugins\n Blockquote.extend({\n options: {\n HTMLAttributes: {\n className: 'yoopta-main-page-blockquote',\n spellCheck: true,\n },\n shortcuts: ['>', 'bq'],\n },\n }),\n];", - }, - ], - }, - ], - type: 'Code', - meta: { - order: 18, - depth: 0, - }, - }, - '4af24fec-e103-4ba6-8d54-020be554587c': { - id: '4af24fec-e103-4ba6-8d54-020be554587c', - value: [ - { - id: '96dd823b-ba4b-4351-8476-5d327f7b7d3a', - type: 'paragraph', - children: [ - { - text: "Let's change default styles and shorcuts for ", - }, - { - text: 'Blockquote', - bold: true, - }, - { - text: ' plugin', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 17, - depth: 0, - }, - }, - '94476c3d-c117-4fe7-913f-2b217f5ede34': { - id: '94476c3d-c117-4fe7-913f-2b217f5ede34', - value: [ - { - id: '93848b6b-67c9-4d57-a1af-8d3ace2a021a', - type: 'blockquote', - children: [ - { - text: "Oh, it works! I'am Blockquote with new extended styles", - }, - ], - }, - ], - type: 'Blockquote', - meta: { - order: 19, - depth: 0, - }, - }, - '1d24bde2-66da-4ee2-889b-9be7d4334c37': { - id: '1d24bde2-66da-4ee2-889b-9be7d4334c37', - value: [ - { - id: '7c544ad7-37e7-4e03-bb02-3147d75a6753', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'Powerful and optimized Media (image, video, embed, file) plugins', - }, - ], - }, - ], - type: 'HeadingThree', - meta: { - order: 21, - depth: 0, - }, - }, - '10718eae-4128-4270-b0dc-62a252b17291': { - id: '10718eae-4128-4270-b0dc-62a252b17291', - value: [ - { - id: 'e08e4b97-8ce9-4523-ae22-1ac7aa0373bd', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'And even complex plugins like Accordion', - }, - ], - }, - ], - type: 'HeadingThree', - meta: { - order: 24, - depth: 0, - }, - }, - 'b30b13e7-9cd3-4036-b36b-9891c2e1e517': { - id: 'b30b13e7-9cd3-4036-b36b-9891c2e1e517', - value: [ - { - id: '449034cb-7b6a-44e3-9538-bc309a4df6eb', - type: 'image', - props: { - src: 'https://res.cloudinary.com/ench-app/image/upload/v1719756417/e608ab26-d8fd-44b6-8859-b35abc4b5558_oifyp1_n8w57k.webp', - alt: 'cloudinary', - srcSet: null, - fit: 'fill', - sizes: { - width: 440, - height: 372, - }, - nodeType: 'void', - }, - children: [ - { - text: '', - }, - ], - }, - ], - type: 'Image', - meta: { - order: 22, - depth: 0, - }, - }, - '8f4d28f6-5b39-430d-ae55-59e0c0b52d10': { - id: '8f4d28f6-5b39-430d-ae55-59e0c0b52d10', - value: [ - { - id: '21d5fbe1-2217-46a9-8b08-f0e0a48533e1', - type: 'accordion-list', - children: [ - { - id: 'c15e1885-ccba-4f2a-8a71-d0688ea5fe4d', - type: 'accordion-list-item', - children: [ - { - id: 'fa9fb714-c928-46db-b8e1-de1fcdb3434a', - type: 'accordion-list-item-heading', - children: [ - { - text: "Hello, it's me. ", - }, - { - text: 'What is time?', - highlight: { - color: '#477DA5', - }, - }, - ], - props: { - nodeType: 'block', - }, - }, - { - id: 'd77a78be-8345-41fd-be64-5d2e2938b5aa', - type: 'accordion-list-item-content', - children: [ - { - text: 'Time to cooking best editor ', - underline: true, - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - props: { - nodeType: 'block', - isExpanded: true, - }, - }, - { - id: '8501fb9a-09f8-471e-a918-2b365e83fc07', - type: 'accordion-list-item', - children: [ - { - id: '092e2d71-bd98-4662-9d10-ad44bbd53cd8', - type: 'accordion-list-item-heading', - children: [ - { - text: 'What the best football club? ', - }, - ], - props: { - nodeType: 'block', - }, - }, - { - id: 'ba4e91e1-bab6-41c0-bd74-5ff925799fac', - type: 'accordion-list-item-content', - children: [ - { - text: 'Chelsea 💙', - bold: true, - underline: true, - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - props: { - nodeType: 'block', - isExpanded: false, - }, - }, - ], - }, - ], - type: 'Accordion', - meta: { - order: 25, - depth: 0, - }, - }, - '7f712547-7a11-4504-a4da-18c5ae5157ef': { - id: '7f712547-7a11-4504-a4da-18c5ae5157ef', - value: [ - { - id: 'de6b4996-a3b4-46d5-807e-5763d7cf8eb4', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: 'Exports content in different formats', - }, - ], - }, - ], - type: 'HeadingThree', - meta: { - order: 27, - depth: 0, - }, - }, - 'd29d873d-2ff8-4396-add7-27300d15b308': { - id: 'd29d873d-2ff8-4396-add7-27300d15b308', - value: [ - { - id: '9f6cc751-3598-4ea6-836d-67196a16d78f', - type: 'paragraph', - children: [ - { - text: 'Using package ', - }, - { - text: '@yoopta/exports', - bold: true, - }, - { - text: ' you can exports content in next formats: HTML, Markdown, text.', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 28, - depth: 0, - }, - }, - '3caa719b-7797-4f48-8f8c-87f295a909e0': { - id: '3caa719b-7797-4f48-8f8c-87f295a909e0', - value: [ - { - id: '79625e88-24dd-420a-a756-284f527c6c2b', - type: 'paragraph', - children: [ - { - text: 'Check examples - ', - }, - { - type: 'link', - children: [ - { - text: 'https://yoopta.dev/examples/withExports', - }, - ], - props: { - url: 'https://yoopta.dev/examples/withExports', - target: '_blank', - rel: 'noopener noreferrer', - }, - }, - { - text: '', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 29, - depth: 0, - }, - }, - 'd574644f-2eec-4510-a0b0-02ed8c922fbe': { - id: 'd574644f-2eec-4510-a0b0-02ed8c922fbe', - value: [ - { - id: 'b39f09b4-ef93-4a9f-8517-4392f1d407ce', - type: 'paragraph', - children: [ - { - text: '', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 30, - depth: 0, - }, - }, - 'f16e3456-0c53-4bd3-8956-3d5e387c52d6': { - id: 'f16e3456-0c53-4bd3-8956-3d5e387c52d6', - value: [ - { - id: '16ec89e8-89f9-4717-85a7-c8daae415d11', - type: 'heading-three', - props: { - nodeType: 'block', - }, - children: [ - { - text: '...and more other features...', - }, - ], - }, - ], - type: 'HeadingThree', - meta: { - order: 31, - depth: 0, - }, - }, - 'edc697c0-3eb5-49f8-8d31-284f9c4762b2': { - id: 'edc697c0-3eb5-49f8-8d31-284f9c4762b2', - value: [ - { - id: '487ec91d-4b0e-4eff-a0db-3e3c0435abfe', - type: 'bulleted-list', - children: [ - { - text: 'Easy setup', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 32, - depth: 0, - }, - }, - '36223069-4f82-4df1-9198-392d64f4dd9d': { - id: '36223069-4f82-4df1-9198-392d64f4dd9d', - value: [ - { - id: '313547bb-b206-4c9e-a0ea-c009e681dcc0', - type: 'bulleted-list', - children: [ - { - text: 'Default list of powerful plugins', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 33, - depth: 0, - }, - }, - '80608b4e-bc62-4592-ad62-c7aeda61efe5': { - id: '80608b4e-bc62-4592-ad62-c7aeda61efe5', - value: [ - { - id: 'fe4c83dd-5810-4362-8072-173cbf810cdb', - type: 'bulleted-list', - children: [ - { - text: 'Many typical solved problems in UX behaviour.', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 34, - depth: 0, - }, - }, - 'f954b95b-62ea-435d-aa85-ffd79a8d70b0': { - id: 'f954b95b-62ea-435d-aa85-ffd79a8d70b0', - value: [ - { - id: 'fa4793b1-2f2e-4457-a608-17a4816edd8d', - type: 'bulleted-list', - children: [ - { - text: 'Media plugins on steroids with optimization and lazy loadings', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 35, - depth: 0, - }, - }, - '1279806b-39ed-4654-83b5-1d1779b7626e': { - id: '1279806b-39ed-4654-83b5-1d1779b7626e', - value: [ - { - id: '7865e3ae-2ce8-43fd-9061-03aa6e0d53c5', - type: 'bulleted-list', - children: [ - { - text: 'Code plugin on steroids with themes and languages', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 36, - depth: 0, - }, - }, - 'e23fd3c9-7a6d-4eb7-9af9-72cb60534de6': { - id: 'e23fd3c9-7a6d-4eb7-9af9-72cb60534de6', - value: [ - { - id: 'd2bbdd26-4e68-469c-b82c-7f66a118c799', - type: 'bulleted-list', - children: [ - { - text: 'Each plugin can be easily customized and extensible', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 37, - depth: 0, - }, - }, - 'aa6cd4ef-4c96-489f-aca5-3965135eafa4': { - id: 'aa6cd4ef-4c96-489f-aca5-3965135eafa4', - value: [ - { - id: 'e43eb053-3c20-4ff0-82ac-2ddce7a35aef', - type: 'bulleted-list', - children: [ - { - text: 'Drag and drop, nested dnd is supported also', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 38, - depth: 0, - }, - }, - 'ff57695c-ec58-4bae-9e96-b74ea3057f06': { - id: 'ff57695c-ec58-4bae-9e96-b74ea3057f06', - value: [ - { - id: 'a656c449-93f3-4e45-9152-12a04b224ea7', - type: 'bulleted-list', - children: [ - { - text: 'Selection box for manipulating multiple blocks at once', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 39, - depth: 0, - }, - }, - '77e9fcd3-c38d-464e-a28e-8171c043c915': { - id: '77e9fcd3-c38d-464e-a28e-8171c043c915', - value: [ - { - id: '807fb8fc-119c-4ef9-850b-51570b96be3a', - type: 'bulleted-list', - children: [ - { - text: 'You can create your own plugin', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 40, - depth: 0, - }, - }, - 'f6bc7500-93d4-4e1f-82b9-ae8ea88d5eee': { - id: 'f6bc7500-93d4-4e1f-82b9-ae8ea88d5eee', - value: [ - { - id: 'ec270d74-e271-4d83-90a9-50c9ada24df6', - type: 'bulleted-list', - children: [ - { - text: 'A list of useful tools (ActionMenu, Toolbar etc.) for the convenience of working with the editor', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 41, - depth: 0, - }, - }, - 'bad2ee41-9722-4c01-a669-d155bc93ac51': { - id: 'bad2ee41-9722-4c01-a669-d155bc93ac51', - value: [ - { - id: '6fdb7936-1a9a-4c27-9fbc-a94fc3a7a1e2', - type: 'bulleted-list', - children: [ - { - text: 'Automatic lazy loading for media components (eg. embeds)', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 42, - depth: 0, - }, - }, - '60d4b368-6897-4ef0-8176-eb01e10e9435': { - id: '60d4b368-6897-4ef0-8176-eb01e10e9435', - value: [ - { - id: '964e5db6-ee56-4fca-8ce9-ad4e0e8b56d8', - type: 'bulleted-list', - children: [ - { - text: 'Large documents', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 43, - depth: 0, - }, - }, - '94d9077b-e9ed-4344-93a1-f815effcc949': { - id: '94d9077b-e9ed-4344-93a1-f815effcc949', - value: [ - { - id: '31233a9b-fd1b-417d-aca3-306d98ddb292', - type: 'bulleted-list', - children: [ - { - text: 'Mobile friendly', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 44, - depth: 0, - }, - }, - '3d616b65-ffbe-4734-b496-d578277f36d6': { - id: '3d616b65-ffbe-4734-b496-d578277f36d6', - value: [ - { - id: '441d33f6-5907-4d88-aaa1-4238fb5ac3a1', - type: 'bulleted-list', - children: [ - { - text: 'Indent and outdent for every plugin by tabs and shift+tabs', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 45, - depth: 0, - }, - }, - '70c24979-b09e-4107-85f5-1bc4052ea853': { - id: '70c24979-b09e-4107-85f5-1bc4052ea853', - value: [ - { - id: 'bd5a1636-8880-49a8-bb0b-6124ac064f83', - type: 'bulleted-list', - children: [ - { - text: 'Editor instance to programmatically control your content', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 46, - depth: 0, - }, - }, - '67191a56-1f4c-4b8b-b47c-6e09dcfbfe3b': { - id: '67191a56-1f4c-4b8b-b47c-6e09dcfbfe3b', - value: [ - { - id: '3146830f-3f7c-4a2e-b87f-acee561da4c9', - type: 'bulleted-list', - children: [ - { - text: 'Editor events for saving to DB in real-time', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 47, - depth: 0, - }, - }, - 'd73a7403-5933-4b40-817b-1879273da8d4': { - id: 'd73a7403-5933-4b40-817b-1879273da8d4', - value: [ - { - id: 'd193c99e-15c9-4360-bfd8-1e1a4d310fbe', - type: 'bulleted-list', - children: [ - { - text: 'Exports in markdown, plain text, html', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 48, - depth: 0, - }, - }, - 'e3062ad6-ac0e-4032-ae2c-63a5519f63d2': { - id: 'e3062ad6-ac0e-4032-ae2c-63a5519f63d2', - value: [ - { - id: 'bf16e16d-0c61-4178-95c7-a90ff01f23b6', - type: 'bulleted-list', - children: [ - { - text: 'Shortcuts, hotkeys. And customization for this!', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 49, - depth: 0, - }, - }, - 'ea09d9a7-06ff-413b-bd2e-8339701f3957': { - id: 'ea09d9a7-06ff-413b-bd2e-8339701f3957', - value: [ - { - id: '61b775bd-a351-45fb-8e93-31200f5a735c', - type: 'bulleted-list', - children: [ - { - text: 'Super AI tools not for HYPE, but for real useful work with editor content - [in progress]', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 50, - depth: 0, - }, - }, - '7850037c-cabe-4ecb-8ef2-95ba0ebf4147': { - id: '7850037c-cabe-4ecb-8ef2-95ba0ebf4147', - value: [ - { - id: 'b87d54a9-b352-4663-8d0c-effbf7646adf', - type: 'bulleted-list', - children: [ - { - text: 'The soul invested in the development of this editor 💙', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 51, - depth: 0, - }, - }, - '46646a8c-7813-4056-908b-ee7f1a8da22c': { - id: '46646a8c-7813-4056-908b-ee7f1a8da22c', - value: [ - { - id: 'a6e95216-1fc1-419a-abb9-db1a435efb83', - type: 'bulleted-list', - children: [ - { - text: '... and other features that I forgot to write about in this list 😅. Just check it in examples!', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'BulletedList', - meta: { - order: 52, - depth: 0, - }, - }, - '16f08706-b9a8-4f38-b26b-56e7d2f8f327': { - id: '16f08706-b9a8-4f38-b26b-56e7d2f8f327', - value: [ - { - id: '90645505-f5b0-4399-a92f-07f85d8d55fc', - type: 'paragraph', - children: [ - { - text: '', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 26, - depth: 0, - }, - }, - '0cba099c-8f46-4e28-917c-0c41ac4ac711': { - id: '0cba099c-8f46-4e28-917c-0c41ac4ac711', - value: [ - { - id: '5d591a57-134b-45bf-8645-c03e2e87435a', - type: 'paragraph', - children: [ - { - text: '', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 23, - depth: 0, - }, - }, - '739516ff-3b8b-4380-93bf-58118f5de049': { - id: '739516ff-3b8b-4380-93bf-58118f5de049', - value: [ - { - id: 'a191ac8d-937b-4e9d-a021-1493be7fdaab', - type: 'paragraph', - children: [ - { - text: '', - }, - ], - props: { - nodeType: 'block', - }, - }, - ], - type: 'Paragraph', - meta: { - order: 20, - depth: 0, - }, - }, - 'b1e625a7-9446-49fd-9bb9-63da212dacc4': { - id: 'b1e625a7-9446-49fd-9bb9-63da212dacc4', - value: [ - { - id: 'c0ec25a0-fbea-4c20-858b-8d636dd0256f', - type: 'callout', - props: { - theme: 'info', - }, - children: [ - { - text: 'Go for more examples - ', - }, - { - type: 'link', - children: [ - { - text: 'https://yoopta.dev/examples/withBaseFullSetup', - }, - ], - props: { - url: 'https://yoopta.dev/examples/withBaseFullSetup', - target: '_blank', - rel: 'noopener noreferrer', - }, - }, - { - text: '', - }, - ], - }, - ], - type: 'Callout', - meta: { - order: 53, - depth: 0, - }, - }, -};