From ccd97adc10b511102b89a901d437b87fbc7b9916 Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Mon, 26 Feb 2024 16:58:14 +0200 Subject: [PATCH 1/2] fix: re-allow users to add magic tags to featured image --- includes/views/js/import-metabox-edit.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/views/js/import-metabox-edit.js b/includes/views/js/import-metabox-edit.js index a55e2e3c..74f42ee7 100644 --- a/includes/views/js/import-metabox-edit.js +++ b/includes/views/js/import-metabox-edit.js @@ -265,7 +265,7 @@ $( '.feedzy-keyword-filter, #feedzy-import-source' ).on('keyup keypress', function(e) { var keyCode = e.keyCode || e.which; var addTagBtn = $( this ).parents( '.fz-input-icon' ).find( '.add-outside-tags' ); - + if ( '' === $( this ).val() ) { addTagBtn.attr( 'disabled', true ); } else if ( addTagBtn.hasClass( 'fz-plus-btn' ) ) { @@ -481,8 +481,8 @@ // Tagify for normal mix content field. $( '.fz-tagify-image' ).tagify( { mode: 'mix', - editTags: false, - userInput: false, + editTags: true, + userInput: true, addTagOn: [], templates: { tag: function(tagData) { @@ -836,4 +836,4 @@ $( '.feedzy-open-media' ).html( feedzy.i10n.action_btn_text_1 ); }); } -})(jQuery, feedzy); +}(jQuery, feedzy)); From 601dc552e37705dca0d5b269a0d9a8a59ee997dd Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Wed, 28 Feb 2024 12:20:51 +0200 Subject: [PATCH 2/2] chore: remove URL image mention from label For adding images via URL, use fallback feature --- includes/views/import-metabox-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/views/import-metabox-edit.php b/includes/views/import-metabox-edit.php index f9c946c2..03d3d8fb 100644 --- a/includes/views/import-metabox-edit.php +++ b/includes/views/import-metabox-edit.php @@ -499,7 +499,7 @@ class="form-control fz-textarea-tagify">