example.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. {
  2. "document": {
  3. "type": "editor",
  4. "attributes": {},
  5. "children": [
  6. {
  7. "type": "image",
  8. "attributes": {
  9. "image_src": "https://s1.ax1x.com/2022/07/28/vCgz1x.png"
  10. }
  11. },
  12. {
  13. "type": "text",
  14. "delta": [
  15. {
  16. "insert": "🌶 Read Me"
  17. }
  18. ],
  19. "attributes": {
  20. "subtype": "heading",
  21. "heading": "h1"
  22. }
  23. },
  24. {
  25. "type": "text",
  26. "delta": [
  27. {
  28. "insert": "👋 Welcome to Appflowy"
  29. }
  30. ],
  31. "attributes": {
  32. "subtype": "heading",
  33. "heading": "h2"
  34. }
  35. },
  36. {
  37. "type": "text",
  38. "delta": [
  39. {
  40. "insert": "At AppFlowy, we embody what we value deep in our hearts, taking inspiration from other great companies while forging our own path. AppFlowy’s five core values are Mission Driven, Aim High & Iterate, Transparency, Collaboration, and Honesty. Together, they spell MATCH. We will continue to iterate and refine these values as we grow."
  41. }
  42. ]
  43. },
  44. {
  45. "type": "text",
  46. "delta": [
  47. {
  48. "insert": "Here are the basics:"
  49. }
  50. ],
  51. "attributes": {
  52. "subtype": "heading",
  53. "heading": "h3"
  54. }
  55. },
  56. {
  57. "type": "text",
  58. "delta": [
  59. { "insert": "Click " },
  60. { "insert": "anywhere", "attributes": { "underline": true } },
  61. { "insert": " and just typing." }
  62. ]
  63. },
  64. {
  65. "type": "text",
  66. "delta": [
  67. {
  68. "insert": "Hit"
  69. },
  70. {
  71. "insert": " / ",
  72. "attributes": { "highlightColor": "0xFFFFFF00" }
  73. },
  74. {
  75. "insert": "to see all the types of content you can add - entity, headers, videos, sub pages, etc."
  76. }
  77. ]
  78. },
  79. {
  80. "type": "text",
  81. "delta": [
  82. {
  83. "insert": "Highlight any text, and use the menu that pops up to "
  84. },
  85. { "insert": "style", "attributes": { "bold": true } },
  86. { "insert": " your ", "attributes": { "italic": true } },
  87. { "insert": "writing", "attributes": { "strikethrough": true } },
  88. { "insert": "." }
  89. ]
  90. },
  91. {
  92. "type": "text",
  93. "delta": [
  94. {
  95. "insert": "Here are the plugins:"
  96. }
  97. ],
  98. "attributes": {
  99. "subtype": "heading",
  100. "heading": "h3"
  101. }
  102. },
  103. {
  104. "type": "text",
  105. "delta": [
  106. {
  107. "insert": "Hello world"
  108. }
  109. ],
  110. "attributes": {
  111. "subtype": "checkbox",
  112. "checkbox": false
  113. }
  114. },
  115. {
  116. "type": "text",
  117. "delta": [
  118. {
  119. "insert": "Hello world"
  120. }
  121. ],
  122. "attributes": {
  123. "subtype": "checkbox",
  124. "checkbox": false
  125. }
  126. },
  127. {
  128. "type": "text",
  129. "delta": [
  130. {
  131. "insert": "Hello world"
  132. }
  133. ],
  134. "attributes": {
  135. "subtype": "checkbox",
  136. "checkbox": false
  137. }
  138. },
  139. {
  140. "type": "text",
  141. "delta": [
  142. {
  143. "insert": "Hello world"
  144. }
  145. ],
  146. "attributes": {
  147. "subtype": "bulleted-list"
  148. }
  149. },
  150. {
  151. "type": "text",
  152. "delta": [
  153. {
  154. "insert": "Hello world"
  155. }
  156. ],
  157. "attributes": {
  158. "subtype": "bulleted-list"
  159. }
  160. },
  161. {
  162. "type": "text",
  163. "delta": [
  164. {
  165. "insert": "Hello "
  166. },
  167. {
  168. "insert": "world",
  169. "attributes": { "bold": true }
  170. }
  171. ],
  172. "attributes": {
  173. "subtype": "bulleted-list"
  174. }
  175. },
  176. {
  177. "type": "text",
  178. "delta": [
  179. {
  180. "insert": "Hello world"
  181. }
  182. ],
  183. "attributes": {
  184. "subtype": "quote"
  185. }
  186. },
  187. {
  188. "type": "text",
  189. "delta": [
  190. {
  191. "insert": "Hello world"
  192. }
  193. ],
  194. "attributes": {
  195. "subtype": "quote"
  196. }
  197. },
  198. {
  199. "type": "text",
  200. "delta": [
  201. {
  202. "insert": "Hello world"
  203. }
  204. ],
  205. "attributes": {
  206. "subtype": "quote"
  207. }
  208. },
  209. {
  210. "type": "text",
  211. "delta": [
  212. {
  213. "insert": "Hello world"
  214. }
  215. ],
  216. "attributes": {
  217. "subtype": "number-list",
  218. "number": 1
  219. }
  220. },
  221. {
  222. "type": "text",
  223. "delta": [
  224. {
  225. "insert": "Hello world"
  226. }
  227. ],
  228. "attributes": {
  229. "subtype": "number-list",
  230. "number": 2
  231. }
  232. },
  233. {
  234. "type": "text",
  235. "delta": [
  236. {
  237. "insert": "Hello world"
  238. }
  239. ],
  240. "attributes": {
  241. "subtype": "number-list",
  242. "number": 3
  243. }
  244. }
  245. ]
  246. }
  247. }