@flozy/editor 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.json +6 -0
  3. package/.github/workflows/npm-publish.yml +33 -0
  4. package/.husky/pre-commit +1 -0
  5. package/.storybook/main.js +20 -0
  6. package/.storybook/preview.js +14 -0
  7. package/.vscode/extensions.json +7 -0
  8. package/.vscode/launch.json +15 -0
  9. package/.vscode/settings.json +22 -0
  10. package/README.md +2 -0
  11. package/craco.config.js +16 -0
  12. package/package.json +107 -0
  13. package/public/favicon.ico +0 -0
  14. package/public/index.html +43 -0
  15. package/public/logo192.png +0 -0
  16. package/public/logo512.png +0 -0
  17. package/public/manifest.json +25 -0
  18. package/public/robots.txt +3 -0
  19. package/src/components/Editor/CollaborativeEditor.js +119 -0
  20. package/src/components/Editor/CommonEditor.js +549 -0
  21. package/src/components/Editor/Editor.css +115 -0
  22. package/src/components/Editor/Elements/CodeToText/CodeToText.css +57 -0
  23. package/src/components/Editor/Elements/CodeToText/CodeToText.jsx +115 -0
  24. package/src/components/Editor/Elements/CodeToText/CodeToTextButton.jsx +16 -0
  25. package/src/components/Editor/Elements/CodeToText/HtmlCode.jsx +59 -0
  26. package/src/components/Editor/Elements/CodeToText/HtmlContextMenu.jsx +39 -0
  27. package/src/components/Editor/Elements/Color Picker/ColorPicker.css +38 -0
  28. package/src/components/Editor/Elements/Color Picker/ColorPicker.jsx +110 -0
  29. package/src/components/Editor/Elements/Color Picker/defaultColors.js +34 -0
  30. package/src/components/Editor/Elements/Embed/Embed.css +14 -0
  31. package/src/components/Editor/Elements/Embed/Embed.jsx +74 -0
  32. package/src/components/Editor/Elements/Embed/Image.jsx +82 -0
  33. package/src/components/Editor/Elements/Embed/Video.jsx +65 -0
  34. package/src/components/Editor/Elements/Equation/Equation.jsx +19 -0
  35. package/src/components/Editor/Elements/Equation/EquationButton.jsx +59 -0
  36. package/src/components/Editor/Elements/Equation/styles.css +4 -0
  37. package/src/components/Editor/Elements/Grid/Grid.js +48 -0
  38. package/src/components/Editor/Elements/Grid/GridButton.js +21 -0
  39. package/src/components/Editor/Elements/Grid/GridItem.js +57 -0
  40. package/src/components/Editor/Elements/ID/Id.jsx +56 -0
  41. package/src/components/Editor/Elements/Link/Link.jsx +24 -0
  42. package/src/components/Editor/Elements/Link/LinkButton.jsx +71 -0
  43. package/src/components/Editor/Elements/Link/styles.css +20 -0
  44. package/src/components/Editor/Elements/Mentions/Mentions.jsx +37 -0
  45. package/src/components/Editor/Elements/NewLine/NewLineButton.js +29 -0
  46. package/src/components/Editor/Elements/Table/Table.jsx +13 -0
  47. package/src/components/Editor/Elements/Table/TableSelector.css +18 -0
  48. package/src/components/Editor/Elements/Table/TableSelector.jsx +76 -0
  49. package/src/components/Editor/Elements/TableContextMenu/TableContextMenu.jsx +97 -0
  50. package/src/components/Editor/Elements/TableContextMenu/styles.css +18 -0
  51. package/src/components/Editor/RemoteCursorOverlay/Overlay.js +78 -0
  52. package/src/components/Editor/Toolbar/Toolbar.jsx +167 -0
  53. package/src/components/Editor/Toolbar/styles.css +28 -0
  54. package/src/components/Editor/Toolbar/toolbarGroups.js +167 -0
  55. package/src/components/Editor/Toolbar/toolbarIcons/align-center.svg +1 -0
  56. package/src/components/Editor/Toolbar/toolbarIcons/align-left.svg +1 -0
  57. package/src/components/Editor/Toolbar/toolbarIcons/align-right.svg +1 -0
  58. package/src/components/Editor/Toolbar/toolbarIcons/blockquote.svg +1 -0
  59. package/src/components/Editor/Toolbar/toolbarIcons/bold.png +0 -0
  60. package/src/components/Editor/Toolbar/toolbarIcons/fontColor.svg +4 -0
  61. package/src/components/Editor/Toolbar/toolbarIcons/headingOne.svg +3 -0
  62. package/src/components/Editor/Toolbar/toolbarIcons/headingTwo.svg +3 -0
  63. package/src/components/Editor/Toolbar/toolbarIcons/italic.png +0 -0
  64. package/src/components/Editor/Toolbar/toolbarIcons/link.svg +1 -0
  65. package/src/components/Editor/Toolbar/toolbarIcons/orderedList.svg +1 -0
  66. package/src/components/Editor/Toolbar/toolbarIcons/strikethrough.png +0 -0
  67. package/src/components/Editor/Toolbar/toolbarIcons/subscript.svg +1 -0
  68. package/src/components/Editor/Toolbar/toolbarIcons/superscript.svg +1 -0
  69. package/src/components/Editor/Toolbar/toolbarIcons/textColor.png +0 -0
  70. package/src/components/Editor/Toolbar/toolbarIcons/underline.png +0 -0
  71. package/src/components/Editor/Toolbar/toolbarIcons/unlink.svg +1 -0
  72. package/src/components/Editor/Toolbar/toolbarIcons/unorderedList.svg +1 -0
  73. package/src/components/Editor/YjsProvider.js +11 -0
  74. package/src/components/Editor/common/Button.jsx +12 -0
  75. package/src/components/Editor/common/Icon.jsx +82 -0
  76. package/src/components/Editor/common/MentionsPopup.jsx +56 -0
  77. package/src/components/Editor/hooks/useMentions.js +44 -0
  78. package/src/components/Editor/hooks/withCollaborative.js +15 -0
  79. package/src/components/Editor/hooks/withCommon.js +17 -0
  80. package/src/components/Editor/plugins/withEmbeds.js +36 -0
  81. package/src/components/Editor/plugins/withEquation.js +8 -0
  82. package/src/components/Editor/plugins/withLinks.js +9 -0
  83. package/src/components/Editor/plugins/withMentions.js +19 -0
  84. package/src/components/Editor/plugins/withTable.js +74 -0
  85. package/src/components/Editor/utils/SlateUtilityFunctions.js +273 -0
  86. package/src/components/Editor/utils/customHooks/useContextMenu.js +42 -0
  87. package/src/components/Editor/utils/customHooks/useFormat.js +26 -0
  88. package/src/components/Editor/utils/customHooks/usePopup.jsx +26 -0
  89. package/src/components/Editor/utils/customHooks/useResize.js +41 -0
  90. package/src/components/Editor/utils/draftToSlate.js +104 -0
  91. package/src/components/Editor/utils/embed.js +18 -0
  92. package/src/components/Editor/utils/equation.js +22 -0
  93. package/src/components/Editor/utils/events.js +56 -0
  94. package/src/components/Editor/utils/grid.js +12 -0
  95. package/src/components/Editor/utils/gridItem.js +19 -0
  96. package/src/components/Editor/utils/link.js +53 -0
  97. package/src/components/Editor/utils/mentions.js +11 -0
  98. package/src/components/Editor/utils/paragraph.js +4 -0
  99. package/src/components/Editor/utils/serializer.js +32 -0
  100. package/src/components/Editor/utils/table.js +151 -0
  101. package/src/components/index.js +5 -0
  102. package/src/index.js +1 -0
  103. package/src/stories/CollaborativeEditor.stories.js +30 -0
  104. package/src/stories/Editor.stories.js +24 -0
  105. package/src/stories/EditorSampleProps/ChatSample.js +43 -0
  106. package/src/stories/EditorSampleProps/LayoutOne.js +551 -0
