8000 fix: remove fixed width for edit plugin popup (=> autowidth) by fabien-michel · Pull Request #7337 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

fix: remove fixed width for edit plugin popup (=> autowidth) #7337

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

Merged
merged 4 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove fixed width for edit plugin popup (=> autowidth)
Same behavior as new popup
  • Loading branch information
Fabs committed Jun 15, 2022
commit 82ac2344e5392ca5ac59369d34341408e3f71fc6
2 changes: 1 addition & 1 deletion cms/static/cms/js/dist/3.10.0/bundle.toolbar.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion cms/static/cms/js/modules/cms.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ var Plugin = new Class({
url: url,
title: name,
breadcrumbs: breadcrumb,
width: 850
});
},

Expand Down
2 changes: 0 additions & 2 deletions cms/tests/frontend/unit/cms.plugins.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,6 @@ describe('CMS.Plugin', function() {
url: '/edit-url',
title: 'Test Plugin',
breadcrumbs: 'breadcrumb',
width: 850
});
});

Expand All @@ -672,7 +671,6 @@ describe('CMS.Plugin', function() {
url: '/edit-plugin-url',
title: 'Random Plugin',
breadcrumbs: ['breadcrumb'],
width: 850
});
});
it('adds events to remove the "add plugin" placeholder', function() {
Expand Down
0