-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fixed PlaceholderField frontend edit (#729) #918
Fixed PlaceholderField frontend edit (#729) #918
Conversation
…l/django-cms into finalangel-feature/toolbar-frontend
…-feature/toolbar-frontend
Added a view in the tests project to see the placeholder field frontend admin in action
Ooh niiiice! |
…r-frontend Ojii finalangel feature/toolbar frontend
I made a minor change, but unfortunately the feature still fails on a completely vanilla django-CMS. Here's what I did to test:
Fails without javascript errors (it just sits there doing nothing but showing the rotating "loading" image) |
Ok I found the exact condition for the problem: Adding FAILS if the "edit bar" is COLLAPSED (looking like a + sign in the top-right corner); |
…toolbar is currently hidden. On CMS.Placeholder.editPlugin, if the toolbar is currently hidden, show it for the edit process (and hide it again if necessary after the edit is done) Special thanks to @chrisglass for finding this weird edge case
Ok, LGTM, I'll merge it in :) By the way, the "flashing" green highlight when reordering plugins is badass. Thanks @FinalAngel :) |
gave his okay for this. The reason behind this is NOT to take credit from @FinalAngel, but because over time there will be many authors to those files, also the license did not match the one of the CMS (though it was compatible).
Fixed PlaceholderField frontend edit (#729)
No description provided.