@@ -0,0 +1,551 @@
1
+ const sample = [
2
+ { type: "paragraph", children: [{ text: "" }] },
3
+ {
4
+ type: "grid",
5
+ grid: "container",
6
+ children: [
7
+ {
8
+ type: "grid-item",
9
+ grid: 12,
10
+ children: [
11
+ { type: "paragraph", children: [{ text: "" }] },
12
+ {
13
+ type: "image",
14
+ alt: "",
15
+ url: "https://img.freepik.com/free-vector/stylish-glowing-digital-red-lines-banner_1017-23964.jpg",
16
+ children: [{ text: "" }],
17
+ size: { width: 438, height: 100, widthInPercent: 100 },
18
+ },
19
+ { type: "paragraph", children: [{ text: "" }] },
20
+ {
21
+ type: "alignCenter",
22
+ children: [
23
+ {
24
+ type: "paragraph",
25
+ children: [
26
+ { text: "Sample Links", fontSize: "huge", bold: true },
27
+ ],
28
+ },
29
+ ],
30
+ },
31
+ {
32
+ type: "alignCenter",
33
+ children: [
34
+ {
35
+ type: "paragraph",
36
+ children: [
37
+ {
38
+ fontSize: "huge",
39
+ text: "It is a long established fact that a reader will be",
40
+ },
41
+ ],
42
+ },
43
+ {
44
+ type: "paragraph",
45
+ children: [
46
+ {
47
+ fontSize: "huge",
48
+ text: " Various versions have evolved over the years, ",
49
+ },
50
+ ],
51
+ },
52
+ {
53
+ type: "paragraph",
54
+ children: [
55
+ {
56
+ fontSize: "huge",
57
+ text: "sometimes by accident, sometimes on ",
58
+ },
59
+ ],
60
+ },
61
+ {
62
+ type: "paragraph",
63
+ children: [
64
+ {
65
+ fontSize: "huge",
66
+ text: "purpose (injected humour and the like).",
67
+ },
68
+ ],
69
+ },
70
+ ],
71
+ },
72
+ {
73
+ type: "grid",
74
+ grid: "container",
75
+ children: [
76
+ {
77
+ type: "grid-item",
78
+ grid: 3,
79
+ children: [
80
+ { type: "paragraph", children: [{ text: "" }] },
81
+ {
82
+ type: "image",
83
+ alt: "",
84
+ url: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8fDA%3D&w=1000&q=80",
85
+ children: [{ text: "" }],
86
+ },
87
+ { type: "paragraph", children: [{ text: "" }] },
88
+ {
89
+ type: "grid",
90
+ grid: "container",
91
+ children: [
92
+ {
93
+ type: "grid-item",
94
+ grid: 12,
95
+ children: [
96
+ {
97
+ type: "paragraph",
98
+ children: [
99
+ {
100
+ text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. ",
101
+ },
102
+ { text: "Lorem Ipsum ", bold: true },
103
+ {
104
+ text: "has been the industry's standard dummy text ever since the 1500s",
105
+ },
106
+ ],
107
+ },
108
+ ],
109
+ },
110
+ ],
111
+ },
112
+ ],
113
+ },
114
+ {
115
+ type: "grid-item",
116
+ grid: 3,
117
+ children: [
118
+ { type: "paragraph", children: [{ text: "" }] },
119
+ {
120
+ type: "image",
121
+ alt: "",
122
+ url: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8fDA%3D&w=1000&q=80",
123
+ children: [{ text: "" }],
124
+ },
125
+ { type: "paragraph", children: [{ text: "" }] },
126
+ {
127
+ type: "grid",
128
+ grid: "container",
129
+ children: [
130
+ {
131
+ type: "grid-item",
132
+ grid: 12,
133
+ children: [
134
+ {
135
+ type: "paragraph",
136
+ children: [
137
+ { text: "Lorem Ipsum", bold: true },
138
+ {
139
+ text: " is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard ",
140
+ },
141
+ {
142
+ text: "dummy text ever since the 1500s",
143
+ bold: false,
144
+ },
145
+ ],
146
+ },
147
+ ],
148
+ },
149
+ ],
150
+ },
151
+ ],
152
+ },
153
+ {
154
+ type: "grid-item",
155
+ grid: 3,
156
+ children: [
157
+ { type: "paragraph", children: [{ text: "" }] },
158
+ {
159
+ type: "image",
160
+ alt: "",
161
+ url: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8fDA%3D&w=1000&q=80",
162
+ children: [{ text: "" }],
163
+ },
164
+ { type: "paragraph", children: [{ text: "" }] },
165
+ {
166
+ type: "grid",
167
+ grid: "container",
168
+ children: [
169
+ {
170
+ type: "grid-item",
171
+ grid: 12,
172
+ children: [
173
+ {
174
+ type: "paragraph",
175
+ children: [
176
+ { text: "Lorem Ipsum", bold: true },
177
+ {
178
+ text: " is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s",
179
+ },
180
+ ],
181
+ },
182
+ ],
183
+ },
184
+ ],
185
+ },
186
+ ],
187
+ },
188
+ {
189
+ type: "grid-item",
190
+ grid: 3,
191
+ children: [
192
+ { type: "paragraph", children: [{ text: "" }] },
193
+ {
194
+ type: "image",
195
+ alt: "",
196
+ url: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8fDA%3D&w=1000&q=80",
197
+ children: [{ text: "" }],
198
+ },
199
+ { type: "paragraph", children: [{ text: "" }] },
200
+ {
201
+ type: "grid",
202
+ grid: "container",
203
+ children: [
204
+ {
205
+ type: "grid-item",
206
+ grid: 12,
207
+ children: [
208
+ {
209
+ type: "paragraph",
210
+ children: [
211
+ {
212
+ text: "Lorem Ipsum is simply dummy text of the ",
213
+ },
214
+ { text: "printing and typesetting ", bold: true },
215
+ {
216
+ text: "industry. Lorem Ipsum has been the industry's standard dummy text",
217
+ },
218
+ ],
219
+ },
220
+ ],
221
+ },
222
+ ],
223
+ },
224
+ ],
225
+ },
226
+ ],
227
+ },
228
+ ],
229
+ },
230
+ {
231
+ type: "grid-item",
232
+ grid: 12,
233
+ children: [
234
+ {
235
+ type: "alignCenter",
236
+ children: [
237
+ {
238
+ type: "paragraph",
239
+ children: [
240
+ { text: "Table Datas", fontSize: "huge", bold: true },
241
+ ],
242
+ },
243
+ ],
244
+ },
245
+ {
246
+ type: "alignLeft",
247
+ children: [
248
+ {
249
+ type: "paragraph",
250
+ children: [{ fontSize: "huge", bold: true, text: "" }],
251
+ },
252
+ ],
253
+ },
254
+ {
255
+ type: "grid",
256
+ grid: "container",
257
+ children: [
258
+ {
259
+ type: "grid-item",
260
+ grid: 6,
261
+ children: [
262
+ { type: "paragraph", children: [{ text: "" }] },
263
+ {
264
+ type: "alignCenter",
265
+ children: [
266
+ {
267
+ type: "paragraph",
268
+ children: [
269
+ { text: "Pie Chart", fontSize: "medium", bold: true },
270
+ ],
271
+ },
272
+ {
273
+ type: "paragraph",
274
+ children: [
275
+ { fontSize: "medium", bold: true, text: "" },
276
+ ],
277
+ },
278
+ {
279
+ type: "image",
280
+ alt: "",
281
+ url: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEBAPEA8VEBAVEBIVFxYVFxUVEBUWFhUWFhYVFxUYHSgiGBolGxUVITEhJikrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGi0lICUtLS0tLSstLS0rLS0tLS0tLS0tLSstKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIALEBHAMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABQECAwQGBwj/xABHEAABAwIBCAYGBggFBQEAAAABAAIDBBEFBhIhMUFRYXEiMoGRobEjQmJyksEHExRSgtEVM1OTorLC4UNUc4PSFiREY9M0/8QAGwEAAQUBAQAAAAAAAAAAAAAAAA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sjHcwW/mtaTAKof4Yd7rh87KtLB1l9IuuiHsqWUi7Cqkf+O7szT5FYnYfP+wk+FM6Cr+19zC6NKypZb36OqNlPJ3W8yqtweqOqncOZYP6kKhV/a+5hrI0LIpZmTdW71WN5uJPgFtQ5ISHrzgcGN095PyUscHWf099hNdHPlYw65zW3c7cNJ7gu1pskqdvWDpD7TjbubYKYpqCOMWYxrBuaAPJWIaNk/zO3VtGupwPMqDIur6nQa3OJzidh09Uabrp8MyJgZZ0t53e1oj+Aa+2668QhXhq0oYanF3SKcaEE72NWGlDQAAABqA1LO2NZAFVWLEtigVURKKEREAEREAEREAEREAEREAEREAEREAEREAEREAEKIk3gWlWlETBS0qiIgQoiIkHFwV7VREohcFciJyECIiVAEREoBERABERABERABERABERAH//2Q==",
282
+ children: [{ text: "" }],
283
+ },
284
+ { type: "paragraph", children: [{ text: "" }] },
285
+ ],
286
+ },
287
+ {
288
+ type: "paragraph",
289
+ children: [
290
+ {
291
+ type: "table",
292
+ children: [
293
+ {
294
+ type: "table-row",
295
+ children: [
296
+ {
297
+ type: "table-cell",
298
+ children: [
299
+ {
300
+ type: "paragraph",
301
+ children: [{ text: "Column 1" }],
302
+ },
303
+ ],
304
+ },
305
+ {
306
+ type: "table-cell",
307
+ children: [
308
+ {
309
+ type: "paragraph",
310
+ children: [{ text: "Column Two" }],
311
+ },
312
+ ],
313
+ },
314
+ {
315
+ type: "table-cell",
316
+ children: [
317
+ {
318
+ type: "paragraph",
319
+ children: [{ text: "Column 3" }],
320
+ },
321
+ ],
322
+ },
323
+ {
324
+ type: "table-cell",
325
+ children: [
326
+ {
327
+ type: "paragraph",
328
+ children: [{ text: "Column 4" }],
329
+ },
330
+ ],
331
+ },
332
+ {
333
+ type: "table-cell",
334
+ children: [
335
+ {
336
+ type: "paragraph",
337
+ children: [{ text: "Column 5" }],
338
+ },
339
+ ],
340
+ },
341
+ {
342
+ type: "table-cell",
343
+ children: [
344
+ {
345
+ type: "paragraph",
346
+ children: [{ text: "Column 6" }],
347
+ },
348
+ ],
349
+ },
350
+ ],
351
+ },
352
+ {
353
+ type: "table-row",
354
+ children: [
355
+ {
356
+ type: "table-cell",
357
+ children: [
358
+ {
359
+ type: "paragraph",
360
+ children: [{ text: "Data 1" }],
361
+ },
362
+ ],
363
+ },
364
+ {
365
+ type: "table-cell",
366
+ children: [
367
+ {
368
+ type: "paragraph",
369
+ children: [{ text: "Data 2" }],
370
+ },
371
+ ],
372
+ },
373
+ {
374
+ type: "table-cell",
375
+ children: [
376
+ {
377
+ type: "paragraph",
378
+ children: [{ text: "Data 3" }],
379
+ },
380
+ ],
381
+ },
382
+ {
383
+ type: "table-cell",
384
+ children: [
385
+ {
386
+ type: "paragraph",
387
+ children: [{ text: "Data 4" }],
388
+ },
389
+ ],
390
+ },
391
+ {
392
+ type: "table-cell",
393
+ children: [
394
+ {
395
+ type: "paragraph",
396
+ children: [
397
+ { text: "Data for big columns" },
398
+ ],
399
+ },
400
+ ],
401
+ },
402
+ {
403
+ type: "table-cell",
404
+ children: [
405
+ {
406
+ type: "paragraph",
407
+ children: [{ text: "otheres" }],
408
+ },
409
+ ],
410
+ },
411
+ ],
412
+ },
413
+ {
414
+ type: "table-row",
415
+ children: [
416
+ {
417
+ type: "table-cell",
418
+ children: [
419
+ {
420
+ type: "paragraph",
421
+ children: [{ text: "Other data" }],
422
+ },
423
+ ],
424
+ },
425
+ {
426
+ type: "table-cell",
427
+ children: [
428
+ {
429
+ type: "paragraph",
430
+ children: [{ text: "some medium" }],
431
+ },
432
+ ],
433
+ },
434
+ {
435
+ type: "table-cell",
436
+ children: [
437
+ {
438
+ type: "paragraph",
439
+ children: [{ text: "Normal" }],
440
+ },
441
+ ],
442
+ },
443
+ {
444
+ type: "table-cell",
445
+ children: [
446
+ {
447
+ type: "paragraph",
448
+ children: [
449
+ { text: "another big column data" },
450
+ ],
451
+ },
452
+ ],
453
+ },
454
+ {
455
+ type: "table-cell",
456
+ children: [
457
+ {
458
+ type: "paragraph",
459
+ children: [{ text: "8/9" }],
460
+ },
461
+ ],
462
+ },
463
+ {
464
+ type: "table-cell",
465
+ children: [
466
+ {
467
+ type: "paragraph",
468
+ children: [{ text: "" }],
469
+ },
470
+ {
471
+ type: "paragraph",
472
+ children: [{ text: "othere" }],
473
+ },
474
+ ],
475
+ },
476
+ ],
477
+ },
478
+ ],
479
+ rows: 3,
480
+ columns: 6,
481
+ },
482
+ ],
483
+ },
484
+ ],
485
+ },
486
+ {
487
+ type: "grid-item",
488
+ grid: 6,
489
+ children: [
490
+ { type: "paragraph", children: [{ text: "" }] },
491
+ {
492
+ type: "paragraph",
493
+ children: [
494
+ {
495
+ text: "Some Description about the table data to check Some Description about the table data to check Some Description about the table data to check Some Description about the table data to check Some Description about the table data to check Some Description about the table data to check Some Description about the table data to check ",
496
+ },
497
+ ],
498
+ },
499
+ {
500
+ type: "paragraph",
501
+ children: [
502
+ {
503
+ text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s",
504
+ },
505
+ ],
506
+ },
507
+ {
508
+ type: "paragraph",
509
+ children: [
510
+ {
511
+ text: "Pie charts are very widely used in the business world and the mass media.[3] However, they have been criticized,[4] and many experts recommend avoiding them,[5][6][7][8] as research has shown it is difficult to compare different sections of a given pie chart, or to compare data across different pie charts. Pie charts can be replaced in most cases by other plots such as the bar chart, box plot, dot plot, etc.",
512
+ },
513
+ ],
514
+ },
515
+ {
516
+ type: "paragraph",
517
+ children: [
518
+ {
519
+ text: "Pie charts are very widely used in the business world and the mass media.[3] However, they have been criticized,[4] and many experts recommend avoiding them,[5][6][7][8] as research has shown it is difficult to compare different sections of a given pie chart, or to compare data across different pie charts. Pie charts can be replaced in most cases by other plots such as the bar chart, box plot, dot plot, etc.",
520
+ },
521
+ ],
522
+ },
523
+ {
524
+ type: "paragraph",
525
+ children: [
526
+ {
527
+ text: "Pie charts are very widely used in the business world and the mass media.[3] However, they have been criticized,[4] and many experts recommend avoiding them,[5][6][7][8] as research has shown it is difficult to compare different sections of a given pie chart, or to compare data across different pie charts. Pie charts can be replaced in most cases by other plots such as the bar chart, box plot, dot plot, etc.",
528
+ },
529
+ ],
530
+ },
531
+ { type: "paragraph", children: [{ text: "Ending..." }] },
532
+ ],
533
+ },
534
+ ],
535
+ },
536
+ {
537
+ type: "alignCenter",
538
+ children: [
539
+ {
540
+ type: "paragraph",
541
+ children: [{ fontSize: "huge", bold: true, text: "" }],
542
+ },
543
+ ],
544
+ },
545
+ ],
546
+ },
547
+ ],
548
+ },
549
+ ];
550
+
551
+ export default sample;