downshiftorg / prophoto7-issues

A current roadmap and bug tracking for ProPhoto 7
1 stars 0 forks source link

WP5 "convert to blocks" doesn't correctly initialize pp_gallery shortcode into a block #766

Open postmastersteve opened 5 years ago

postmastersteve commented 5 years ago

I had a blog post that was built in the old WP editor. It had a gallery shortcode [pp_gallery id="229"] before a couple paragraphs of text.

When converting to blocks, WordPress correctly parsed the shortcode into a new P7 gallery block followed by two paragraph blocks, but the new gallery block had a few problems:

Throughout these tests my P7 design had no gallery style set as a default, so perhaps that is a failure mode we need to investigate. But after setting a default gallery style and returning to the editor, I still couldn't alter the style of the gallery block in my post.

postmastersteve commented 5 years ago

UPDATE: after selecting a default gallery style in my P7 design, the style selector initializes with the design default pre-selected, which seems better... so it is really just when there is no default gallery style chosen that we fall back to inserting as Full Size Images, but we still need to fix the block so it actually renders that way instead of a hard-coded fallback slider gallery style.