Skip to content

Commit

Permalink
fix: move Preview, Send buttons to match Publish button location
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford committed Oct 31, 2024
1 parent 49450d3 commit bb461d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newsletter-editor/editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Editor = compose( [
const publishButton = document.getElementsByClassName(
'editor-post-publish-button__button'
)[ 0 ];
publishButton.parentNode.insertBefore( publishEl, publishButton );
publishButton.parentNode.insertBefore( publishEl, publishButton.nextSibling );
}, [] );

// Set color palette option.
Expand Down

0 comments on commit bb461d3

Please sign in to comment.