@cyberskill/cyber-editor 3.7.0 → 3.7.2

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.
@@ -1,3 +1,4 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.ProseMirror:focus{outline:none!important;box-shadow:none!important}.is-active{background-color:#6c5ce7;color:#fff;padding:2px 12px;border-radius:6px;box-shadow:0 2px 4px #0003;transition:background-color .3s ease,color .3s ease;transform:scale(1.05)}.tiptap :first-child{margin-top:0}.tiptap strong{font-weight:700}.tiptap em{font-style:italic}.tiptap u{text-decoration:underline}.tiptap s{text-decoration:line-through}.tiptap sub{vertical-align:sub;font-size:.875rem}.tiptap sup{vertical-align:super;font-size:.875rem}.tiptap code{background-color:#f3e8ff;color:#581c87;border-radius:.25rem;padding:.125rem .375rem;font-size:.875rem;font-family:ui-monospace,monospace}.tiptap pre{background-color:#111827;color:#fff;border-radius:.5rem;padding:1rem;margin:1rem 0;font-family:ui-monospace,monospace;font-size:.875rem;overflow-x:auto}.tiptap pre code{background-color:transparent;color:inherit;padding:0}.tiptap h1,.tiptap h2,.tiptap h3,.tiptap h4,.tiptap h5,.tiptap h6{font-weight:700;line-height:1.25;margin-top:1.5rem;margin-bottom:1rem}.tiptap h1{font-size:1.875rem}.tiptap h2{font-size:1.5rem}.tiptap h3{font-size:1.25rem}.tiptap h4{font-size:1.125rem}.tiptap h5,.tiptap h6{font-size:1rem}.tiptap ul,.tiptap ol{padding-left:1.5rem;margin:1rem 0}.tiptap ul{list-style-type:disc}.tiptap ol{list-style-type:decimal}.tiptap li,.tiptap li p{margin:.25rem 0}.tiptap ul[data-type=taskList]{list-style:none;padding-left:.5rem}.tiptap ul[data-type=taskList] li{display:flex;gap:.5rem;align-items:flex-start}.tiptap ul[data-type=taskList] input[type=checkbox]{margin-top:.25rem}.tiptap blockquote{border-left:4px solid rgb(209 213 219);padding-left:1rem;margin:1rem 0;font-style:italic}.tiptap hr{border:none;border-top:2px solid rgb(229 231 235);margin:2rem 0}.tiptap table{width:100%;border-collapse:collapse;margin:1rem 0;border:1px solid rgb(229 231 235)}.tiptap th{background-color:#f9fafb;font-weight:600}.tiptap td,.tiptap th{padding:.5rem;text-align:left;border:1px solid rgb(229 231 235);min-width:100px}.tiptap .tableWrapper{position:relative;margin:1rem 0;overflow-x:auto}.tiptap .selectedCell{background-color:#eff6ff}.tiptap .column-resize-handle{position:absolute;top:0;right:0;width:4px;height:100%;background-color:#3b82f6;opacity:0;cursor:col-resize;transition:opacity .2s}.tiptap .column-resize-handle:hover{opacity:1}.tiptap .text-left{text-align:left}.tiptap .text-center{text-align:center}.tiptap .text-right{text-align:right}.tiptap .text-justify{text-align:justify}.ProseMirror{outline:none}.ProseMirror:focus{outline:none;box-shadow:0 0 0 3px #3b82f680}.editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem;background-color:#fff;border-bottom:1px solid rgb(229 231 235)}.editor-toolbar button{padding:.5rem;border-radius:.375rem;transition:all .2s}.editor-toolbar button:hover,.editor-toolbar button.is-active{background-color:#dbeafe;color:#2563eb}.editor-toolbar button:disabled{opacity:.5;cursor:not-allowed}.editor-toolbar .divider{height:1.25rem;width:1px;background-color:#d1d5db;margin:0 .5rem}@media (max-width: 640px){.tiptap table{display:block;overflow-x:auto}.editor-toolbar{justify-content:center}}.animate-slide-up{animation:slide-up .3s ease-out}@keyframes slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.accordion-header:hover{opacity:.8;transition:all .2s ease}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("react"),$r=require("react-dom"),lt=require("antd");function _u(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var qi={exports:{}},An={};/**
2
3
  * @license React
3
4
  * react-jsx-runtime.production.js