@types/wordpress__block-editor 6.0.5 → 6.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ This package contains type definitions for @wordpress/block-editor (https://gith
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 24 Jan 2022 16:31:34 GMT
11
+ * Last updated: Wed, 30 Mar 2022 19:31:45 GMT
12
12
  * Dependencies: [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@types/wordpress__data](https://npmjs.com/package/@types/wordpress__data), [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__components](https://npmjs.com/package/@types/wordpress__components), [@types/react-autosize-textarea](https://npmjs.com/package/@types/react-autosize-textarea), [@types/wordpress__keycodes](https://npmjs.com/package/@types/wordpress__keycodes)
13
13
  * Global values: none
14
14
 
@@ -6,6 +6,11 @@ import { displayShortcut, rawShortcut } from '@wordpress/keycodes';
6
6
 
7
7
  declare namespace RichText {
8
8
  interface Props<T extends keyof HTMLElementTagNameMap> extends Omit<HTMLProps<T>, 'onChange'> {
9
+ /**
10
+ * By default, all registered formats are allowed. This setting can be used to fine-tune
11
+ * the allowed formats.
12
+ */
13
+ allowedFormats?: string[] | undefined;
9
14
  /**
10
15
  * A list of autocompleters to use instead of the default.
11
16
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/wordpress__block-editor",
3
- "version": "6.0.5",
3
+ "version": "6.0.6",
4
4
  "description": "TypeScript definitions for @wordpress/block-editor",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor",
6
6
  "license": "MIT",
@@ -38,6 +38,6 @@
38
38
  "@wordpress/element": "^3.0.0",
39
39
  "react-autosize-textarea": "^7.1.0"
40
40
  },
41
- "typesPublisherContentHash": "352983e33a2e5fc2084c2fe72c8bac41412034ba2c8e7fe82987303fdb996a0d",
42
- "typeScriptVersion": "3.8"
41
+ "typesPublisherContentHash": "7309e469e3ef95ded043c5979866b1492606d16ae6b84b1f94f71a91c9383f5d",
42
+ "typeScriptVersion": "3.9"
43
43
  }