Bez popisu

block.json 982B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "apiVersion": 2,
  3. "name": "core/pullquote",
  4. "title": "Pullquote",
  5. "category": "text",
  6. "description": "Give special visual emphasis to a quote from your text.",
  7. "textdomain": "default",
  8. "attributes": {
  9. "value": {
  10. "type": "string",
  11. "source": "html",
  12. "selector": "blockquote",
  13. "multiline": "p",
  14. "__experimentalRole": "content"
  15. },
  16. "citation": {
  17. "type": "string",
  18. "source": "html",
  19. "selector": "cite",
  20. "default": "",
  21. "__experimentalRole": "content"
  22. },
  23. "mainColor": {
  24. "type": "string"
  25. },
  26. "customMainColor": {
  27. "type": "string"
  28. },
  29. "textColor": {
  30. "type": "string"
  31. },
  32. "customTextColor": {
  33. "type": "string"
  34. }
  35. },
  36. "supports": {
  37. "anchor": true,
  38. "align": [ "left", "right", "wide", "full" ]
  39. },
  40. "styles": [
  41. {
  42. "name": "default",
  43. "label": "Default",
  44. "isDefault": true
  45. },
  46. { "name": "solid-color", "label": "Solid color" }
  47. ],
  48. "editorStyle": "wp-block-pullquote-editor",
  49. "style": "wp-block-pullquote"
  50. }