neweditor 1.0.0
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/README.md +301 -0
- package/dist/components/BubbleItem.vue.d.ts +32 -0
- package/dist/components/Editor.vue.d.ts +53 -0
- package/dist/components/EditorBubbleMenu.vue.d.ts +14 -0
- package/dist/components/EditorHeader.vue.d.ts +13 -0
- package/dist/components/block/BlockActionButton.vue.d.ts +24 -0
- package/dist/components/block/BlockActionInput.vue.d.ts +13 -0
- package/dist/components/block/BlockActionSeparator.vue.d.ts +2 -0
- package/dist/components/block/BlockCard.vue.d.ts +27 -0
- package/dist/components/block/index.d.ts +4 -0
- package/dist/components/common/ColorPickerDropdown.vue.d.ts +27 -0
- package/dist/components/icon/MdiDeleteForeverOutline.vue.d.ts +2 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +19 -0
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +16 -0
- package/dist/components/toolbar/index.d.ts +2 -0
- package/dist/components/toolbox/ToolboxItem.vue.d.ts +17 -0
- package/dist/components/toolbox/index.d.ts +1 -0
- package/dist/dev/App.vue.d.ts +2 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/extensions/audio/AudioView.vue.d.ts +5 -0
- package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +18 -0
- package/dist/extensions/audio/index.d.ts +14 -0
- package/dist/extensions/blockquote/index.d.ts +4 -0
- package/dist/extensions/bold/index.d.ts +3 -0
- package/dist/extensions/bullet-list/index.d.ts +3 -0
- package/dist/extensions/clear-format/index.d.ts +4 -0
- package/dist/extensions/code/index.d.ts +4 -0
- package/dist/extensions/code-block/CodeBlockSelect.vue.d.ts +24 -0
- package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +3 -0
- package/dist/extensions/code-block/code-block.d.ts +68 -0
- package/dist/extensions/code-block/index.d.ts +2 -0
- package/dist/extensions/code-block/lowlight-plugin.d.ts +2 -0
- package/dist/extensions/color/ColorBubbleItem.vue.d.ts +18 -0
- package/dist/extensions/color/ColorToolbarItem.vue.d.ts +19 -0
- package/dist/extensions/color/index.d.ts +4 -0
- package/dist/extensions/columns/column.d.ts +3 -0
- package/dist/extensions/columns/columns.d.ts +23 -0
- package/dist/extensions/columns/index.d.ts +2 -0
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +27 -0
- package/dist/extensions/commands-menu/commands.d.ts +3 -0
- package/dist/extensions/commands-menu/index.d.ts +1 -0
- package/dist/extensions/details/index.d.ts +6 -0
- package/dist/extensions/draggable/index.d.ts +13 -0
- package/dist/extensions/font-size/index.d.ts +5 -0
- package/dist/extensions/format-brush/index.d.ts +15 -0
- package/dist/extensions/format-brush/util.d.ts +27 -0
- package/dist/extensions/fullscreen/index.d.ts +6 -0
- package/dist/extensions/gap-cursor/gap-cursor-selection.d.ts +44 -0
- package/dist/extensions/gap-cursor/index.d.ts +41 -0
- package/dist/extensions/heading/index.d.ts +4 -0
- package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +18 -0
- package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +19 -0
- package/dist/extensions/highlight/index.d.ts +4 -0
- package/dist/extensions/history/index.d.ts +3 -0
- package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +18 -0
- package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +6 -0
- package/dist/extensions/iframe/IframeView.vue.d.ts +5 -0
- package/dist/extensions/iframe/index.d.ts +14 -0
- package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +18 -0
- package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +18 -0
- package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +18 -0
- package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +18 -0
- package/dist/extensions/image/ImageView.vue.d.ts +6 -0
- package/dist/extensions/image/index.d.ts +6 -0
- package/dist/extensions/indent/index.d.ts +24 -0
- package/dist/extensions/index.d.ts +55 -0
- package/dist/extensions/italic/index.d.ts +3 -0
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +18 -0
- package/dist/extensions/link/index.d.ts +4 -0
- package/dist/extensions/list-keymap/index.d.ts +7 -0
- package/dist/extensions/node-selected/index.d.ts +6 -0
- package/dist/extensions/ordered-list/index.d.ts +3 -0
- package/dist/extensions/paragraph/index.d.ts +6 -0
- package/dist/extensions/range-selection/index.d.ts +22 -0
- package/dist/extensions/range-selection/range-selection.d.ts +64 -0
- package/dist/extensions/search-and-replace/SearchAndReplace.vue.d.ts +36 -0
- package/dist/extensions/search-and-replace/SearchAndReplacePlugin.d.ts +109 -0
- package/dist/extensions/search-and-replace/index.d.ts +34 -0
- package/dist/extensions/sidebar-toggle/index.d.ts +25 -0
- package/dist/extensions/strike/index.d.ts +3 -0
- package/dist/extensions/subscript/index.d.ts +3 -0
- package/dist/extensions/superscript/index.d.ts +3 -0
- package/dist/extensions/table/index.d.ts +6 -0
- package/dist/extensions/table/table-cell.d.ts +6 -0
- package/dist/extensions/table/table-header.d.ts +6 -0
- package/dist/extensions/table/table-row.d.ts +2 -0
- package/dist/extensions/table/util.d.ts +44 -0
- package/dist/extensions/task-list/index.d.ts +3 -0
- package/dist/extensions/text/index.d.ts +5 -0
- package/dist/extensions/text-align/index.d.ts +4 -0
- package/dist/extensions/text-style/index.d.ts +2 -0
- package/dist/extensions/trailing-node/index.d.ts +9 -0
- package/dist/extensions/underline/index.d.ts +3 -0
- package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +18 -0
- package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +18 -0
- package/dist/extensions/video/VideoView.vue.d.ts +5 -0
- package/dist/extensions/video/index.d.ts +14 -0
- package/dist/index.d.ts +9 -0
- package/dist/locales/index.d.ts +7 -0
- package/dist/rich-text-editor.es.js +56411 -0
- package/dist/style.css +10 -0
- package/dist/tiptap/core/index.d.ts +1 -0
- package/dist/tiptap/index.d.ts +6 -0
- package/dist/tiptap/pm/index.d.ts +19 -0
- package/dist/tiptap/vue-3/index.d.ts +1 -0
- package/dist/types/index.d.ts +139 -0
- package/dist/utils/anchor.d.ts +2 -0
- package/dist/utils/delete-node.d.ts +4 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/is-allowed-uri.d.ts +1 -0
- package/dist/utils/is-list-active.d.ts +12 -0
- package/dist/utils/is-node-empty.d.ts +4 -0
- package/package.json +115 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@charset "UTF-8";.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.markdown-body{color-scheme:light;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:#0969da;text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid #d1d9e0b3}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 2.5rem}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid #d1d9e0b3;height:.25em;padding:0;margin:1.5rem 0;background-color:#d1d9e0;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:#59636e;opacity:1}.markdown-body ::placeholder{color:#59636e;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto;font-variant:tabular-nums}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:.25rem;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px #d1d9e0b3;border-bottom-color:#d1d9e0b3;border-radius:6px;box-shadow:inset 0 -1px #d1d9e0b3}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:1.5rem;margin-bottom:1rem;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #d1d9e0b3}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#59636e}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#59636e;border-left:.25em solid #d1d9e0}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:.5rem!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:#d1242f}.markdown-body .anchor{float:left;padding-right:.25rem;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:1rem}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1f2328;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:1rem}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:1rem;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 1rem;margin-bottom:1rem}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d1d9e0}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid #d1d9e0b3}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d1d9e0}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#818b981f;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:1rem}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:1rem;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px .5rem 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#59636e;border-top:1px solid #d1d9e0}.markdown-body .footnotes ol{padding-left:1rem}.markdown-body .footnotes ol ul{display:inline-block;padding-left:1rem;margin-top:1rem}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;inset:-.5rem -.5rem -.5rem -1.5rem;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body body:has(:modal){padding-right:var(--dialog-scrollgutter)!important}.markdown-body .pl-c{color:#59636e}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#1f2328}.markdown-body .pl-ent{color:#0550ae}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#1f2328}.markdown-body .pl-mb{font-weight:700;color:#1f2328}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#d1d9e0;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#59636e}.markdown-body .pl-sg{color:#818b98}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),.markdown-body button:focus:not(:focus-visible),.markdown-body summary:focus:not(:focus-visible),.markdown-body a:focus:not(:focus-visible){outline:none;box-shadow:none}.markdown-body [tabindex="0"]:focus:not(:focus-visible),.markdown-body details-dialog:focus:not(:focus-visible){outline:none}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:.25rem}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body ul:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body ol:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:.5rem 1rem;margin-bottom:1rem;color:inherit;border-left:.25em solid #d1d9e0}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}.markdown-body>*:first-child>.heading-element:first-child{margin-top:0!important}.markdown-body .highlight pre:has(+.zeroclipboard-container){min-height:52px}.editor-block__actions-button{cursor:pointer;border-radius:.375rem;background-color:var(--editor-card-hover-bg);padding:.375rem;transition:background-color .15s ease;display:inline-flex;align-items:center;justify-content:center}.editor-block__actions-button:hover{background-color:var(--editor-button-hover-bg)}.editor-block__actions-button.is-selected{color:var(--editor-primary-color);background-color:var(--editor-background-active)}.editor-block__actions-button.is-selected svg{color:var(--editor-primary-color);fill:var(--editor-primary-color);stroke:var(--editor-primary-color)}.editor-block__actions-button :deep(svg){width:1.25rem;height:1.25rem}.editor-block__actions-separator{margin-left:.375rem;margin-right:.375rem;height:1.25rem;width:1px;background-color:var(--editor-separator-bg)}.delete-icon[data-v-dee9dc31]{color:var(--editor-delete-icon-color)}.editor-block{position:relative;margin-top:2.25rem;margin-bottom:2.25rem}.editor-block__content{border-radius:.25rem;transition:all .2s}.editor-block__actions-wrapper{visibility:hidden;position:absolute;top:-3rem;right:0;padding-bottom:.5rem}.editor-block__actions-wrapper.is-visible{visibility:visible!important}.editor-block__actions{display:flex;height:2.75rem;flex-direction:row;align-items:center;gap:.125rem;border-radius:.5rem;border:1px solid var(--editor-card-border);background-color:var(--editor-panel-bg);padding:.25rem;box-shadow:var(--editor-box-shadow)}.editor-block:hover .editor-block__content{background-color:var(--editor-card-hover-bg)}.editor-block:hover .editor-block__actions-wrapper{visibility:visible}.editor-block.is-selected .editor-block__content{background-color:var(--editor-card-hover-bg)}.toolbar-sub-item[data-v-851f6aa3]{display:flex;flex-direction:row;align-items:center;gap:.75rem;border-radius:.25rem;padding:.25rem .375rem;cursor:pointer}.toolbar-sub-item.is-active[data-v-851f6aa3]{background-color:var(--editor-button-hover-bg)!important}.toolbar-sub-item.is-disabled[data-v-851f6aa3]{cursor:not-allowed;opacity:.7}.toolbar-sub-item[data-v-851f6aa3]:not(.is-disabled):hover{background-color:var(--editor-button-hover-bg)}.toolbar-sub-item:not(.is-disabled):hover .toolbar-sub-item-title[data-v-851f6aa3]{font-weight:500;color:var(--editor-button-text-active)}.toolbar-sub-item-icon[data-v-851f6aa3]{height:1.75rem;width:1.75rem;border-radius:.25rem;padding:.375rem}.toolbar-sub-item-title[data-v-851f6aa3]{font-size:.875rem;color:var(--editor-button-text)}.toolbar-sub-item-title.is-active[data-v-851f6aa3]{font-weight:500!important;color:var(--editor-button-text-active)!important}.toolbox-item[data-v-6f23073a]{display:flex;flex-direction:row;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem;cursor:pointer}.toolbox-item[data-v-6f23073a]:hover{background-color:var(--editor-button-hover-bg)}.toolbox-item:hover .toolbox-item-icon[data-v-6f23073a]{background-color:var(--editor-toolbar-bg)}.toolbox-item:hover .toolbox-item-title[data-v-6f23073a]{font-weight:500;color:var(--editor-button-text-active)}.toolbox-item-icon[data-v-6f23073a]{height:1.75rem;width:1.75rem;border-radius:.25rem;background-color:var(--editor-panel-bg);padding:.25rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toolbox-item-icon[data-v-6f23073a] *{width:1rem!important;height:1rem!important}.toolbox-item-content[data-v-6f23073a]{display:flex;flex-direction:column;gap:.125rem}.toolbox-item-title[data-v-6f23073a]{font-size:.875rem;color:var(--editor-button-text)}.toolbox-item-description[data-v-6f23073a]{font-size:.75rem;color:var(--editor-text-color-secondary)}.bubble-item-dropdown[data-v-f2e10ec9]{display:inline-flex}.bubble-item-button[data-v-f2e10ec9]{border-radius:.375rem;padding:.5rem;font-size:1.125rem;color:var(--editor-button-text);border:none;background-color:transparent;cursor:pointer;transition:background-color .15s ease;display:inline-flex;align-items:center;justify-content:center}.bubble-item-button[data-v-f2e10ec9]:hover{background-color:var(--editor-button-hover-bg)}.bubble-item-button.is-active[data-v-f2e10ec9]{background-color:var(--editor-button-active-bg)!important;color:var(--editor-button-text-active)!important}.bubble-item-icon[data-v-f2e10ec9]{height:1.25rem;width:1.25rem}.bubble-item-popper[data-v-f2e10ec9]{position:relative;max-height:18rem;width:24rem;overflow:hidden;overflow-y:auto;border-radius:.375rem;background-color:var(--editor-toolbar-bg);padding:.25rem;box-shadow:var(--editor-box-shadow-light)}.v-popper__popper.v-popper__popper--show-from .v-popper__wrapper{transform:scale(.9)}.v-popper__popper.v-popper__popper--show-to .v-popper__wrapper{transform:none;transition:transform .1s}.bubble-menu[data-v-ea147016]{display:flex;align-items:center;gap:.25rem;border-radius:.375rem;border:1px solid var(--editor-toolbar-border);background-color:var(--editor-toolbar-bg);padding:.25rem;box-shadow:var(--editor-box-shadow-light);max-width:calc(100vw - 30px);overflow-x:auto}.halo-rich-text-editor .editor-main-container[data-v-7ef829cc]{display:flex;flex-direction:row;height:100%;width:100%;overflow:hidden}.halo-rich-text-editor .editor-content-wrapper[data-v-7ef829cc]{position:relative;flex:1;overflow-y:auto;background-color:var(--editor-background-color);display:flex;flex-direction:column;min-height:0}.halo-rich-text-editor .editor-content[data-v-7ef829cc]{position:relative;flex:1;overflow-y:auto;min-height:0}.halo-rich-text-editor .editor-sidebar[data-v-7ef829cc]{height:100%;width:18rem;flex:none;flex-shrink:0;overflow:hidden;display:flex;flex-direction:column;min-height:0}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
|
+
Theme: GitHub
|
|
3
|
+
Description: Light theme as seen on github.com
|
|
4
|
+
Author: github.com
|
|
5
|
+
Maintainer: @Hirse
|
|
6
|
+
Updated: 2021-05-15
|
|
7
|
+
|
|
8
|
+
Outdated base version: https://github.com/primer/github-syntax-light
|
|
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}.halo-rich-text-editor,.theme-light .halo-rich-text-editor{--editor-color-green: #4caf50;--editor-color-orange: #fa8c16;--editor-color-blue: #1890ff;--editor-color-volcano: #fa541c;--editor-color-pink: #eb2f96;--editor-color-geekblue: #2f54eb;--editor-color-lime: #a0d911;--editor-color-yellow: #fadb14;--editor-color-purple: #9373ee;--editor-color-red: #f5222d;--editor-color-grey: #aaaaaa;--editor-primary-color: #9373ee;--editor-text-color: rgba(0, 0, 0, .85);--editor-text-color-secondary: rgba(0, 0, 0, .45);--editor-border-color: #f0f0f0;--editor-background-color: #ffffff;--editor-background-hover: rgba(0, 0, 0, .05);--editor-background-active: #f6f0ff;--editor-card-bg: #f5f5f5;--editor-box-shadow: 0 2px 8px rgba(0, 0, 0, .15);--editor-box-shadow-light: 0 1px 4px rgba(0, 0, 0, .08);--editor-placeholder-color: #adb5bd;--editor-code-bg: #f5f5f5;--editor-dropdown-bg: #ffffff;--editor-table-border: #d8d8d8;--editor-table-header-bg: #f6f8fa;--editor-table-cell-bg: #ffffff;--editor-table-selected-border: #0065ff;--editor-table-resize-handle: #aaddff;--editor-table-hover-bg: #2584ff;--editor-table-shadow: rgba(0, 0, 0, .08);--editor-search-result-bg: rgba(255, 217, 0, .31);--editor-search-current-bg: #ffd900;--editor-drag-handle-bg: #ffffff;--editor-drag-handle-icon: #111111;--editor-column-border: #e7e9e8;--editor-details-border: #e5e7eb;--editor-details-hover-bg: #e5e7eb;--editor-gap-cursor: #000000;--editor-node-selected-border: #2f8ef4;--editor-range-selection-bg: rgba(27, 162, 227, .2);--editor-toolbar-bg: #ffffff;--editor-toolbar-border: #e5e7eb;--editor-button-hover-bg: #f3f4f6;--editor-button-active-bg: #e5e7eb;--editor-button-text: #4b5563;--editor-button-text-active: #111827;--editor-card-border: #e5e7eb;--editor-card-hover-bg: #f9fafb;--editor-panel-bg: #f3f4f6;--editor-input-bg: #f9fafb;--editor-input-border: #d1d5db;--editor-input-focus-border: #3b82f6;--editor-input-text: #111827;--editor-separator-bg: #e2e8f0;--editor-add-icon-color: #4ccba0;--editor-delete-icon-color: #dc2626}.theme-dark .halo-rich-text-editor{--editor-color-green: #49aa19;--editor-color-orange: #d87a16;--editor-color-blue: #177ddc;--editor-color-volcano: #d84a1b;--editor-color-pink: #cf2f86;--editor-color-geekblue: #2b4acb;--editor-color-lime: #8bbb11;--editor-color-yellow: #d8bd14;--editor-color-purple: #9383f1;--editor-color-red: #d32029;--editor-color-grey: #aaaaaa;--editor-primary-color: #9373ee;--editor-text-color: rgba(255, 255, 255, .85);--editor-text-color-secondary: rgba(255, 255, 255, .65);--editor-border-color: #303030;--editor-background-color: #1f1f1f;--editor-background-hover: rgba(255, 255, 255, .05);--editor-background-active: #28253d;--editor-card-bg: #262626;--editor-box-shadow: 0 2px 8px rgba(0, 0, 0, .45);--editor-box-shadow-light: 0 1px 4px rgba(0, 0, 0, .32);--editor-placeholder-color: #6b6b6b;--editor-code-bg: #262626;--editor-dropdown-bg: #1f1f1f;--editor-table-border: #434343;--editor-table-header-bg: #2a2a2a;--editor-table-cell-bg: #1f1f1f;--editor-table-selected-border: #177ddc;--editor-table-resize-handle: #177ddc;--editor-table-hover-bg: #177ddc;--editor-table-shadow: rgba(0, 0, 0, .3);--editor-search-result-bg: rgba(216, 189, 20, .31);--editor-search-current-bg: #d8bd14;--editor-drag-handle-bg: #1f1f1f;--editor-drag-handle-icon: #ffffff;--editor-column-border: #434343;--editor-details-border: #434343;--editor-details-hover-bg: #2a2a2a;--editor-gap-cursor: #ffffff;--editor-node-selected-border: #177ddc;--editor-range-selection-bg: rgba(23, 125, 220, .2);--editor-toolbar-bg: #1f1f1f;--editor-toolbar-border: #434343;--editor-button-hover-bg: #2a2a2a;--editor-button-active-bg: #3a3a3a;--editor-button-text: #b0b0b0;--editor-button-text-active: #ffffff;--editor-card-border: #434343;--editor-card-hover-bg: #2a2a2a;--editor-panel-bg: #2a2a2a;--editor-input-bg: #2a2a2a;--editor-input-border: #434343;--editor-input-focus-border: #177ddc;--editor-input-text: #ffffff;--editor-separator-bg: #434343;--editor-add-icon-color: #4ccba0;--editor-delete-icon-color: #dc2626}.halo-rich-text-editor{box-sizing:border-box;height:calc(100% - 48px);width:100%}.halo-rich-text-editor .editor-header{height:48px}.halo-rich-text-editor .editor-header-extra{padding:15px 1rem;max-width:64rem;margin:0 auto}.halo-rich-text-editor .editor-content{width:100%;position:relative}.halo-rich-text-editor .editor-content .ProseMirror{outline:none!important;padding:15px 1rem 15px 20px;max-width:64rem;margin:0 auto}.halo-rich-text-editor .editor-content .ProseMirror p{margin-top:.75em;margin-bottom:0}.halo-rich-text-editor .editor-content .ProseMirror p.is-empty:before{content:attr(data-placeholder);float:left;color:var(--editor-placeholder-color);pointer-events:none;height:0}.halo-rich-text-editor .editor-content .ProseMirror pre{background-color:var(--editor-code-bg);padding:.75rem 1rem;margin:0;border-radius:.375rem}.halo-rich-text-editor .editor-content .ProseMirror pre code{background:none;font-size:.8rem;padding:0!important;border-radius:0}.halo-rich-text-editor .editor-content .ProseMirror ul[data-type=taskList]{list-style:none;padding:0}.halo-rich-text-editor .editor-content .ProseMirror ul[data-type=taskList] p{margin:0}.halo-rich-text-editor .editor-content .ProseMirror ul[data-type=taskList] li{display:flex}.halo-rich-text-editor .editor-content .ProseMirror ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.halo-rich-text-editor .editor-content .ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.halo-rich-text-editor .editor-content .ProseMirror ul,.halo-rich-text-editor .editor-content .ProseMirror ol{list-style-type:revert-layer}.halo-rich-text-editor .editor-content .ProseMirror code br{display:initial}.halo-rich-text-editor .editor-content .v-popper__arrow-container{display:none}.halo-rich-text-editor .v-popper--theme-tooltip{pointer-events:all}.v-popper--theme-editor-block-dropdown .v-popper__inner{border-radius:.375rem;background-color:var(--editor-dropdown-bg);box-shadow:var(--editor-box-shadow-light)}.v-popper--theme-editor-block-dropdown .v-popper__arrow-container{display:none}.halo-rich-text-editor .ProseMirror .table-container{position:relative}.halo-rich-text-editor .ProseMirror .table-container.table-right-shadow:after{bottom:15px;background:linear-gradient(90deg,transparent,var(--editor-table-shadow));right:0;content:" ";position:absolute;pointer-events:none;top:0;width:8px;margin-top:27px}.halo-rich-text-editor .ProseMirror .table-container.table-left-shadow:before{bottom:15px;background:linear-gradient(-90deg,transparent,var(--editor-table-shadow));left:0;content:" ";position:absolute;pointer-events:none;top:0;width:8px;margin-top:27px}.halo-rich-text-editor .ProseMirror .tableWrapper{position:relative;margin:.5em 0;overflow-x:auto;overflow-y:hidden;cursor:default}.halo-rich-text-editor .ProseMirror .tableWrapper.has-focus .scrollWrapper{margin-top:-20px}.halo-rich-text-editor .ProseMirror .scrollWrapper{width:-moz-max-content;width:max-content;border-left:1px solid transparent;border-right:1px solid transparent;transition:border .25s ease-in-out 0s}.halo-rich-text-editor .ProseMirror table{width:100%;border-collapse:collapse;border-radius:4px;overflow:initial;padding-left:26px;padding-top:26px;box-sizing:border-box}.halo-rich-text-editor .ProseMirror table *{box-sizing:border-box}.halo-rich-text-editor .ProseMirror table tr{position:relative;border-bottom:1px solid var(--editor-table-border);cursor:text}.halo-rich-text-editor .ProseMirror table th{background:var(--editor-table-header-bg)}.halo-rich-text-editor .ProseMirror table td{background:var(--editor-table-cell-bg)}.halo-rich-text-editor .ProseMirror table td,.halo-rich-text-editor .ProseMirror table th{vertical-align:top;border:1px solid var(--editor-table-border);position:relative;padding:12px 8px;text-align:left;min-width:100px}.halo-rich-text-editor .ProseMirror table td>*,.halo-rich-text-editor .ProseMirror table th>*{margin-top:0;margin-bottom:0}.halo-rich-text-editor .ProseMirror table .selectedCell{position:relative;border:1px solid var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror table .selectedCell:after{box-sizing:content-box;height:100%;width:100%;border:1px solid var(--editor-table-selected-border);content:"";position:absolute;left:-1px;top:-1px;bottom:0;display:inline-block;pointer-events:none}.halo-rich-text-editor .ProseMirror .grip-column{position:absolute;top:-12px;left:-1px;width:100%}.halo-rich-text-editor .ProseMirror .grip-column>div{position:absolute;top:-18px;left:100%;transform:translate(-8px);display:inline-block;width:16px;height:16px;font-size:0;cursor:pointer}.halo-rich-text-editor .ProseMirror .grip-column>div .plus-icon{font-size:inherit}.halo-rich-text-editor .ProseMirror .grip-column:before{content:"";position:absolute;left:100%;bottom:4px;transform:translate(-1px);width:4px;height:4px;background-color:var(--editor-table-border);border-radius:50%;display:block}.halo-rich-text-editor .ProseMirror .grip-column:after{box-sizing:content-box;content:"";cursor:pointer;position:absolute;top:0;left:0;width:100%;height:10px;background:var(--editor-table-header-bg);border:1px solid var(--editor-table-border);display:block}.halo-rich-text-editor .ProseMirror .grip-column:hover{color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .grip-column:hover>div{font-size:14px}.halo-rich-text-editor .ProseMirror .grip-column:hover:before{display:none}.halo-rich-text-editor .ProseMirror .grip-column:hover:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-hover-bg)}.halo-rich-text-editor .ProseMirror .grip-column.last:after{border-top-right-radius:3px}.halo-rich-text-editor .ProseMirror .grip-column.selected:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-hover-bg)}.halo-rich-text-editor .ProseMirror .grip-row{position:absolute;left:-12px;top:-1px;height:100%}.halo-rich-text-editor .ProseMirror .grip-row>div{transform:translateY(8px);position:absolute;left:-16px;bottom:4px;display:inline-block;width:16px;height:16px;font-size:0;cursor:pointer}.halo-rich-text-editor .ProseMirror .grip-row>div .plus-icon{font-size:inherit}.halo-rich-text-editor .ProseMirror .grip-row:before{content:"";position:absolute;left:-10px;bottom:-2px;width:4px;height:4px;background-color:var(--editor-table-border);border-radius:50%;display:block}.halo-rich-text-editor .ProseMirror .grip-row:after{box-sizing:content-box;content:"";cursor:pointer;position:absolute;left:0;top:0;height:100%;width:10px;background:var(--editor-table-header-bg);border:1px solid var(--editor-table-border);display:block}.halo-rich-text-editor .ProseMirror .grip-row:hover{color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .grip-row:hover>div{font-size:14px}.halo-rich-text-editor .ProseMirror .grip-row:hover:before{display:none}.halo-rich-text-editor .ProseMirror .grip-row:hover:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .grip-row.last:after{border-bottom-left-radius:3px}.halo-rich-text-editor .ProseMirror .grip-row.selected:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .grip-table:after{box-sizing:content-box;content:"";cursor:pointer;position:absolute;top:-12px;left:-12px;display:block;background:var(--editor-table-header-bg);width:10px;height:10px;border:1px solid var(--editor-table-border);border-top-left-radius:3px}.halo-rich-text-editor .ProseMirror .grip-table:hover:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .grip-table.selected:after{background:var(--editor-table-hover-bg);border-color:var(--editor-table-selected-border)}.halo-rich-text-editor .ProseMirror .column-resize-handle{position:absolute;top:0;right:-2px;bottom:-2px;width:4px;background-color:var(--editor-table-resize-handle);cursor:col-resize}.halo-rich-text-editor [data-drag-handle],.theme-light .halo-rich-text-editor [data-drag-handle]{position:absolute;z-index:100;display:inline;width:16px;height:16px;cursor:move;background-color:var(--editor-drag-handle-bg);opacity:0;transition:opacity .3s ease-out;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='1' width='3' height='3' rx='1.5' fill='%23111'/%3E%3Crect x='10' y='1' width='3' height='3' rx='1.5' fill='%23111'/%3E%3Crect x='3' y='6' width='3' height='3' rx='1.5' fill='%23111'/%3E%3Crect x='10' y='6' width='3' height='3' rx='1.5' fill='%23111'/%3E%3Crect x='3' y='11' width='3' height='3' rx='1.5' fill='%23111'/%3E%3Crect x='10' y='11' width='3' height='3' rx='1.5' fill='%23111'/%3E%3C/svg%3E");background-size:contain;background-position:center 0;background-repeat:no-repeat}.halo-rich-text-editor [data-drag-handle].show,.theme-light .halo-rich-text-editor [data-drag-handle].show{opacity:.3}.halo-rich-text-editor [data-drag-handle].show:hover,.theme-light .halo-rich-text-editor [data-drag-handle].show:hover{opacity:1}.halo-rich-text-editor [data-drag-handle].hide,.theme-light .halo-rich-text-editor [data-drag-handle].hide{opacity:0}.theme-dark .halo-rich-text-editor [data-drag-handle]{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='1' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3Crect x='10' y='1' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3Crect x='3' y='6' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3Crect x='10' y='6' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3Crect x='3' y='11' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3Crect x='10' y='11' width='3' height='3' rx='1.5' fill='%23fff'/%3E%3C/svg%3E")}.halo-rich-text-editor .ProseMirror .columns{margin-top:.75em}.halo-rich-text-editor .ProseMirror .columns .column{border:1px solid var(--editor-column-border);border-radius:6px;position:relative;padding:16px}.halo-rich-text-editor .ProseMirror .search-result{background-color:var(--editor-search-result-bg)}.halo-rich-text-editor .ProseMirror .search-result.search-result-current{background-color:var(--editor-search-current-bg)}.halo-rich-text-editor .ProseMirror.format-brush-mode{cursor:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTI0IDB2MjRIMFYwek0xMi41OTQgMjMuMjU4bC0uMDEyLjAwMmwtLjA3MS4wMzVsLS4wMi4wMDRsLS4wMTQtLjAwNGwtLjA3MS0uMDM2Yy0uMDEtLjAwMy0uMDE5IDAtLjAyNC4wMDZsLS4wMDQuMDFsLS4wMTcuNDI4bC4wMDUuMDJsLjAxLjAxM2wuMTA0LjA3NGwuMDE1LjAwNGwuMDEyLS4wMDRsLjEwNC0uMDc0bC4wMTItLjAxNmwuMDA0LS4wMTdsLS4wMTctLjQyN2MtLjAwMi0uMDEtLjAwOS0uMDE3LS4wMTYtLjAxOG0uMjY0LS4xMTNsLS4wMTQuMDAybC0uMTg0LjA5M2wtLjAxLjAxbC0uMDAzLjAxMWwuMDE4LjQzbC4wMDUuMDEybC4wMDguMDA4bC4yMDEuMDkyYy4wMTIuMDA0LjAyMyAwIC4wMjktLjAwOGwuMDA0LS4wMTRsLS4wMzQtLjYxNGMtLjAwMy0uMDEyLS4wMS0uMDItLjAyLS4wMjJtLS43MTUuMDAyYS4wMjMuMDIzIDAgMCAwLS4wMjcuMDA2bC0uMDA2LjAxNGwtLjAzNC42MTRjMCAuMDEyLjAwNy4wMi4wMTcuMDI0bC4wMTUtLjAwMmwuMjAxLS4wOTNsLjAxLS4wMDhsLjAwMy0uMDExbC4wMTgtLjQzbC0uMDAzLS4wMTJsLS4wMS0uMDF6Ii8+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTQuMzMgMi4zMDdhMyAzIDAgMCAxIDIuMTIgMy42NzRsLTEuMDM1IDMuODY0bDEuMzU4LjM2M2MxLjY1NC40NDQgMi41MSAyLjEyIDIuMjc4IDMuNjU2Yy0uMTEuNzI5LS4xNTQgMS40NDYtLjA2NSAxLjk2OGMuMTg1IDEuMDg0LjgwOCAyLjE0NiAxLjQ1OCAzLjA3M2wuMzU0LjQ5MkExIDEgMCAwIDEgMjAgMjFINS41Yy0uMzIgMC0uNjI3LS4xNTgtLjgxMy0uNDE4Yy0uNDg5LS42ODQtLjgzOC0xLjQ1OC0xLjEyNS0yLjI0NGMtLjUtMS4zNjQtLjkxNy0zLjI5My0uNTQ4LTUuNTAyYTExLjYzMyAxMS42MzMgMCAwIDEgMS40MjgtMy45OTRjLjY1NS0xLjEwOCAxLjkzMS0xLjQyIDIuOTkxLTEuMTM2bDIuMTg3LjU4NmwxLjAzNS0zLjg2NGEzIDMgMCAwIDEgMy42NzQtMi4xMjFaTTcuOTc4IDE1YTEgMSAwIDAgMC0uOTkzIDEuMDA3Yy4wMDcgMS4wMjQuMzI3IDIuMDA1LjY2OSAyLjc3bC4xMDIuMjIzaDIuMjc3YTguOTQ0IDguOTQ0IDAgMCAxLS4zOTItLjY5OWMtLjMxLS42MTctLjU4My0xLjM0OC0uNjQ0LTIuMDQ3bC0uMDEyLS4yNjFBMSAxIDAgMCAwIDcuOTc5IDE1Wm00LjYwOC0xMC4wNTRsLTEuMjk0IDQuODNhMSAxIDAgMCAxLTEuMjI1LjcwNmwtMy4xNTItLjg0NGMtLjM4My0uMTAzLS42NDYuMDQzLS43NTEuMjIxYTkuMTExIDkuMTExIDAgMCAwLS43MDMgMS40OTRsMTEuNTEgMy4wNTNjLjAyNS0uMjkzLjA2MS0uNTc4LjEwMS0uODQyYy4xMDUtLjY5LS4yOTctMS4yODQtLjgxOC0xLjQyNGwtMi4zMjMtLjYyMmExIDEgMCAwIDEtLjcwNy0xLjIyNWwxLjI5NC00LjgzYTEgMSAwIDAgMC0xLjkzMi0uNTE3Ii8+PC9nPjwvc3ZnPg==) 5 10,text}.halo-rich-text-editor .ProseMirror.ProseMirror-focused .card-gap-cursor:before{display:block}.halo-rich-text-editor .ProseMirror .card-gap-cursor{position:relative}.halo-rich-text-editor .ProseMirror .card-gap-cursor:before{content:"";display:none;position:absolute;min-width:1px;height:1em;font-size:1em;border-left:1px solid var(--editor-gap-cursor);animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}.halo-rich-text-editor .ProseMirror .start-card-gap-cursor:before{top:-2px;left:-1px}.halo-rich-text-editor .ProseMirror .end-card-gap-cursor:before{bottom:-2px;right:-1px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.halo-rich-text-editor .has-node-selected.code-node{border-color:var(--editor-node-selected-border)}.halo-rich-text-editor .no-selection *::-moz-selection{background-color:transparent;color:inherit}.halo-rich-text-editor .no-selection *::selection{background-color:transparent;color:inherit}.halo-rich-text-editor .range-fake-selection{position:relative}.halo-rich-text-editor .range-fake-selection:after{content:" ";position:absolute;inset:0;background-color:var(--editor-range-selection-bg);pointer-events:none;z-index:99;caret-color:transparent}.halo-rich-text-editor .range-fake-selection.column:after{border-radius:5px}.halo-rich-text-editor .details{display:flex;gap:.25rem;margin:1.5rem 0;border:1px solid var(--editor-details-border);border-radius:.5rem;padding:.5rem}.halo-rich-text-editor .details summary{all:unset;font-weight:700}.halo-rich-text-editor .details>button{align-items:center;background:transparent;border:none;border-radius:4px;display:flex;font-size:1rem;height:2rem;justify-content:center;line-height:1;margin-top:0;padding:0;width:2rem;cursor:pointer;transition:background-color .15s ease}.halo-rich-text-editor .details>button:hover{background-color:var(--editor-details-hover-bg)}.halo-rich-text-editor .details>button:before{content:"";display:inline-block;width:1.25em;height:1.25em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m13.171 12l-4.95-4.95l1.415-1.413L16 12l-6.364 6.364l-1.414-1.415z'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;background-position:center}.halo-rich-text-editor .details.is-open>button:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m12 13.171l4.95-4.95l1.414 1.415L12 16L5.636 9.636L7.05 8.222z'/%3E%3C/svg%3E");transform:none}.halo-rich-text-editor .details>div{display:flex;flex-direction:column;gap:1rem;width:100%}.halo-rich-text-editor .details>div>[data-type=detailsContent]>:last-child{margin-bottom:.5rem}.halo-rich-text-editor .details .details{margin:.5rem 0}.halo-rich-text-editor .hljs,.theme-light .halo-rich-text-editor .hljs{background:transparent!important;color:#24292e}.theme-dark .halo-rich-text-editor .hljs{background:transparent!important;color:#c9d1d9}.theme-dark .halo-rich-text-editor .hljs-doctag,.theme-dark .halo-rich-text-editor .hljs-keyword,.theme-dark .halo-rich-text-editor .hljs-meta .hljs-keyword,.theme-dark .halo-rich-text-editor .hljs-template-tag,.theme-dark .halo-rich-text-editor .hljs-template-variable,.theme-dark .halo-rich-text-editor .hljs-type,.theme-dark .halo-rich-text-editor .hljs-variable.language_{color:#ff7b72}.theme-dark .halo-rich-text-editor .hljs-title,.theme-dark .halo-rich-text-editor .hljs-title.class_,.theme-dark .halo-rich-text-editor .hljs-title.class_.inherited__,.theme-dark .halo-rich-text-editor .hljs-title.function_{color:#d2a8ff}.theme-dark .halo-rich-text-editor .hljs-attr,.theme-dark .halo-rich-text-editor .hljs-attribute,.theme-dark .halo-rich-text-editor .hljs-literal,.theme-dark .halo-rich-text-editor .hljs-meta,.theme-dark .halo-rich-text-editor .hljs-number,.theme-dark .halo-rich-text-editor .hljs-operator,.theme-dark .halo-rich-text-editor .hljs-selector-attr,.theme-dark .halo-rich-text-editor .hljs-selector-class,.theme-dark .halo-rich-text-editor .hljs-selector-id,.theme-dark .halo-rich-text-editor .hljs-variable{color:#79c0ff}.theme-dark .halo-rich-text-editor .hljs-meta .hljs-string,.theme-dark .halo-rich-text-editor .hljs-regexp,.theme-dark .halo-rich-text-editor .hljs-string{color:#a5d6ff}.theme-dark .halo-rich-text-editor .hljs-built_in,.theme-dark .halo-rich-text-editor .hljs-symbol{color:#ffa657}.theme-dark .halo-rich-text-editor .hljs-code,.theme-dark .halo-rich-text-editor .hljs-comment,.theme-dark .halo-rich-text-editor .hljs-formula{color:#8b949e}.theme-dark .halo-rich-text-editor .hljs-name,.theme-dark .halo-rich-text-editor .hljs-quote,.theme-dark .halo-rich-text-editor .hljs-selector-pseudo,.theme-dark .halo-rich-text-editor .hljs-selector-tag{color:#7ee787}.theme-dark .halo-rich-text-editor .hljs-subst{color:#c9d1d9}.theme-dark .halo-rich-text-editor .hljs-section{color:#1f6feb;font-weight:700}.theme-dark .halo-rich-text-editor .hljs-bullet{color:#f2cc60}.theme-dark .halo-rich-text-editor .hljs-emphasis{color:#c9d1d9;font-style:italic}.theme-dark .halo-rich-text-editor .hljs-strong{color:#c9d1d9;font-weight:700}.theme-dark .halo-rich-text-editor .hljs-addition{color:#aff5b4;background-color:#033a16}.theme-dark .halo-rich-text-editor .hljs-deletion{color:#ffdcd7;background-color:#67060c}.color-option-wrapper[data-v-e1eaa5f9]{padding:.25rem}.color-option[data-v-e1eaa5f9]{display:flex;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem;cursor:pointer}.color-option[data-v-e1eaa5f9]:hover{background-color:#f3f4f6}.color-box[data-v-e1eaa5f9]{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.125rem;background-color:#000;box-shadow:0 0 0 1px transparent;outline:1px solid transparent;outline-offset:1px}.color-box[data-v-e1eaa5f9]:hover{outline:1px solid #d1d5db}.color-option-text[data-v-e1eaa5f9]{font-size:.75rem;color:#4b5563}.highlight-option-wrapper[data-v-036324cc]{padding:.25rem}.highlight-option[data-v-036324cc]{display:flex;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem;cursor:pointer}.highlight-option[data-v-036324cc]:hover{background-color:#f3f4f6}.highlight-option-content[data-v-036324cc]{display:inline-flex;align-items:center;gap:.5rem}.highlight-color-box[data-v-036324cc]{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.125rem;box-shadow:0 0 0 1px transparent;outline:1px solid transparent;outline-offset:1px}.highlight-color-box[data-v-036324cc]:hover{outline:1px solid #d1d5db}.highlight-option-text[data-v-036324cc]{font-size:.75rem;color:#4b5563}.select-wrapper[data-v-b0ed1b34]{position:relative;display:inline-block;width:100%}.select-container[data-v-b0ed1b34]{height:2rem}.select-input[data-v-b0ed1b34]{box-sizing:border-box;display:grid;grid-template-columns:1fr auto;height:100%;width:100%;cursor:pointer;align-items:center;border-radius:.375rem;padding-left:.75rem;padding-right:.75rem;font-size:.875rem;background-color:transparent;border:1px solid transparent;transition:background-color .2s,border-color .2s}.select-input[data-v-b0ed1b34]:hover:not(.is-focus){background-color:var(--editor-button-hover-bg)}.select-input.is-focus[data-v-b0ed1b34]{background-color:var(--editor-background-color);border-color:var(--editor-border-color)}.input-wrapper[data-v-b0ed1b34]{position:absolute;bottom:0;top:0;background-color:transparent}.input-field[data-v-b0ed1b34]{margin:0;height:100%;cursor:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;outline:none}.display-label[data-v-b0ed1b34]{overflow:hidden;text-overflow:ellipsis;font-size:.875rem}.arrow-icon[data-v-b0ed1b34]{justify-self:end}.popper-wrapper[data-v-b0ed1b34]{background-color:var(--editor-toolbar-bg)}.select-options[data-v-b0ed1b34]{max-height:16rem;cursor:pointer;padding:.25rem;overflow-x:hidden;overflow-y:auto}.select-option[data-v-b0ed1b34]{display:flex;height:2rem;width:100%;align-items:center;border-radius:.375rem;padding:.25rem .75rem;font-size:1rem}.select-option[data-v-b0ed1b34]:hover{background-color:var(--editor-button-hover-bg)}.select-option.is-selected[data-v-b0ed1b34]{background-color:var(--editor-button-active-bg)}.select-option.is-highlighted[data-v-b0ed1b34]{background-color:var(--editor-button-hover-bg)}.option-label[data-v-b0ed1b34]{flex:1;overflow:hidden;text-overflow:ellipsis;font-size:.875rem}.code-node[data-v-1de04e2c]{margin-top:.75rem;overflow:hidden;border-radius:.25rem;border:1px solid #e5e7eb}.code-header[data-v-1de04e2c]{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f3f4f6;background-color:#f5f5f5;padding-top:.25rem;padding-bottom:.25rem}.code-header-left[data-v-1de04e2c]{display:flex;flex:1;align-items:center;padding-left:.75rem}.code-collapse-wrapper[data-v-1de04e2c]{display:flex;align-items:center;padding-right:.75rem}.code-collapse-button[data-v-1de04e2c]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem}.code-collapse-button[data-v-1de04e2c]:hover{background-color:#e4e4e7}.code-select[data-v-1de04e2c]{width:12rem}.code-header-right[data-v-1de04e2c]{display:flex;align-items:center;padding-right:.75rem}.code-copy-button[data-v-1de04e2c]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem}.code-copy-button.can-hover[data-v-1de04e2c]:hover{background-color:#e4e4e7}.code-icon[data-v-1de04e2c]{height:1rem;width:1rem;color:#6b7280}.code-icon.success[data-v-1de04e2c]{color:#22c55e}.command-items{position:relative;max-height:18rem;width:13rem;overflow:hidden;overflow-y:auto;border-radius:.375rem;background-color:#fff;padding:.25rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.command-items .command-item{display:flex;flex-direction:row;align-items:center;gap:1rem;border-radius:.25rem;padding:.25rem}.command-items .command-item:hover{background-color:#f3f4f6}.command-items .command-item:hover .command-icon{background-color:#fff!important}.command-items .command-item:hover .command-title{font-weight:500;color:#111827}.command-items .command-item.is-selected{background-color:#f3f4f6}.command-items .command-item.is-selected .command-icon{background-color:#fff}.command-items .command-item.is-selected .command-title{font-weight:500;color:#111827}.command-items .command-item .command-icon{height:1.5rem;width:1.5rem;border-radius:.25rem;background-color:#f3f4f6;padding:.25rem}.command-items .command-item .command-title{font-size:.75rem;color:#4b5563}.command-items .command-empty{display:flex;align-items:center;justify-content:center;padding:.25rem;font-size:.75rem;color:#4b5563}.audio-wrapper[data-v-5e0cd9cb]{display:inline-block;width:100%}.audio-container[data-v-5e0cd9cb]{position:relative;display:inline-block;height:100%;width:100%;overflow:hidden;text-align:center;transition:all .2s}.audio-input-wrapper[data-v-5e0cd9cb]{padding:.375rem}.audio-input[data-v-5e0cd9cb]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.audio-input[data-v-5e0cd9cb]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.audio-link-input[data-v-5356d3c5]{display:block;width:100%;border-radius:.375rem;border:1px solid #d1d5db;background-color:#f9fafb;padding:.375rem .5rem;font-size:.875rem;color:#111827}.audio-link-input[data-v-5356d3c5]:hover{background-color:#f3f4f6}.audio-link-input[data-v-5356d3c5]:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 1px #3b82f6}.iframe-link-input[data-v-26419d4a]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.iframe-link-input[data-v-26419d4a]:hover{background-color:var(--editor-button-hover-bg)}.iframe-link-input[data-v-26419d4a]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.iframe-wrapper[data-v-9f878396]{display:inline-block;width:100%}.iframe-container[data-v-9f878396]{position:relative;display:inline-block;height:100%;max-width:100%;overflow:hidden;text-align:center;transition:all .2s}.iframe-input-wrapper[data-v-9f878396]{padding:.375rem}.iframe-input[data-v-9f878396]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.iframe-input[data-v-9f878396]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.iframe-element[data-v-9f878396]{border-radius:.375rem}.iframe-element.has-border[data-v-9f878396]{border-width:2px}.image-alt-input[data-v-938c63f4]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.image-alt-input[data-v-938c63f4]:hover{background-color:var(--editor-button-hover-bg)}.image-alt-input[data-v-938c63f4]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.image-href-wrapper[data-v-0d6ff654]{display:block}.image-href-input[data-v-0d6ff654]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.image-href-input[data-v-0d6ff654]:hover{background-color:var(--editor-button-hover-bg)}.image-href-input[data-v-0d6ff654]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.image-href-label[data-v-0d6ff654]{margin-top:.5rem;display:inline-flex;align-items:center}.image-href-checkbox[data-v-0d6ff654]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:1rem;height:1rem;border-radius:.25rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);cursor:pointer;position:relative}.image-href-checkbox[data-v-0d6ff654]:focus{box-shadow:0 0 0 1px var(--editor-input-focus-border)}.image-href-checkbox[data-v-0d6ff654]:checked{background-color:var(--editor-primary-color);border-color:var(--editor-primary-color)}.image-href-checkbox[data-v-0d6ff654]:checked:after{content:"";position:absolute;left:.25rem;top:.05rem;width:.35rem;height:.6rem;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.image-href-text[data-v-0d6ff654]{margin-left:.5rem;font-size:.875rem;color:var(--editor-text-color-secondary)}.image-link-input[data-v-8c8d3698]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.image-link-input[data-v-8c8d3698]:hover{background-color:var(--editor-button-hover-bg)}.image-link-input[data-v-8c8d3698]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.image-wrapper[data-v-b545067b]{display:inline-block;width:100%}.image-input-wrapper[data-v-b545067b]{width:100%;padding:.375rem}.image-input[data-v-b545067b]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.image-input[data-v-b545067b]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.image-container[data-v-b545067b]{position:relative;display:inline-block;max-width:100%;resize:horizontal;overflow:hidden;border-radius:.375rem;text-align:center}.image-container.is-selected[data-v-b545067b]{border-radius:.25rem;box-shadow:0 0 0 2px var(--editor-primary-color)}.image-element[data-v-b545067b]{height:100%;width:100%}.search-replace-container[data-v-7c50b904]{position:absolute;right:1.25rem;top:0;float:right;display:flex;min-width:500px;justify-content:flex-end;border-radius:.25rem;background-color:#fff;padding:.25rem;padding-top:.5rem!important;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;pointer-events:auto}.search-replace-section[data-v-7c50b904]{display:flex;width:100%;flex-direction:column;gap:.25rem}.search-row[data-v-7c50b904],.replace-row[data-v-7c50b904]{position:relative;display:flex;align-items:center}.search-input-wrapper[data-v-7c50b904],.replace-input-wrapper[data-v-7c50b904]{position:relative;width:100%;max-width:55%;box-sizing:border-box}.search-input[data-v-7c50b904],.replace-input[data-v-7c50b904]{display:block;width:100%;box-sizing:border-box;border-radius:.25rem;border:1px solid var(--editor-input-border)!important;border-style:solid!important;background-color:var(--editor-input-bg);padding:.25rem .25rem .25rem .5rem;font-size:.875rem!important;line-height:1.75rem!important;color:var(--editor-input-text)}.search-input[data-v-7c50b904]:focus,.replace-input[data-v-7c50b904]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.search-input[data-v-7c50b904]{padding-right:5.5rem!important}.search-options[data-v-7c50b904]{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;gap:.25rem;padding-right:.25rem}.search-option-button[data-v-7c50b904],.search-action-button[data-v-7c50b904],.replace-action-button[data-v-7c50b904]{border-radius:.125rem;padding:.125rem;border:none;background-color:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.search-option-button[data-v-7c50b904]:hover,.search-action-button[data-v-7c50b904]:hover,.replace-action-button[data-v-7c50b904]:hover{background-color:#e5e7eb}.search-option-button[data-v-7c50b904] svg,.search-action-button[data-v-7c50b904] svg,.replace-action-button[data-v-7c50b904] svg{width:1.2em;height:1.2em}.search-option-button.active[data-v-7c50b904]{background-color:#bfdbfe!important;outline:1px solid #3b82f6}.search-option-button.active[data-v-7c50b904]:hover{background-color:#bfdbfe!important}.search-result-info[data-v-7c50b904]{margin-left:.5rem;margin-right:.5rem;min-width:130px;font-size:.875rem}.search-result-info .not-found[data-v-7c50b904]{color:#dc2626}.search-actions[data-v-7c50b904]{position:absolute;right:0;display:flex;height:100%;align-items:center}.search-action-button[data-v-7c50b904],.replace-action-button[data-v-7c50b904]{opacity:.5}.search-action-button.enabled[data-v-7c50b904],.replace-action-button.enabled[data-v-7c50b904]{opacity:1!important}.search-action-button.enabled[data-v-7c50b904]:hover,.replace-action-button.enabled[data-v-7c50b904]:hover{background-color:#e5e7eb!important}.search-action-button.close-button[data-v-7c50b904]{opacity:1}.replace-actions[data-v-7c50b904]{margin-left:.5rem;margin-right:.5rem;display:flex;align-items:center;gap:.5rem}.slide-enter-active,.slide-leave-active{transition:transform .25s}.slide-enter-from,.slide-leave-to{transform:translateY(-100%)}.slide-enter-to,.slide-leave-from{transform:translateY(0)}.color-option-wrapper[data-v-250770bc]{padding:.25rem}.color-option[data-v-250770bc]{display:flex;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem;cursor:pointer}.color-option[data-v-250770bc]:hover{background-color:#f3f4f6}.color-box[data-v-250770bc]{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.125rem;background-color:#000;box-shadow:0 0 0 1px transparent;outline:1px solid transparent;outline-offset:1px}.color-box[data-v-250770bc]:hover{outline:1px solid #d1d5db}.color-option-text[data-v-250770bc]{font-size:.75rem;color:#4b5563}.highlight-option-wrapper[data-v-ceb03193]{padding:.25rem}.highlight-option[data-v-ceb03193]{display:flex;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem;cursor:pointer}.highlight-option[data-v-ceb03193]:hover{background-color:#f3f4f6}.highlight-option-content[data-v-ceb03193]{display:inline-flex;align-items:center;gap:.5rem}.highlight-color-box[data-v-ceb03193]{height:1.25rem;width:1.25rem;cursor:pointer;border-radius:.125rem;box-shadow:0 0 0 1px transparent;outline:1px solid transparent;outline-offset:1px}.highlight-color-box[data-v-ceb03193]:hover{outline:1px solid #d1d5db}.highlight-option-text[data-v-ceb03193]{font-size:.75rem;color:#4b5563}.link-bubble-dropdown[data-v-e78103e2]{display:inline-flex}.link-bubble-button[data-v-e78103e2]{border-radius:.375rem;padding:.5rem;font-size:1.125rem;color:#4b5563}.link-bubble-button[data-v-e78103e2]:hover{background-color:#f3f4f6}.link-bubble-button.is-active[data-v-e78103e2]{background-color:#e5e7eb!important;color:#000!important}.link-bubble-popper[data-v-e78103e2]{position:relative;max-height:18rem;width:24rem;overflow:hidden;overflow-y:auto;border-radius:.375rem;background-color:var(--editor-toolbar-bg);padding:.25rem;box-shadow:var(--editor-box-shadow-light)}.link-input[data-v-e78103e2]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.link-input[data-v-e78103e2]:hover{background-color:var(--editor-button-hover-bg)}.link-input[data-v-e78103e2]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.link-checkbox-label[data-v-e78103e2]{display:inline-flex;align-items:center;margin-top:.5rem}.link-checkbox-label.first[data-v-e78103e2]{margin-right:.5rem}.link-checkbox[data-v-e78103e2]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:1rem;height:1rem;border-radius:.25rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);cursor:pointer;position:relative}.link-checkbox[data-v-e78103e2]:focus{box-shadow:0 0 0 1px var(--editor-input-focus-border)}.link-checkbox[data-v-e78103e2]:checked{background-color:var(--editor-primary-color);border-color:var(--editor-primary-color)}.link-checkbox[data-v-e78103e2]:checked:after{content:"";position:absolute;left:.25rem;top:.05rem;width:.35rem;height:.6rem;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.link-checkbox-text[data-v-e78103e2]{margin-left:.5rem;font-size:.875rem;color:var(--editor-text-color-secondary)}.video-link-input[data-v-22a18b71]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.video-link-input[data-v-22a18b71]:hover{background-color:var(--editor-button-hover-bg)}.video-link-input[data-v-22a18b71]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.editor-block__actions-input{display:block;width:5rem;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.25rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.editor-block__actions-input:hover{background-color:var(--editor-button-hover-bg)}.editor-block__actions-input:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.video-wrapper[data-v-4c3c82f1]{display:inline-block;width:100%}.video-container[data-v-4c3c82f1]{position:relative;display:inline-block;height:100%;max-width:100%;overflow:hidden;text-align:center;transition:all .2s}.video-input-wrapper[data-v-4c3c82f1]{padding:.375rem}.video-input[data-v-4c3c82f1]{display:block;width:100%;border-radius:.375rem;border:1px solid var(--editor-input-border);background-color:var(--editor-input-bg);padding:.375rem .5rem;font-size:.875rem;color:var(--editor-input-text)}.video-input[data-v-4c3c82f1]:focus{border-color:var(--editor-input-focus-border);outline:none;box-shadow:0 0 0 1px var(--editor-input-focus-border)}.video-element[data-v-4c3c82f1]{margin:0;border-radius:.375rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tiptap/core';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './core';
|
|
2
|
+
export { Editor, Fragment, MarkView, type MarkType, type NodeType, } from './core';
|
|
3
|
+
export * from './pm';
|
|
4
|
+
export { InputRule as PMInputRule, Mark as PMMark, Node as PMNode, liftListItem, textblockTypeInputRule as pmTextblockTypeInputRule, wrappingInputRule as pmWrappingInputRule, sinkListItem, splitListItem, undoInputRule, wrapInList, type Command as PMCommand, type MarkType as PMMarkType, type MarkView as PMMarkView, type NodeRange as PMNodeRange, type NodeType as PMNodeType, type NodeView as PMNodeView, } from './pm';
|
|
5
|
+
export * from './vue-3';
|
|
6
|
+
export { InputRule, Mark, Node, NodeView, Editor as VueEditor, textblockTypeInputRule, wrappingInputRule, type Command, type NodeRange, } from './vue-3';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from '@tiptap/pm/changeset';
|
|
2
|
+
export * from '@tiptap/pm/collab';
|
|
3
|
+
export * from '@tiptap/pm/dropcursor';
|
|
4
|
+
export * from '@tiptap/pm/gapcursor';
|
|
5
|
+
export * from '@tiptap/pm/history';
|
|
6
|
+
export * from '@tiptap/pm/inputrules';
|
|
7
|
+
export * from '@tiptap/pm/keymap';
|
|
8
|
+
export * from '@tiptap/pm/markdown';
|
|
9
|
+
export { schema as markDownSchema } from '@tiptap/pm/markdown';
|
|
10
|
+
export * from '@tiptap/pm/menu';
|
|
11
|
+
export * from '@tiptap/pm/model';
|
|
12
|
+
export * from '@tiptap/pm/schema-basic';
|
|
13
|
+
export { schema } from '@tiptap/pm/schema-basic';
|
|
14
|
+
export * from '@tiptap/pm/schema-list';
|
|
15
|
+
export * from '@tiptap/pm/state';
|
|
16
|
+
export * from '@tiptap/pm/tables';
|
|
17
|
+
export * from '@tiptap/pm/trailing-node';
|
|
18
|
+
export * from '@tiptap/pm/transform';
|
|
19
|
+
export * from '@tiptap/pm/view';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tiptap/vue-3';
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Editor, EditorState, EditorView, PluginKey, PMNode, Range, ResolvedPos, Selection, Slice } from '../tiptap';
|
|
2
|
+
import { arrow, autoPlacement, flip, hide, inline, offset, shift, size, VirtualElement } from '@floating-ui/dom';
|
|
3
|
+
import { Component } from 'vue';
|
|
4
|
+
export interface ToolbarItemType {
|
|
5
|
+
priority: number;
|
|
6
|
+
component: Component;
|
|
7
|
+
props: {
|
|
8
|
+
editor: Editor;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: () => void;
|
|
14
|
+
};
|
|
15
|
+
children?: ToolbarItemType[];
|
|
16
|
+
}
|
|
17
|
+
export interface BubbleMenuOptions {
|
|
18
|
+
strategy?: "absolute" | "fixed";
|
|
19
|
+
placement?: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
20
|
+
offset?: Parameters<typeof offset>[0] | boolean;
|
|
21
|
+
flip?: Parameters<typeof flip>[0] | boolean;
|
|
22
|
+
shift?: Parameters<typeof shift>[0] | boolean;
|
|
23
|
+
arrow?: Parameters<typeof arrow>[0] | false;
|
|
24
|
+
size?: Parameters<typeof size>[0] | boolean;
|
|
25
|
+
autoPlacement?: Parameters<typeof autoPlacement>[0] | boolean;
|
|
26
|
+
hide?: Parameters<typeof hide>[0] | boolean;
|
|
27
|
+
inline?: Parameters<typeof inline>[0] | boolean;
|
|
28
|
+
onShow?: () => void;
|
|
29
|
+
onHide?: () => void;
|
|
30
|
+
onUpdate?: () => void;
|
|
31
|
+
onDestroy?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* The scrollable element that should be listened to when updating the position of the bubble menu.
|
|
34
|
+
* If not provided, the window will be used.
|
|
35
|
+
* @type {HTMLElement | Window}
|
|
36
|
+
*/
|
|
37
|
+
scrollTarget?: HTMLElement | Window;
|
|
38
|
+
}
|
|
39
|
+
export interface BubbleMenuProps {
|
|
40
|
+
pluginKey?: string | PluginKey;
|
|
41
|
+
editor?: Editor;
|
|
42
|
+
shouldShow?: (props: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
element: HTMLElement;
|
|
45
|
+
view: EditorView;
|
|
46
|
+
state: EditorState;
|
|
47
|
+
oldState?: EditorState;
|
|
48
|
+
from: number;
|
|
49
|
+
to: number;
|
|
50
|
+
}) => boolean;
|
|
51
|
+
appendTo?: HTMLElement | (() => HTMLElement) | undefined;
|
|
52
|
+
getReferencedVirtualElement?: () => VirtualElement | null;
|
|
53
|
+
options?: BubbleMenuOptions | null;
|
|
54
|
+
}
|
|
55
|
+
export interface NodeBubbleMenuType extends BubbleMenuProps {
|
|
56
|
+
component?: Component;
|
|
57
|
+
items?: BubbleItemType[];
|
|
58
|
+
extendsKey?: string | PluginKey;
|
|
59
|
+
}
|
|
60
|
+
export interface BubbleItemType {
|
|
61
|
+
priority: number;
|
|
62
|
+
component?: Component;
|
|
63
|
+
key?: string;
|
|
64
|
+
props?: {
|
|
65
|
+
isActive?: ({ editor }: {
|
|
66
|
+
editor: Editor;
|
|
67
|
+
}) => boolean;
|
|
68
|
+
visible?: ({ editor }: {
|
|
69
|
+
editor: Editor;
|
|
70
|
+
}) => boolean;
|
|
71
|
+
icon?: Component;
|
|
72
|
+
iconStyle?: string;
|
|
73
|
+
title?: string;
|
|
74
|
+
action?: ({ editor }: {
|
|
75
|
+
editor: Editor;
|
|
76
|
+
}) => Component | boolean | void;
|
|
77
|
+
} & Record<string, unknown>;
|
|
78
|
+
}
|
|
79
|
+
export interface ToolboxItemType {
|
|
80
|
+
priority: number;
|
|
81
|
+
component: Component;
|
|
82
|
+
props: {
|
|
83
|
+
editor: Editor;
|
|
84
|
+
icon?: Component;
|
|
85
|
+
title?: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
action?: () => void;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export interface ExtensionOptions {
|
|
91
|
+
getToolbarItems?: ({ editor, }: {
|
|
92
|
+
editor: Editor;
|
|
93
|
+
}) => ToolbarItemType | ToolbarItemType[];
|
|
94
|
+
getCommandMenuItems?: () => CommandMenuItemType | CommandMenuItemType[];
|
|
95
|
+
getBubbleMenu?: ({ editor }: {
|
|
96
|
+
editor: Editor;
|
|
97
|
+
}) => NodeBubbleMenuType;
|
|
98
|
+
getToolboxItems?: ({ editor, }: {
|
|
99
|
+
editor: Editor;
|
|
100
|
+
}) => ToolboxItemType | ToolboxItemType[];
|
|
101
|
+
getDraggable?: ({ editor, }: {
|
|
102
|
+
editor: Editor;
|
|
103
|
+
}) => DraggableItemType | boolean;
|
|
104
|
+
}
|
|
105
|
+
export interface CommandMenuItemType {
|
|
106
|
+
priority: number;
|
|
107
|
+
icon: Component;
|
|
108
|
+
title: string;
|
|
109
|
+
keywords: string[];
|
|
110
|
+
command: ({ editor, range }: {
|
|
111
|
+
editor: Editor;
|
|
112
|
+
range: Range;
|
|
113
|
+
}) => void;
|
|
114
|
+
}
|
|
115
|
+
export interface DragSelectionNodeType {
|
|
116
|
+
$pos?: ResolvedPos;
|
|
117
|
+
node?: PMNode;
|
|
118
|
+
el: HTMLElement;
|
|
119
|
+
nodeOffset?: number;
|
|
120
|
+
dragDomOffset?: {
|
|
121
|
+
x?: number;
|
|
122
|
+
y?: number;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export interface DraggableItemType {
|
|
126
|
+
getRenderContainer?: ({ dom, view, }: {
|
|
127
|
+
dom: HTMLElement;
|
|
128
|
+
view: EditorView;
|
|
129
|
+
}) => DragSelectionNodeType;
|
|
130
|
+
handleDrop?: ({ view, event, slice, insertPos, node, selection, }: {
|
|
131
|
+
view: EditorView;
|
|
132
|
+
event: DragEvent;
|
|
133
|
+
slice: Slice;
|
|
134
|
+
insertPos: number;
|
|
135
|
+
node: PMNode;
|
|
136
|
+
selection: Selection;
|
|
137
|
+
}) => boolean | void;
|
|
138
|
+
allowPropagationDownward?: boolean;
|
|
139
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isAllowedUri(uri: string | undefined): true | RegExpMatchArray | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Editor } from '../tiptap';
|
|
2
|
+
/**
|
|
3
|
+
* Check if a list is active
|
|
4
|
+
*
|
|
5
|
+
* @param state - The state of the editor
|
|
6
|
+
* @returns Whether a list is active
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const isActive = isListActive(editor.state);
|
|
10
|
+
* ```
|
|
11
|
+
**/
|
|
12
|
+
export declare const isListActive: (editor: Editor) => boolean;
|
package/package.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "neweditor",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Rich text editor for Testfox",
|
|
5
|
+
"homepage": "https://gitee.com/xzq_95/wiki-editor.git",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://gitee.com/xzq_95/wiki-editor.git"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://gitee.com/xzq_95/wiki-editor.git",
|
|
12
|
+
"directory": "neweditor"
|
|
13
|
+
},
|
|
14
|
+
"license": "GPL-3.0",
|
|
15
|
+
"author": "testfox",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/rich-text-editor.es.js"
|
|
21
|
+
},
|
|
22
|
+
"./dist/style.css": "./dist/style.css"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/rich-text-editor.es.js",
|
|
25
|
+
"module": "./dist/rich-text-editor.es.js",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "vite build --config ./vite.lib.config.ts",
|
|
32
|
+
"dev": "vite",
|
|
33
|
+
"release": "release-it",
|
|
34
|
+
"test:unit:coverage": "vitest run --environment jsdom --coverage",
|
|
35
|
+
"test:unit:ui": "vitest --environment jsdom --watch --ui",
|
|
36
|
+
"test:unit:watch": "vitest --environment jsdom --watch",
|
|
37
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
38
|
+
"prepublishOnly": "pnpm run build"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@ckpack/vue-color": "^1.5.0",
|
|
42
|
+
"@floating-ui/dom": "^1.7.4",
|
|
43
|
+
"@tiptap/core": "^3.7.2",
|
|
44
|
+
"@vueuse/core": "^11.3.0",
|
|
45
|
+
"lodash-es": "^4.17.21",
|
|
46
|
+
"@tiptap/extension-blockquote": "^3.7.2",
|
|
47
|
+
"@tiptap/extension-bold": "^3.7.2",
|
|
48
|
+
"@tiptap/extension-code": "^3.7.2",
|
|
49
|
+
"@tiptap/extension-code-block": "^3.7.2",
|
|
50
|
+
"@tiptap/extension-code-block-lowlight": "^3.7.2",
|
|
51
|
+
"@tiptap/extension-color": "^3.7.2",
|
|
52
|
+
"@tiptap/extension-details": "^3.7.2",
|
|
53
|
+
"@tiptap/extension-document": "^3.7.2",
|
|
54
|
+
"@tiptap/extension-hard-break": "^3.7.2",
|
|
55
|
+
"@tiptap/extension-heading": "^3.7.2",
|
|
56
|
+
"@tiptap/extension-highlight": "^3.7.2",
|
|
57
|
+
"@tiptap/extension-horizontal-rule": "^3.7.2",
|
|
58
|
+
"@tiptap/extension-image": "^3.7.2",
|
|
59
|
+
"@tiptap/extension-italic": "^3.7.2",
|
|
60
|
+
"@tiptap/extension-link": "^3.7.2",
|
|
61
|
+
"@tiptap/extension-list": "^3.7.2",
|
|
62
|
+
"@tiptap/extension-paragraph": "^3.7.2",
|
|
63
|
+
"@tiptap/extension-strike": "^3.7.2",
|
|
64
|
+
"@tiptap/extension-subscript": "^3.7.2",
|
|
65
|
+
"@tiptap/extension-superscript": "^3.7.2",
|
|
66
|
+
"@tiptap/extension-table": "^3.7.2",
|
|
67
|
+
"@tiptap/extension-text": "^3.7.2",
|
|
68
|
+
"@tiptap/extension-text-align": "^3.7.2",
|
|
69
|
+
"@tiptap/extension-text-style": "^3.7.2",
|
|
70
|
+
"@tiptap/extension-underline": "^3.7.2",
|
|
71
|
+
"@tiptap/extensions": "^3.7.2",
|
|
72
|
+
"@tiptap/pm": "^3.7.2",
|
|
73
|
+
"@tiptap/suggestion": "^3.7.2",
|
|
74
|
+
"@tiptap/vue-3": "^3.7.2",
|
|
75
|
+
"floating-vue": "^5.2.2",
|
|
76
|
+
"github-markdown-css": "^5.2.0",
|
|
77
|
+
"highlight.js": "^11.11.1",
|
|
78
|
+
"linkifyjs": "^4.1.3",
|
|
79
|
+
"lowlight": "3.3.0",
|
|
80
|
+
"scroll-into-view-if-needed": "^3.1.0",
|
|
81
|
+
"vue-i18n": "^10.0.0"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@iconify-json/bx": "^1.2.2",
|
|
85
|
+
"@iconify-json/carbon": "^1.2.14",
|
|
86
|
+
"@iconify-json/fluent": "^1.2.33",
|
|
87
|
+
"@iconify-json/heroicons": "^1.2.3",
|
|
88
|
+
"@iconify-json/ic": "^1.2.4",
|
|
89
|
+
"@iconify-json/lucide": "^1.2.70",
|
|
90
|
+
"@iconify-json/material-symbols": "^1.2.42",
|
|
91
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
92
|
+
"@iconify-json/ph": "^1.2.2",
|
|
93
|
+
"@iconify-json/ri": "^1.2.6",
|
|
94
|
+
"@iconify-json/solar": "^1.2.4",
|
|
95
|
+
"@iconify-json/tabler": "^1.2.23",
|
|
96
|
+
"@intlify/unplugin-vue-i18n": "^11.0.1",
|
|
97
|
+
"@tsconfig/node22": "^22.0.2",
|
|
98
|
+
"@types/linkifyjs": "^2.1.7",
|
|
99
|
+
"@types/lodash-es": "^4.17.12",
|
|
100
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
101
|
+
"@vue/tsconfig": "^0.8.1",
|
|
102
|
+
"autoprefixer": "^10.4.21",
|
|
103
|
+
"postcss": "^8.5.6",
|
|
104
|
+
"release-it": "^16.1.5",
|
|
105
|
+
"sass": "^1.93.2",
|
|
106
|
+
"typescript": "^5.9.3",
|
|
107
|
+
"unplugin-icons": "^22.5.0",
|
|
108
|
+
"vite": "^7.1.11",
|
|
109
|
+
"vite-plugin-dts": "^4.5.4",
|
|
110
|
+
"vue-tsc": "^3.1.1"
|
|
111
|
+
},
|
|
112
|
+
"peerDependencies": {
|
|
113
|
+
"vue": "^3.5.16"
|
|
114
|
+
}
|
|
115
|
+
}
|