file.schema.json
7 months ago
gallery.schema.json
7 months ago
image.schema.json
7 months ago
oembed.schema.json
7 months ago
wysiwyg.schema.json
7 months ago
wysiwyg.schema.json
33 lines
| 1 | { |
| 2 | "title": "SCF WYSIWYG Field Fragment", |
| 3 | "description": "Type-specific properties for WYSIWYG editor fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "wysiwyg" ] |
| 8 | }, |
| 9 | "default_value": { "$ref": "#/definitions/default_value" }, |
| 10 | "tabs": { |
| 11 | "type": "string", |
| 12 | "enum": [ "all", "visual", "text" ], |
| 13 | "default": "all", |
| 14 | "description": "Which editor tabs to show (all, visual only, or text only)" |
| 15 | }, |
| 16 | "toolbar": { |
| 17 | "type": "string", |
| 18 | "default": "full", |
| 19 | "description": "Toolbar configuration (full or basic)" |
| 20 | }, |
| 21 | "media_upload": { |
| 22 | "type": "integer", |
| 23 | "default": 1, |
| 24 | "description": "Show media upload button (1 for yes, 0 for no)" |
| 25 | }, |
| 26 | "delay": { |
| 27 | "type": "integer", |
| 28 | "default": 0, |
| 29 | "description": "Delay TinyMCE initialization until field is clicked (1 for yes, 0 for no)" |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 |