-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alignment control in table of content
- Loading branch information
1 parent
8dedfdb
commit a4cd8e6
Showing
9 changed files
with
134,478 additions
and
142 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => 'bae0b410ff44e912e182'); | ||
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => 'ba4e21575ef57a7304ad'); |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -127,6 +127,10 @@ | |
} | ||
}, | ||
"supports": { | ||
"reusable": false | ||
"reusable": false, | ||
"align": [ | ||
"wide", | ||
"full" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array(), 'version' => '31d6cfe0d16ae931b73c'); | ||
<?php return array('dependencies' => array(), 'version' => 'bf4427955793c56378a0'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,132 +1,136 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "ub/table-of-contents-block", | ||
"title": "Table of Contents", | ||
"category": "ultimateblocks", | ||
"description": "Give visitors a better naviation of your post with a Table of Contents.", | ||
"keywords": [ | ||
"Table of Contents", | ||
"Ultimate Blocks" | ||
], | ||
"attributes": { | ||
"blockID": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"title": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"allowedHeaders": { | ||
"type": "array", | ||
"default": [ | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true | ||
] | ||
}, | ||
"links": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"gaps": { | ||
"type": "array", | ||
"default": [] | ||
}, | ||
"allowToCHiding": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"hideOnMobile": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"showList": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"numColumns": { | ||
"type": "number", | ||
"default": 1 | ||
}, | ||
"listStyle": { | ||
"type": "string", | ||
"default": "bulleted" | ||
}, | ||
"enableSmoothScroll": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"titleAlignment": { | ||
"type": "string", | ||
"default": "left" | ||
}, | ||
"allowToLatin": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"removeDiacritics": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"scrollOption": { | ||
"type": "string", | ||
"default": "auto" | ||
}, | ||
"scrollOffset": { | ||
"type": "number", | ||
"default": 0 | ||
}, | ||
"scrollTarget": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"scrollTargetType": { | ||
"type": "string", | ||
"default": "id" | ||
}, | ||
"titleColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"titleBackgroundColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listBackgroundColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listIconColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"showText": { | ||
"type": "string", | ||
"default": "show" | ||
}, | ||
"hideText": { | ||
"type": "string", | ||
"default": "hide" | ||
}, | ||
"padding": { | ||
"type": "object", | ||
"default": {} | ||
}, | ||
"margin": { | ||
"type": "object", | ||
"default": {} | ||
} | ||
}, | ||
"supports": { | ||
"reusable": false | ||
} | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "ub/table-of-contents-block", | ||
"title": "Table of Contents", | ||
"category": "ultimateblocks", | ||
"description": "Give visitors a better naviation of your post with a Table of Contents.", | ||
"keywords": [ | ||
"Table of Contents", | ||
"Ultimate Blocks" | ||
], | ||
"attributes": { | ||
"blockID": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"title": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"allowedHeaders": { | ||
"type": "array", | ||
"default": [ | ||
true, | ||
true, | ||
true, | ||
true, | ||
true, | ||
true | ||
] | ||
}, | ||
"links": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"gaps": { | ||
"type": "array", | ||
"default": [] | ||
}, | ||
"allowToCHiding": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"hideOnMobile": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"showList": { | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"numColumns": { | ||
"type": "number", | ||
"default": 1 | ||
}, | ||
"listStyle": { | ||
"type": "string", | ||
"default": "bulleted" | ||
}, | ||
"enableSmoothScroll": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"titleAlignment": { | ||
"type": "string", | ||
"default": "left" | ||
}, | ||
"allowToLatin": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"removeDiacritics": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"scrollOption": { | ||
"type": "string", | ||
"default": "auto" | ||
}, | ||
"scrollOffset": { | ||
"type": "number", | ||
"default": 0 | ||
}, | ||
"scrollTarget": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"scrollTargetType": { | ||
"type": "string", | ||
"default": "id" | ||
}, | ||
"titleColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"titleBackgroundColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listBackgroundColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"listIconColor": { | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"showText": { | ||
"type": "string", | ||
"default": "show" | ||
}, | ||
"hideText": { | ||
"type": "string", | ||
"default": "hide" | ||
}, | ||
"padding": { | ||
"type": "object", | ||
"default": {} | ||
}, | ||
"margin": { | ||
"type": "object", | ||
"default": {} | ||
} | ||
}, | ||
"supports": { | ||
"reusable": false, | ||
"align": [ | ||
"wide", | ||
"full" | ||
] | ||
} | ||
} |
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