Skip to content

Commit

Permalink
Update desking branch (#119)
Browse files Browse the repository at this point in the history
* Update VideoJS
* Add `post_kabelkrant_content_gpt` field (#118)
* Bump version
* Remove hotfix
  • Loading branch information
rmens authored Aug 2, 2024
1 parent 3e6bebd commit e596d4f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
5 changes: 0 additions & 5 deletions assets/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ body {
@apply mx-auto;
box-sizing: content-box;
}

/* Reduces the height of the ACF component for kabelkrant images */
#acf-field_6693cc8b7ce26.acf-gallery.ui-resizable {
height: 200px !important;
}
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1083,9 +1083,9 @@ function zw_remove_wp_block_library_css()
function zw_add_videojs()
{
// TODO: Defer loading of Video.js CSS
wp_enqueue_style('video.js', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.14.0/video-js.min.css');
wp_enqueue_script('video.js', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.14.0/video.min.js', args:['strategy' => 'defer']);
wp_enqueue_script('video.js.nl', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.14.0/lang/nl.min.js', args:['strategy' => 'defer']);
wp_enqueue_style('video.js', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.16.1/video-js.min.css');
wp_enqueue_script('video.js', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.16.1/video.min.js', args:['strategy' => 'defer']);
wp_enqueue_script('video.js.nl', 'https://cdnjs.cloudflare.com/ajax/libs/video.js/8.16.1/lang/nl.min.js', args:['strategy' => 'defer']);
}

add_action('wp_enqueue_scripts', 'zw_add_videojs');
Expand Down
30 changes: 29 additions & 1 deletion streekomroep-acf-json/group_5f21a05a18b57.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,34 @@
"placeholder": "Vul de versie voor op teksttv in",
"new_lines": ""
},
{
"key": "field_66ad2a3105371",
"label": "GPT-versie",
"name": "post_kabelkrant_content_gpt",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_5f74740c7f912",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "100",
"class": "post_kabelkrant_content_gpt",
"id": ""
},
"default_value": "",
"maxlength": "",
"rows": 7,
"placeholder": "Vul de versie voor op teksttv in",
"new_lines": ""
},
{
"key": "field_665f73aa4951f",
"label": "Extra opties kabelkrant",
Expand Down Expand Up @@ -255,5 +283,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1720984501
"modified": 1722624623
}

0 comments on commit e596d4f

Please sign in to comment.