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

Make embed grid editor editable again #8576

Merged

Conversation

bjarnef
Copy link
Contributor

@bjarnef bjarnef commented Aug 4, 2020

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes #8575

Description

This PR fixes an issue where it was no longer possible to edit existing embed in grid editor as in PR #4899

After this was merged a few days later another PR #6341 was made to edit embed from TinyMCE editor. However this PR also changed the scope property in the infinite embed editor from original to modify in bf9eeb4 but wasn't aware it was passed in from embed grid editor.
https://github.com/umbraco/Umbraco-CMS/blob/v8/contrib/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/editors/embed.controller.js#L25

2020-08-04_11-31-03

@bjarnef
Copy link
Contributor Author

bjarnef commented Aug 5, 2020

@nielslyngsoe I noticed you previous changed the scope property from original to modify in embed infinite editor when working on edit of embed in TinyMCE.
Unfortunately it seemed to broke the possibility to edit embed in grid editor.

@nielslyngsoe
Copy link
Member

@bjarnef I´m sorry but I don't recall this change, but I´m happy that you have found and fixed this issue. Thanks

@bjarnef
Copy link
Contributor Author

bjarnef commented Aug 5, 2020

Yeah, it was changed here: bf9eeb4

The fix is quite simple, so it could probabaly be cherry picked for v8.6 or v8.7 since I guess v8.8 is first released in the autumn or at end of the year 🙂

@nul800sebastiaan nul800sebastiaan merged commit 2f69eac into umbraco:v8/contrib Aug 26, 2020
@nul800sebastiaan
Copy link
Member

Wonderful, that works! Will cherry-pick for 8.7! 👍

nul800sebastiaan pushed a commit that referenced this pull request Aug 26, 2020
@bjarnef bjarnef deleted the v8/bug/edit-grid-editor-embed branch August 26, 2020 17:33
@nul800sebastiaan nul800sebastiaan added release/8.7.0 release/no-notes This is too small to add to the release notes or fixed after a beta/RC labels Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/no-notes This is too small to add to the release notes or fixed after a beta/RC release/8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Embed is editable from richtext editor but not from grid editor
3 participants