mirror of
https://github.com/directus/directus.git
synced 2026-01-28 10:47:56 -05:00
Allow custom transformations of assets (#6593)
* Allow custom transformations of assets This exposes one query parameter `transforms`, which is a JSON array of shard transformation operations. It also updates the asset presets. The UX for this still needs some work * Rename options to arguments for presets More explicit * options -> arguments in setting spec * Better errors for invalid JSON in asset presets * Add limit to transforms query parameter * Use flattened option for extra transforms * Fix placeholder color of code input * Allow "simple mode" aliases * Add documentation Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
}
|
||||
|
||||
.CodeMirror .CodeMirror-placeholder {
|
||||
color: var(--foreground-subdued);
|
||||
color: var(--foreground-subdued) !important;
|
||||
}
|
||||
|
||||
.CodeMirror:hover {
|
||||
|
||||
Reference in New Issue
Block a user