block.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. "__experimentalSlashInserter": true,
  33. "typography": {
  34. "fontSize": true,
  35. "lineHeight": true,
  36. "__experimentalFontStyle": true,
  37. "__experimentalFontWeight": true,
  38. "__experimentalLetterSpacing": true,
  39. "__experimentalTextTransform": true,
  40. "__experimentalDefaultControls": {
  41. "fontSize": true,
  42. "fontAppearance": true
  43. }
  44. },
  45. "color": {
  46. "gradients": true,
  47. "link": true,
  48. "__experimentalDefaultControls": {
  49. "background": true,
  50. "text": true
  51. }
  52. }
  53. },
  54. "styles": [
  55. {
  56. "name": "default",
  57. "label": "Default",
  58. "isDefault": true
  59. },
  60. { "name": "plain", "label": "Plain" }
  61. ],
  62. "editorStyle": "wp-block-quote-editor",
  63. "style": "wp-block-quote"
  64. }