example.json 5.2 KB

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