Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUD-370 #48

Merged
merged 1 commit into from
Mar 26, 2020
Merged

CLOUD-370 #48

merged 1 commit into from
Mar 26, 2020

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.

@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.

2 participants