@broberg/cms-inline-edit 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -340,6 +340,8 @@ function exitEditMode() {
340
340
  deactivateRich();
341
341
  editingActive = false;
342
342
  document.body.removeAttribute("data-cms-editing");
343
+ document.querySelector("[data-cms-inline-edit-toolsrow]")?.remove();
344
+ document.querySelector("[data-cms-inline-edit-tools-popup]")?.remove();
343
345
  document.querySelector("[data-cms-inline-edit-badge]")?.remove();
344
346
  showIdlePill();
345
347
  }