Created
January 31, 2017 19:53
-
-
Save thomsbg/9cfc6c9c3f2848026004e33a8a541d2b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/config/schema/rich-text.json b/config/schema/rich-text.json | |
index 945b771d2..385e33e8a 100644 | |
--- a/config/schema/rich-text.json | |
+++ b/config/schema/rich-text.json | |
@@ -88,7 +88,19 @@ | |
"type": "integer" | |
}, | |
"attributes": { | |
- "$ref": "#/attributes" | |
+ "oneOf": [ | |
+ { | |
+ "$ref": "#/attributes" | |
+ }, | |
+ { | |
+ "type": "object", | |
+ "minProperties": 1, | |
+ "properties": {}, | |
+ "additionalProperties": { | |
+ "type": "null" | |
+ } | |
+ } | |
+ ] | |
} | |
}, | |
"required": [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment