block.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 2,
  4. "name": "core/quote",
  5. "title": "Quote",
  6. "category": "text",
  7. "description": "Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar",
  8. "keywords": [ "blockquote", "cite" ],
  9. "textdomain": "default",
  10. "attributes": {
  11. "value": {
  12. "type": "string",
  13. "source": "html",
  14. "selector": "blockquote",
  15. "multiline": "p",
  16. "default": "",
  17. "__experimentalRole": "content"
  18. },
  19. "citation": {
  20. "type": "string",
  21. "source": "html",
  22. "selector": "cite",
  23. "default": "",
  24. "__experimentalRole": "content"
  25. },
  26. "align": {
  27. "type": "string"
  28. }
  29. },
  30. "supports": {
  31. "anchor": true,
  32. "__experimentalOnEnter": true,
  33. "typography": {
  34. "fontSize": true,
  35. "lineHeight": true,
  36. "__experimentalFontFamily": true,
  37. "__experimentalFontWeight": true,
  38. "__experimentalFontStyle": true,
  39. "__experimentalTextTransform": true,
  40. "__experimentalTextDecoration": true,
  41. "__experimentalLetterSpacing": true,
  42. "__experimentalDefaultControls": {
  43. "fontSize": true,
  44. "fontAppearance": true
  45. }
  46. },
  47. "color": {
  48. "gradients": true,
  49. "link": true,
  50. "__experimentalDefaultControls": {
  51. "background": true,
  52. "text": true
  53. }
  54. }
  55. },
  56. "styles": [
  57. {
  58. "name": "default",
  59. "label": "Default",
  60. "isDefault": true
  61. },
  62. { "name": "plain", "label": "Plain" }
  63. ],
  64. "editorStyle": "wp-block-quote-editor",
  65. "style": "wp-block-quote"
  66. }