@mjml-agent-editor/editor 0.5.2 → 0.5.3

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/canvas.cjs CHANGED
@@ -4191,6 +4191,7 @@ var COLUMN_CHILDREN = /* @__PURE__ */ new Set([
4191
4191
  "mj-table",
4192
4192
  "mj-text"
4193
4193
  ]);
4194
+ var HEAD_CSS = '[data-gjs-type="mj-head"] { display: none !important; }';
4194
4195
  function fixPluginTypes(editor) {
4195
4196
  addTableType(editor);
4196
4197
  for (const type of editor.Components.getTypes()) {
@@ -4831,7 +4832,7 @@ function EmailEditor({
4831
4832
  // privacy policy. Nothing we show uses it: GrapesJS draws its toolbar and layer icons
4832
4833
  // as SVG, and its icon-font panels and style manager are not rendered here.
4833
4834
  cssIcons: "",
4834
- canvasCss: CANVAS_CSS,
4835
+ canvasCss: CANVAS_CSS + HEAD_CSS,
4835
4836
  fromElement: false,
4836
4837
  panels: { defaults: [] },
4837
4838
  blockManager: { appendTo: "#gjs-blocks" },