xwp / unsplash-wp

GNU General Public License v2.0
9 stars 3 forks source link

Gutenberg block keeps presenting non-default style #155

Closed bmattb closed 4 years ago

bmattb commented 4 years ago

Bug Description

this was observed on the Pantheon test site editor on this post - https://dev-unsplash.pantheonsite.io/wp-admin/post.php?post=1003&action=edit&classic-editor__forget

If the user uses the Unsplash Gutenberg block to insert content into a post, and selects "rounded corners" as the style, every subsequent use of the Unsplash block will apply that rounded corner styling as the default.

Expected Behaviour

The selection and application of the style applied on insert action should be the default (not-rounded). Changes to this are a manual action for the user.

Steps to reproduce

  1. Using the editor insert an Unsplash Image block
  2. Using the block property sidebar, select rounded corners as the style
  3. Add another Unsplash image block and insert another image.

Screenshots

Subsequent Unsplash blocks all default to rounded corners on insert: Screen Shot 2020-06-05 at 10 34 53 AM

Additional context


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

ravichdev commented 4 years ago

@bmattb This is not a bug and working as expected.

bmattb commented 4 years ago

thanks @ravichdev for the confirmation. closing.