Skip to content

Commit

Permalink
PLANET-7170 Add help text to canonical link sidebar option
Browse files Browse the repository at this point in the history
This is to clarify that the permalink will be used by default
  • Loading branch information
mleray authored and comzeradd committed Jun 28, 2023
1 parent 78534f6 commit dccabac
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ export const SearchEngineOptimizationsSidebar = {
name="planet4-search-engine-optimizations"
title={__('Search Engine Optimizations', 'planet4-blocks-backend')}
>
<URLInput label={__('Canonical link', 'planet4-blocks-backend')} value={meta[CANONICAL_URL]} onChange={value => editPost({meta: {[CANONICAL_URL]: value}})} />
<URLInput
label={__('Canonical link', 'planet4-blocks-backend')}
value={meta[CANONICAL_URL]}
onChange={value => editPost({meta: {[CANONICAL_URL]: value}})}
help={__('If emtpy a self-reference canonical link will be used', 'planet4-blocks-backend')}
/>
</PluginDocumentSettingPanel>
);
},
Expand Down

0 comments on commit dccabac

Please sign in to comment.