Skip to content

Conversation

@DavidCramer
Copy link
Contributor

The issue is that the edit function for the image block was being altered to use an added class cld-override which indicates the image should not render globals.

The problem is this HTML in the block is seen as an error if the default block edit function is run, since it doesn't know about the added class.

This fix removes this edit function and instead uses an added param for the block, which is ignored by the editor.

Then, add the class on the render_block_data function when rendering the page.

@DavidCramer DavidCramer requested a review from dugajean March 26, 2020 11:30
@dugajean dugajean merged commit 7913824 into uat Mar 26, 2020
@dugajean dugajean deleted the fix/CLOUD-370 branch March 26, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants