markmap-view-plus 0.0.5 → 0.0.6

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.
@@ -318,7 +318,7 @@
318
318
  duration: 500,
319
319
  embedGlobalCSS: true,
320
320
  fitRatio: .95,
321
- maxInitialScale: 2,
321
+ maxInitialScale: 1,
322
322
  scrollForPan: isMacintosh,
323
323
  initialExpandLevel: -1,
324
324
  zoom: true,
@@ -1106,7 +1106,7 @@
1106
1106
  input.spellcheck = false;
1107
1107
  input.className = "markmap-node-edit-overlay-input";
1108
1108
  input.style.cssText = `
1109
- width: 100%;
1109
+ width:100%;
1110
1110
  height: 100%;
1111
1111
  margin: 0;
1112
1112
  padding: 2px 6px;
package/dist/index.js CHANGED
@@ -238,7 +238,7 @@ const B = typeof navigator < "u" && navigator.userAgent.includes("Macintosh"), V
238
238
  duration: 500,
239
239
  embedGlobalCSS: !0,
240
240
  fitRatio: .95,
241
- maxInitialScale: 2,
241
+ maxInitialScale: 1,
242
242
  scrollForPan: B,
243
243
  initialExpandLevel: -1,
244
244
  zoom: !0,
@@ -824,7 +824,7 @@ var Re = (e, t = 0) => (e.y = t, (e.children || []).reduce((t, n) => {
824
824
  `;
825
825
  let s = window.getComputedStyle(t), c = document.createElement("input");
826
826
  c.type = "text", c.value = n.initialValue, n.placeholder && (c.placeholder = n.placeholder), c.autocomplete = "off", c.spellcheck = !1, c.className = "markmap-node-edit-overlay-input", c.style.cssText = `
827
- width: 100%;
827
+ width:100%;
828
828
  height: 100%;
829
829
  margin: 0;
830
830
  padding: 2px 6px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "markmap-view-plus",
3
- "version": "0.0.5",
4
- "description": "View markmaps in browser",
3
+ "version": "0.0.6",
4
+ "description": "markmap-plus is an enhanced version of markmap-view with node creation, editing, and deletion capabilities",
5
5
  "author": "Lin Jiman <temman_lin@qq.com>",
6
6
  "license": "MIT",
7
7
  "keywords": [