From bbc9555e5700d41f2a487f74393a42f449c43a6f Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Wed, 19 Feb 2025 09:58:34 -0700 Subject: [PATCH] Fix: Add item _tooltip._classes to schemas (fixes #342) --- properties.schema | 10 ++++++++++ schema/component.schema.json | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/properties.schema b/properties.schema index ab69e912..de5310d1 100644 --- a/properties.schema +++ b/properties.schema @@ -341,6 +341,16 @@ }, "default": "bottom", "editorOnly": true + }, + "_classes": { + "type": "string", + "required": false, + "default": "", + "title": "Tooltip classes", + "inputType": "Text", + "validators": [], + "help": "Allows you to specify custom CSS classes to be applied to the tooltip.", + "translatable": false } } }, diff --git a/schema/component.schema.json b/schema/component.schema.json index cb42bdab..61b7e2cc 100644 --- a/schema/component.schema.json +++ b/schema/component.schema.json @@ -342,6 +342,13 @@ "_adapt": { "editorOnly": true } + }, + "_classes": { + "type": "string", + "default": "", + "title": "Tooltip classes", + "description": "Allows you to specify custom CSS classes to be applied to the tooltip.", + "translatable": false } } }