edu360-web-ui 1.0.89 → 1.0.92
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/main.css +1 -1
- package/dist/shizhanyun-web-ui.js +21 -23
- package/dist/shizhanyun-web-ui.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
|
|
8
8
|
Outdated base version: https://github.com/primer/github-syntax-light
|
|
9
9
|
Current colors taken from GitHub's CSS
|
|
10
|
-
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-1a77d30e]{position:absolute;width:300px}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-3f3df52b]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-3f3df52b]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-3f3df52b]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-3f3df52b]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-3f3df52b]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-3f3df52b]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-3f3df52b]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-3f3df52b]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-3f3df52b]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-3f3df52b]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-3f3df52b]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-3f3df52b]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-3f3df52b]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-3f3df52b]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-3f3df52b]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-3f3df52b]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-3f3df52b]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-3f3df52b]{color:#999}.icon-gray .floating-menu-common-item-r[data-v-3f3df52b]{color:#999!important}.block-menu-item[data-v-3f3df52b]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-3f3df52b]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-3f3df52b]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-3f3df52b]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-be715d1d]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-be715d1d]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-be715d1d]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-be715d1d]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-3132fcd1]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-3132fcd1]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-3132fcd1]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-3132fcd1],.toolbar .flex-center .upload-demo[data-v-3132fcd1]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-3132fcd1]{color:#333}.toolbar .el-dropdown[data-v-3132fcd1]{height:22px}.is-active[data-v-3132fcd1]{color:#256cfb}.icon-gray[data-v-3132fcd1]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-3132fcd1]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-3132fcd1]{display:flex;align-items:center;gap:4px}.table-content[data-v-3132fcd1]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-3132fcd1]{margin:0!important}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-6df1c268]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6df1c268]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-6df1c268]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-6df1c268]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6df1c268]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-6df1c268]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6df1c268]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6df1c268]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6df1c268]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-6df1c268]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-6df1c268]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-6df1c268]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6df1c268]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6df1c268]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-291951b5]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-291951b5]{position:relative}.table-side-icon[data-v-291951b5]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-291951b5]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-291951b5]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-291951b5]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-291951b5]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-291951b5]{color:#f56c6c}.merge-control-panel[data-v-291951b5]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-291951b5]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-291951b5]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-291951b5]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-291951b5]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-291951b5]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-291951b5]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-291951b5]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-291951b5]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-1d643fd4]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-1d643fd4]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-1d643fd4] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-1d643fd4]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-1d643fd4]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-1d643fd4]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-1d643fd4]{color:#999;font-size:12px}.editor-content-container[data-v-1d643fd4]{flex:1;height:0;position:relative}.editor-content[data-v-1d643fd4]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-1d643fd4]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-1d643fd4]{display:flex;align-items:center}.bubble-menu[data-v-1d643fd4]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-1d643fd4]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-1d643fd4]{display:flex;flex-direction:column}.table-toolbar[data-v-1d643fd4]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-1d643fd4]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{align-items:center;display:flex}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img{max-width:100%;margin:10px 0}.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[dasta-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}
|
|
10
|
+
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-1a77d30e]{position:absolute;width:300px}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-c9b1c163]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-c9b1c163]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-c9b1c163]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-c9b1c163]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-c9b1c163]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-c9b1c163]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-c9b1c163]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-c9b1c163]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-c9b1c163]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-c9b1c163]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-c9b1c163]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-c9b1c163]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-c9b1c163]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-c9b1c163]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-c9b1c163]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-c9b1c163]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-c9b1c163]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-c9b1c163]{color:#999}.icon-gray .floating-menu-common-item-r[data-v-c9b1c163]{color:#999!important}.block-menu-item[data-v-c9b1c163]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-c9b1c163]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-c9b1c163]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-c9b1c163]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-be715d1d]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-be715d1d]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-be715d1d]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-be715d1d]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-ad34f900]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-ad34f900]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-ad34f900]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-ad34f900],.toolbar .flex-center .upload-demo[data-v-ad34f900]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-ad34f900]{color:#333}.toolbar .el-dropdown[data-v-ad34f900]{height:22px}.is-active[data-v-ad34f900]{color:#256cfb}.icon-gray[data-v-ad34f900]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-ad34f900]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-ad34f900]{display:flex;align-items:center;gap:4px}.table-content[data-v-ad34f900]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-ad34f900]{margin:0!important}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-6df1c268]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6df1c268]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-6df1c268]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-6df1c268]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6df1c268]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-6df1c268]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6df1c268]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6df1c268]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6df1c268]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-6df1c268]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-6df1c268]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-6df1c268]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6df1c268]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6df1c268]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-291951b5]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-291951b5]{position:relative}.table-side-icon[data-v-291951b5]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-291951b5]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-291951b5]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-291951b5]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-291951b5]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-291951b5]{color:#f56c6c}.merge-control-panel[data-v-291951b5]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-291951b5]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-291951b5]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-291951b5]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-291951b5]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-291951b5]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-291951b5]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-291951b5]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-291951b5]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-3d89208a]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-3d89208a]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-3d89208a] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-3d89208a]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-3d89208a]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-3d89208a]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-3d89208a]{color:#999;font-size:12px}.editor-content-container[data-v-3d89208a]{flex:1;height:0;position:relative}.editor-content[data-v-3d89208a]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-3d89208a]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-3d89208a]{display:flex;align-items:center}.bubble-menu[data-v-3d89208a]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-3d89208a]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-3d89208a]{display:flex;flex-direction:column}.table-toolbar[data-v-3d89208a]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-3d89208a]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{align-items:center;display:flex}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img{max-width:100%;margin:10px 0}.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[dasta-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}
|
|
@@ -2438,7 +2438,7 @@ function isTagRule(rule) {
|
|
|
2438
2438
|
function isStyleRule(rule) {
|
|
2439
2439
|
return rule.style != null;
|
|
2440
2440
|
}
|
|
2441
|
-
|
|
2441
|
+
let DOMParser$1 = class DOMParser2 {
|
|
2442
2442
|
/**
|
|
2443
2443
|
Create a parser that targets the given schema, using the given
|
|
2444
2444
|
parsing rules.
|
|
@@ -2564,9 +2564,9 @@ class DOMParser {
|
|
|
2564
2564
|
[priority](https://prosemirror.net/docs/ref/#model.GenericParseRule.priority).
|
|
2565
2565
|
*/
|
|
2566
2566
|
static fromSchema(schema) {
|
|
2567
|
-
return schema.cached.domParser || (schema.cached.domParser = new
|
|
2567
|
+
return schema.cached.domParser || (schema.cached.domParser = new DOMParser2(schema, DOMParser2.schemaRules(schema)));
|
|
2568
2568
|
}
|
|
2569
|
-
}
|
|
2569
|
+
};
|
|
2570
2570
|
const blockTags = {
|
|
2571
2571
|
address: true,
|
|
2572
2572
|
article: true,
|
|
@@ -8592,7 +8592,7 @@ function parseFromClipboard(view, text2, html2, plainText, $context) {
|
|
|
8592
8592
|
dom = child;
|
|
8593
8593
|
}
|
|
8594
8594
|
if (!slice2) {
|
|
8595
|
-
let parser = view.someProp("clipboardParser") || view.someProp("domParser") || DOMParser.fromSchema(view.state.schema);
|
|
8595
|
+
let parser = view.someProp("clipboardParser") || view.someProp("domParser") || DOMParser$1.fromSchema(view.state.schema);
|
|
8596
8596
|
slice2 = parser.parseSlice(dom, {
|
|
8597
8597
|
preserveWhitespace: !!(asText || sliceData),
|
|
8598
8598
|
context: $context,
|
|
@@ -10402,7 +10402,7 @@ function parseBetween(view, from_, to_) {
|
|
|
10402
10402
|
}
|
|
10403
10403
|
}
|
|
10404
10404
|
let startDoc = view.state.doc;
|
|
10405
|
-
let parser = view.someProp("domParser") || DOMParser.fromSchema(view.state.schema);
|
|
10405
|
+
let parser = view.someProp("domParser") || DOMParser$1.fromSchema(view.state.schema);
|
|
10406
10406
|
let $from = startDoc.resolve(from2);
|
|
10407
10407
|
let sel = null, doc2 = parser.parse(parent, {
|
|
10408
10408
|
topNode: $from.parent,
|
|
@@ -12252,9 +12252,9 @@ function createNodeFromContent(content, schema, options) {
|
|
|
12252
12252
|
})
|
|
12253
12253
|
});
|
|
12254
12254
|
if (options.slice) {
|
|
12255
|
-
DOMParser.fromSchema(contentCheckSchema).parseSlice(elementFromString(content), options.parseOptions);
|
|
12255
|
+
DOMParser$1.fromSchema(contentCheckSchema).parseSlice(elementFromString(content), options.parseOptions);
|
|
12256
12256
|
} else {
|
|
12257
|
-
DOMParser.fromSchema(contentCheckSchema).parse(elementFromString(content), options.parseOptions);
|
|
12257
|
+
DOMParser$1.fromSchema(contentCheckSchema).parse(elementFromString(content), options.parseOptions);
|
|
12258
12258
|
}
|
|
12259
12259
|
if (options.errorOnInvalidContent && hasInvalidContent) {
|
|
12260
12260
|
throw new Error("[tiptap error]: Invalid HTML content", {
|
|
@@ -12262,7 +12262,7 @@ function createNodeFromContent(content, schema, options) {
|
|
|
12262
12262
|
});
|
|
12263
12263
|
}
|
|
12264
12264
|
}
|
|
12265
|
-
const parser = DOMParser.fromSchema(schema);
|
|
12265
|
+
const parser = DOMParser$1.fromSchema(schema);
|
|
12266
12266
|
if (options.slice) {
|
|
12267
12267
|
return parser.parseSlice(elementFromString(content), options.parseOptions).content;
|
|
12268
12268
|
}
|
|
@@ -91107,7 +91107,7 @@ function generateJSON(html2, extensions, options) {
|
|
|
91107
91107
|
if (!doc2) {
|
|
91108
91108
|
throw new Error("Failed to parse HTML string");
|
|
91109
91109
|
}
|
|
91110
|
-
return DOMParser.fromSchema(schema).parse(doc2.body, options).toJSON();
|
|
91110
|
+
return DOMParser$1.fromSchema(schema).parse(doc2.body, options).toJSON();
|
|
91111
91111
|
}
|
|
91112
91112
|
const decodeCache = {};
|
|
91113
91113
|
function getDecodeCache(exclude) {
|
|
@@ -96523,7 +96523,7 @@ function createDOMPurify() {
|
|
|
96523
96523
|
NodeFilter,
|
|
96524
96524
|
NamedNodeMap = window2.NamedNodeMap || window2.MozNamedAttrMap,
|
|
96525
96525
|
HTMLFormElement,
|
|
96526
|
-
DOMParser:
|
|
96526
|
+
DOMParser: DOMParser3,
|
|
96527
96527
|
trustedTypes
|
|
96528
96528
|
} = window2;
|
|
96529
96529
|
const ElementPrototype = Element2.prototype;
|
|
@@ -96864,7 +96864,7 @@ function createDOMPurify() {
|
|
|
96864
96864
|
const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
|
96865
96865
|
if (NAMESPACE === HTML_NAMESPACE) {
|
|
96866
96866
|
try {
|
|
96867
|
-
doc2 = new
|
|
96867
|
+
doc2 = new DOMParser3().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
|
96868
96868
|
} catch (_2) {
|
|
96869
96869
|
}
|
|
96870
96870
|
}
|
|
@@ -97319,10 +97319,12 @@ function loadContentInChunks({
|
|
|
97319
97319
|
onComplete == null ? void 0 : onComplete();
|
|
97320
97320
|
return;
|
|
97321
97321
|
}
|
|
97322
|
+
console.log(`准备在位置 ${pos} 插入 ${chunk.length} 个块`);
|
|
97322
97323
|
editor.chain().insertContentAt(pos, chunk).run();
|
|
97323
97324
|
index += chunkSize;
|
|
97324
97325
|
onProgress == null ? void 0 : onProgress(Math.min(index / total, 1));
|
|
97325
|
-
const nextPos = editor.state.
|
|
97326
|
+
const nextPos = editor.state.doc.content.size;
|
|
97327
|
+
console.log(`内容插入完成,下一次插入位置是 ${nextPos}`);
|
|
97326
97328
|
if ("requestIdleCallback" in window) {
|
|
97327
97329
|
requestIdleCallback(() => insertChunk(nextPos));
|
|
97328
97330
|
} else {
|
|
@@ -98707,7 +98709,6 @@ const CharacterLimiter = (options) => {
|
|
|
98707
98709
|
const oldSize = getTextLength2(state.doc);
|
|
98708
98710
|
const newSize = getTextLength2(transaction.doc);
|
|
98709
98711
|
const limit = options.limit;
|
|
98710
|
-
console.log(newSize, oldSize);
|
|
98711
98712
|
if (newSize > limit && newSize > oldSize) {
|
|
98712
98713
|
ElMessage.warning(`已超出最大字数限制:${limit}`);
|
|
98713
98714
|
return false;
|
|
@@ -107909,7 +107910,6 @@ const _sfc_main$6 = {
|
|
|
107909
107910
|
};
|
|
107910
107911
|
const aiFn = () => {
|
|
107911
107912
|
closePopover();
|
|
107912
|
-
console.log("aaaaaaiiiiii");
|
|
107913
107913
|
emit("closemenu", "ai");
|
|
107914
107914
|
};
|
|
107915
107915
|
const insertCodeBlock = () => {
|
|
@@ -108337,7 +108337,7 @@ const _sfc_main$6 = {
|
|
|
108337
108337
|
};
|
|
108338
108338
|
}
|
|
108339
108339
|
};
|
|
108340
|
-
const BlockMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
108340
|
+
const BlockMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-c9b1c163"]]);
|
|
108341
108341
|
function BlockMenuPlugin(editor, options) {
|
|
108342
108342
|
const PLUGIN_KEY = new PluginKey("blockMenu");
|
|
108343
108343
|
let wrapperEl = options.wrapperEl || null;
|
|
@@ -109218,9 +109218,12 @@ const _sfc_main$4 = {
|
|
|
109218
109218
|
};
|
|
109219
109219
|
uploadApi(params).then((res2) => {
|
|
109220
109220
|
const html2 = crypto.decrypt(res2.data.content || "");
|
|
109221
|
+
const parser = new DOMParser();
|
|
109222
|
+
const doc2 = parser.parseFromString(html2, "text/html");
|
|
109223
|
+
const bodyInnerHTML = doc2.body.innerHTML;
|
|
109221
109224
|
loadContentInChunks({
|
|
109222
109225
|
editor: props.editor,
|
|
109223
|
-
content:
|
|
109226
|
+
content: bodyInnerHTML,
|
|
109224
109227
|
type: "html",
|
|
109225
109228
|
extensions: commonExtensions(),
|
|
109226
109229
|
chunkSize: 5,
|
|
@@ -109237,7 +109240,6 @@ const _sfc_main$4 = {
|
|
|
109237
109240
|
const { from: from2, to } = props.editor.state.selection;
|
|
109238
109241
|
if (from2 !== to) {
|
|
109239
109242
|
const attrs = props.editor.getAttributes("textStyle");
|
|
109240
|
-
console.log(attrs, "attrs");
|
|
109241
109243
|
curFontSize.value = attrs.fontSize || "14px";
|
|
109242
109244
|
curFontColor.value = attrs.color || "#000000";
|
|
109243
109245
|
curBgColor.value = attrs.backgroundColor || "";
|
|
@@ -110030,7 +110032,7 @@ const _sfc_main$4 = {
|
|
|
110030
110032
|
};
|
|
110031
110033
|
}
|
|
110032
110034
|
};
|
|
110033
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
110035
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-ad34f900"]]);
|
|
110034
110036
|
const _hoisted_1$2 = { class: "bubble-menu" };
|
|
110035
110037
|
const _sfc_main$3 = {
|
|
110036
110038
|
__name: "BubbleMenu",
|
|
@@ -111586,7 +111588,6 @@ const _sfc_main = {
|
|
|
111586
111588
|
};
|
|
111587
111589
|
slashState.value.coords = { left: relativeCoords.left, top: relativeCoords.top + 30 };
|
|
111588
111590
|
slashState.value.isOpen = true;
|
|
111589
|
-
console.log("111111111111");
|
|
111590
111591
|
slashState.value.selectedIndex = 0;
|
|
111591
111592
|
});
|
|
111592
111593
|
} else {
|
|
@@ -111608,7 +111609,6 @@ const _sfc_main = {
|
|
|
111608
111609
|
function getTextBefore(editor2) {
|
|
111609
111610
|
const { state } = editor2;
|
|
111610
111611
|
const { $from } = state.selection;
|
|
111611
|
-
console.log($from, "$from$from$from");
|
|
111612
111612
|
return $from.parent.textBetween(0, $from.parentOffset, void 0, "");
|
|
111613
111613
|
}
|
|
111614
111614
|
function closeSlashMenu(type) {
|
|
@@ -111660,7 +111660,6 @@ const _sfc_main = {
|
|
|
111660
111660
|
let toolbarStyle = ref({});
|
|
111661
111661
|
const emit = __emit;
|
|
111662
111662
|
editor.on("update", ({ editor: editor2 }) => {
|
|
111663
|
-
console.log("111111111");
|
|
111664
111663
|
const textBefore = getTextBefore(editor2);
|
|
111665
111664
|
if (textBefore.endsWith("//")) {
|
|
111666
111665
|
if (slashState.value.isOpen) closeSlashMenu("undele");
|
|
@@ -111721,7 +111720,6 @@ const _sfc_main = {
|
|
|
111721
111720
|
imageDialogVisible.value = true;
|
|
111722
111721
|
}
|
|
111723
111722
|
const toggleLoading = (data) => {
|
|
111724
|
-
console.log("data:", data);
|
|
111725
111723
|
isLoading.value = data;
|
|
111726
111724
|
};
|
|
111727
111725
|
onBeforeUnmount(() => {
|
|
@@ -111839,7 +111837,7 @@ const _sfc_main = {
|
|
|
111839
111837
|
};
|
|
111840
111838
|
}
|
|
111841
111839
|
};
|
|
111842
|
-
const TiptapVue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
111840
|
+
const TiptapVue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d89208a"]]);
|
|
111843
111841
|
const components = [
|
|
111844
111842
|
{
|
|
111845
111843
|
name: "TiptapVue",
|