Skip to content

Commit

Permalink
Fix iFrame not loading after saving and then editing again
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed May 20, 2024
1 parent 14198a5 commit 39ed020
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = wagtail_fedit
version = 1.5.8
version = 1.5.9rc1
description = Frontend editing for your Wagtail site
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion wagtail_fedit/static/wagtail_fedit/js/edit.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wagtail_fedit/static_src/editors/base/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class BaseWagtailFeditEditor extends EventTarget {
openIframe(wrapper: HTMLElement, fn: (iframe: iFrame) => void) {

if (this.iframe) {
wrapper.appendChild(this.iframe.element);
fn(this.iframe);
return;
}
Expand Down

0 comments on commit 39ed020

Please sign in to comment.