-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'build_for_media_editor_button' of https://github.com/wo…
…rdpress-mobile/gutenberg-mobile into develop
- Loading branch information
Showing
170 changed files
with
4,672 additions
and
2,030 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
bundle/android/raw/gutenberg_packages_blocklibrary_src_audio_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "core/audio", | ||
"category": "common", | ||
"attributes": { | ||
"src": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "audio", | ||
"attribute": "src" | ||
}, | ||
"caption": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": "figcaption" | ||
}, | ||
"id": { | ||
"type": "number" | ||
}, | ||
"autoplay": { | ||
"type": "boolean", | ||
"source": "attribute", | ||
"selector": "audio", | ||
"attribute": "autoplay" | ||
}, | ||
"loop": { | ||
"type": "boolean", | ||
"source": "attribute", | ||
"selector": "audio", | ||
"attribute": "loop" | ||
}, | ||
"preload": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "audio", | ||
"attribute": "preload" | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
bundle/android/raw/gutenberg_packages_blocklibrary_src_button_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"name": "core/button", | ||
"category": "layout", | ||
"attributes": { | ||
"url": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a", | ||
"attribute": "href" | ||
}, | ||
"title": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a", | ||
"attribute": "title" | ||
}, | ||
"text": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": "a" | ||
}, | ||
"backgroundColor": { | ||
"type": "string" | ||
}, | ||
"textColor": { | ||
"type": "string" | ||
}, | ||
"customBackgroundColor": { | ||
"type": "string" | ||
}, | ||
"customTextColor": { | ||
"type": "string" | ||
}, | ||
"linkTarget": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a", | ||
"attribute": "target" | ||
}, | ||
"rel": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a", | ||
"attribute": "rel" | ||
}, | ||
"placeholder": { | ||
"type": "string" | ||
}, | ||
"borderRadius": { | ||
"type": "number" | ||
}, | ||
"gradient": { | ||
"type": "string" | ||
}, | ||
"customGradient": { | ||
"type": "string" | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
bundle/android/raw/gutenberg_packages_blocklibrary_src_code_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "core/code", | ||
"category": "formatting", | ||
"attributes": { | ||
"content": { | ||
"type": "string", | ||
"source": "text", | ||
"selector": "code" | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
bundle/android/raw/gutenberg_packages_blocklibrary_src_column_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "core/column", | ||
"category": "common", | ||
"attributes": { | ||
"verticalAlignment": { | ||
"type": "string" | ||
}, | ||
"width": { | ||
"type": "number", | ||
"min": 0, | ||
"max": 100 | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
bundle/android/raw/gutenberg_packages_blocklibrary_src_columns_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "core/columns", | ||
"category": "layout", | ||
"attributes": { | ||
"verticalAlignment": { | ||
"type": "string" | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
bundle/android/raw/gutenberg_packages_blocklibrary_src_cover_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "core/cover", | ||
"category": "common", | ||
"attributes": { | ||
"url": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "number" | ||
}, | ||
"hasParallax": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"dimRatio": { | ||
"type": "number", | ||
"default": 50 | ||
}, | ||
"overlayColor": { | ||
"type": "string" | ||
}, | ||
"customOverlayColor": { | ||
"type": "string" | ||
}, | ||
"backgroundType": { | ||
"type": "string", | ||
"default": "image" | ||
}, | ||
"focalPoint": { | ||
"type": "object" | ||
}, | ||
"minHeight": { | ||
"type": "number" | ||
}, | ||
"gradient": { | ||
"type": "string" | ||
}, | ||
"customGradient": { | ||
"type": "string" | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
bundle/android/raw/gutenberg_packages_blocklibrary_src_file_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "core/file", | ||
"category": "common", | ||
"attributes": { | ||
"id": { | ||
"type": "number" | ||
}, | ||
"href": { | ||
"type": "string" | ||
}, | ||
"fileName": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": "a:not([download])" | ||
}, | ||
"textLinkHref": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a:not([download])", | ||
"attribute": "href" | ||
}, | ||
"textLinkTarget": { | ||
"type": "string", | ||
"source": "attribute", | ||
"selector": "a:not([download])", | ||
"attribute": "target" | ||
}, | ||
"showDownloadButton": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"downloadButtonText": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": "a[download]" | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
bundle/android/raw/gutenberg_packages_blocklibrary_src_gallery_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"name": "core/gallery", | ||
"category": "common", | ||
"attributes": { | ||
"images": { | ||
"type": "array", | ||
"default": [], | ||
"source": "query", | ||
"selector": ".blocks-gallery-item", | ||
"query": { | ||
"url": { | ||
"source": "attribute", | ||
"selector": "img", | ||
"attribute": "src" | ||
}, | ||
"fullUrl": { | ||
"source": "attribute", | ||
"selector": "img", | ||
"attribute": "data-full-url" | ||
}, | ||
"link": { | ||
"source": "attribute", | ||
"selector": "img", | ||
"attribute": "data-link" | ||
}, | ||
"alt": { | ||
"source": "attribute", | ||
"selector": "img", | ||
"attribute": "alt", | ||
"default": "" | ||
}, | ||
"id": { | ||
"source": "attribute", | ||
"selector": "img", | ||
"attribute": "data-id" | ||
}, | ||
"caption": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": ".blocks-gallery-item__caption" | ||
} | ||
} | ||
}, | ||
"ids": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"default": [] | ||
}, | ||
"columns": { | ||
"type": "number", | ||
"minimum": 1, | ||
"maximum": 8 | ||
}, | ||
"caption": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": ".blocks-gallery-caption" | ||
}, | ||
"imageCrop": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"linkTo": { | ||
"type": "string", | ||
"default": "none" | ||
}, | ||
"sizeSlug": { | ||
"type": "string", | ||
"default": "large" | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
bundle/android/raw/gutenberg_packages_blocklibrary_src_group_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "core/group", | ||
"category": "layout", | ||
"attributes": { | ||
"backgroundColor": { | ||
"type": "string" | ||
}, | ||
"customBackgroundColor": { | ||
"type": "string" | ||
}, | ||
"textColor": { | ||
"type": "string" | ||
}, | ||
"customTextColor": { | ||
"type": "string" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
bundle/android/raw/gutenberg_packages_blocklibrary_src_heading_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "core/heading", | ||
"category": "common", | ||
"attributes": { | ||
"align": { | ||
"type": "string" | ||
}, | ||
"content": { | ||
"type": "string", | ||
"source": "html", | ||
"selector": "h1,h2,h3,h4,h5,h6", | ||
"default": "" | ||
}, | ||
"level": { | ||
"type": "number", | ||
"default": 2 | ||
}, | ||
"placeholder": { | ||
"type": "string" | ||
}, | ||
"textColor": { | ||
"type": "string" | ||
}, | ||
"customTextColor": { | ||
"type": "string" | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
bundle/android/raw/gutenberg_packages_blocklibrary_src_html_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "core/html", | ||
"category": "formatting", | ||
"attributes": { | ||
"content": { | ||
"type": "string", | ||
"source": "html" | ||
} | ||
} | ||
} |
Oops, something went wrong.