markdown-wysiwyg-editor 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.css +1 -1
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @tailwind base;@tailwind components;@tailwind utilities;.ProseMirror .blockquote-custom{@apply border-l-4 border-gray-300 pl-4 italic text-gray-600 bg-gray-50 py-3 rounded-r-md my-4;}.ProseMirror .blockquote-custom p{@apply m-0;}.ProseMirror ul li::marker,.ProseMirror ol li::marker{color:#000;font-weight:600}.ProseMirror code:not(pre code){background-color:#fef2f2!important;color:#b91c1c!important;padding:2px 6px!important;border-radius:3px!important;font-size:.9em!important;border:1px solid #fecaca!important;font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;font-weight:400!important}.ProseMirror table{border-collapse:collapse!important}.ProseMirror table th,.ProseMirror table td{border:2px solid #9ca3af!important}.ProseMirror table th{background-color:#f9fafb!important}.ProseMirror pre{overflow:visible!important;background:#1e293b!important;color:#e2e8f0!important}.ProseMirror pre code{overflow-x:auto;display:block;white-space:pre;color:#e2e8f0!important;background:transparent!important;border:none!important;padding:0!important}.ProseMirror .hljs{background:#1e293b!important;color:#e2e8f0!important}.mw-toolbar-root [data-tooltip]{position:relative}.mw-toolbar-root [data-tooltip]:before{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);padding:6px 8px;background-color:#1f2937;color:#fff;font-size:12px;white-space:nowrap;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .1s ease-in-out;z-index:1000}.mw-toolbar-root [data-tooltip]:after{content:"";position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#1f2937;opacity:0;pointer-events:none;transition:opacity .1s ease-in-out;z-index:1000}.mw-toolbar-root [data-tooltip]:hover:before,.mw-toolbar-root [data-tooltip]:hover:after{opacity:1}
1
+ @tailwind base;@tailwind components;@tailwind utilities;.ProseMirror h1{@apply text-4xl font-bold text-gray-900 mb-4 mt-6;}.ProseMirror h2{@apply text-3xl font-bold text-gray-900 mb-3 mt-5;}.ProseMirror h3{@apply text-2xl font-semibold text-gray-900 mb-3 mt-4;}.ProseMirror h4{@apply text-xl font-semibold text-gray-800 mb-2 mt-3;}.ProseMirror h5{@apply text-lg font-medium text-gray-800 mb-2 mt-3;}.ProseMirror h6{@apply text-base font-medium text-gray-700 mb-2 mt-2;}.ProseMirror p{@apply mb-3 text-gray-800;}.ProseMirror .blockquote-custom{@apply border-l-4 border-gray-300 pl-4 italic text-gray-600 bg-gray-50 py-3 rounded-r-md my-4;}.ProseMirror .blockquote-custom p{@apply m-0;}.ProseMirror ul li::marker,.ProseMirror ol li::marker{color:#000;font-weight:600}.ProseMirror code:not(pre code){background-color:#fef2f2!important;color:#b91c1c!important;padding:2px 6px!important;border-radius:3px!important;font-size:.9em!important;border:1px solid #fecaca!important;font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;font-weight:400!important}.ProseMirror table{border-collapse:collapse!important}.ProseMirror table th,.ProseMirror table td{border:2px solid #9ca3af!important}.ProseMirror table th{background-color:#f9fafb!important}.ProseMirror pre{overflow:visible!important;background:#1e293b!important;color:#e2e8f0!important}.ProseMirror pre code{overflow-x:auto;display:block;white-space:pre;color:#e2e8f0!important;background:transparent!important;border:none!important;padding:0!important}.ProseMirror .hljs{background:#1e293b!important;color:#e2e8f0!important}.mw-toolbar-root [data-tooltip]{position:relative}.mw-toolbar-root [data-tooltip]:before{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);padding:6px 8px;background-color:#1f2937;color:#fff;font-size:12px;white-space:nowrap;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .1s ease-in-out;z-index:1000}.mw-toolbar-root [data-tooltip]:after{content:"";position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%);border:6px solid transparent;border-bottom-color:#1f2937;opacity:0;pointer-events:none;transition:opacity .1s ease-in-out;z-index:1000}.mw-toolbar-root [data-tooltip]:hover:before,.mw-toolbar-root [data-tooltip]:hover:after{opacity:1}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-wysiwyg-editor",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Lightweight Markdown WYSIWYG editor with TipTap,Mermaid support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",