@bigbinary/neeto-editor 1.42.0 → 1.43.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.
@@ -5,7 +5,7 @@ var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
5
5
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
6
6
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
7
7
  var React = require('react');
8
- var Menu$3 = require('./chunk-4b866a12.cjs.js');
8
+ var Menu$3 = require('./chunk-62a3a743.cjs.js');
9
9
  var classnames = require('classnames');
10
10
  var constants = require('./chunk-d5fbc51f.cjs.js');
11
11
  var neetoCist = require('@bigbinary/neeto-cist');
@@ -226,8 +226,8 @@ var useEditorWarnings = function useEditorWarnings(_ref) {
226
226
  }, [initialValue]);
227
227
  };
228
228
 
229
- var css$1 = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.tippy-box[data-theme~=neeto-editor-mentions-tooltip]{border:1px solid rgb(var(--neeto-ui-gray-400))}.tippy-box[data-theme~=neeto-editor-mentions-tooltip] .tippy-content{max-height:none;padding:0}.tippy-box[data-theme~=neeto-editor-mentions-tooltip] .tippy-content button.active{background-color:var(--neeto-ui-dropdown-item-focus-bg-color)}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjgyMSAxNWgxLjIzVjYuMjQzaDMuMThWNS4xMzZILjY0MnYxLjEwN0gzLjgyVjE1Wm01LjkgMi41ODRjMS4zMDUgMCAxLjkxNC0uNDc5IDIuNTIyLTIuMTMzbDIuODc4LTcuODJoLTEuMjVsLTIuMDE4IDYuMDYzaC0uMTA5TDkuNzIxIDcuNjMxSDguNDQ5bDIuNzI4IDcuMzc2LS4xMzcuNDM3Yy0uMjY3Ljg0OC0uNjc3IDEuMTU2LTEuMzUzIDEuMTU2LS4xNjUgMC0uMzUtLjAwNy0uNDkzLS4wMzV2Ljk3OGMuMTY0LjAyNy4zNy4wNDEuNTI3LjA0MVptNi45NzItLjEyM2gxLjE5di0zLjYyM2guMTFjLjQwMi43ODYgMS4yODQgMS4yOTIgMi4yOTYgMS4yOTIgMS44NzMgMCAzLjA5LTEuNDk3IDMuMDktMy44MDh2LS4wMTNjMC0yLjI5Ny0xLjIyNC0zLjgwOC0zLjA5LTMuODA4LTEuMDI1IDAtMS44NDYuNDg1LTIuMjk3IDEuMzA2aC0uMTFWNy42M2gtMS4xODl2OS44M1ptMy4zMjMtMy4zODRjLTEuMzQgMC0yLjE2LTEuMDUzLTIuMTYtMi43NTV2LS4wMTNjMC0xLjcwMy44Mi0yLjc1NSAyLjE2LTIuNz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U1Wm04LjIzMSAxLjA1M2MxLjczNiAwIDIuNzg5LS45ODUgMy4wNDItMS45ODJsLjAxMy0uMDU1aC0xLjE4OWwtLjAyNy4wNjFjLS4xOTkuNDQ1LS44MTQuOTE2LTEuODEyLjkxNi0xLjMxMiAwLTIuMTUzLS44ODgtMi4xODctMi40MTNoNS4zMDR2LS40NjVjMC0yLjItMS4yMTctMy42OTEtMy4yMi0zLjY5MS0yLjAwMiAwLTMuMzAxIDEuNTU5LTMuMzAxIDMuODM1di4wMDdjMCAyLjMxIDEuMjcxIDMuNzg3IDMuMzc3IDMuNzg3Wm0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-semibold)}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{font-size:var(--neeto-ui-text-h1);margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{font-size:var(--neeto-ui-text-h2);margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{font-size:var(--neeto-ui-text-h3);margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{font-size:var(--neeto-ui-text-h4);margin:.75rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{font-size:var(--neeto-ui-text-h5);margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{font-size:var(--neeto-ui-text-h6);margin:.75rem 0 .25rem}@media only screen and (max-width:720px){.neeto-editor h1,.neeto-editor-content h1{font-size:22px}.neeto-editor h2,.neeto-editor-content h2{font-size:20px}.neeto-editor h3,.neeto-editor-content h3{font-size:18px}.neeto-editor h4,.neeto-editor-content h4{font-size:16px}.neeto-editor h5,.neeto-editor-content h5{font-size:14px}.neeto-editor h6,.neeto-editor-content h6{font-size:12px}}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor h1 code,.neeto-editor h2 code,.neeto-editor h3 code,.neeto-editor h4 code,.neeto-editor h5 code,.neeto-editor h6 code,.neeto-editor p code,.neeto-editor-content h1 code,.neeto-editor-content h2 code,.neeto-editor-content h3 code,.neeto-editor-content h4 code,.neeto-editor-content h5 code,.neeto-editor-content h6 code,.neeto-editor-content p code{font-size:inherit}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:32px 12px 12px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-accent-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-accent-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;padding-left:3px;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;min-height:52px;padding:4px}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{display:inline-block;height:auto;width:100%}.neeto-editor__image-wrapper .neeto-editor__image img.hidden,.neeto-editor__image-wrapper .neeto-editor__image video.hidden{display:none}.neeto-editor__image-wrapper .neeto-editor__image img{cursor:zoom-in}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor figcaption,.neeto-editor-content figcaption{color:#6b7280;font-size:14px;font-weight:400;line-height:1.4;text-align:center}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.selected-text{background-color:rgb(var(--neeto-ui-gray-300));padding:2px 0}.ne-image-preview-wrapper{align-items:center;background:rgba(var(--neeto-ui-gray-800),.5);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:999999}.ne-image-preview-wrapper .ne-image-preview{background:rgb(var(--neeto-ui-white));display:flex;flex-direction:column;gap:10px;max-width:60vw;opacity:0;transition:opacity .1s ease-in-out}.ne-image-preview-wrapper .ne-image-preview.image-loaded{border-radius:10px;opacity:1;padding:10px}.ne-image-preview-wrapper .ne-image-preview__caption{color:rgb(var(--neeto-ui-gray-800));line-height:1.5}.ne-image-preview-wrapper .close-button{position:absolute;right:5px;top:5px}.ne-image-preview-wrapper .image-preview{max-height:70%;max-width:70%}.ne-image-preview-wrapper__spinner{position:absolute}.ne-image-preview-wrapper__spinner i{background-color:rgb(var(--neeto-ui-gray-300))}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-400));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor-mentions__wrapper{padding:4px 0}.neeto-editor-mentions__item{padding:8px 12px}@media screen and (max-width:767px){.ne-media-uploader-modal{width:95vw!important}}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px;width:100%}.ne-media-uploader .neeto-ui-tab__wrapper{padding:0 16px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;padding:16px;width:100%}.ne-media-uploader .ne-media-uploader__dnd:focus{outline:none}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.is-dragging-over-files{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;gap:10px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;position:relative;width:105px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__cancel-button-wrapper{position:absolute;right:4px;top:4px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:space-between;margin-top:4px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info__icon{margin-top:12px;width:45px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-sm);display:flex;height:4px;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}@media screen and (max-width:767px){.ne-embed-modal-wrapper{width:95vw!important}}.image-preview-neeto-ui-modal{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:transparent!important;height:auto!important;margin:auto 0}.image-preview-neeto-ui-modal__close-btn{border-radius:100%;float:right;margin:10px 0}.image-preview-neeto-ui-modal img{border:10px solid rgb(var(--neeto-ui-gray-100));border-radius:10px;height:auto;max-height:90vh;opacity:1;transition:opacity 2s ease-in-out;width:100%}.image-preview-neeto-ui-modal .display-none{display:none}.image-preview-neeto-ui-modal .spinner-wrapper{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.image-preview-neeto-ui-modal .spinner-wrapper .spinner{--neeto-ui-spinner-size:32px}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:2px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;opacity:0;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-gray-500))!important;font-size:var(--neeto-ui-text-base)!important;font-weight:var(--neeto-ui-font-light)!important;line-height:16px!important}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{opacity:1;visibility:visible}.neeto-editor-table__add-row{margin:2px 20px 2px 0;padding:0 0 2px}.neeto-editor-table__add-column{flex-direction:column;padding:0 4px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid var(--neeto-ui-popover-light-theme-border-color);border-radius:5px;box-shadow:var(--neeto-ui-tooltip-light-theme-box-shadow);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:99999}.ne-link-popover__url-input{margin:8px 0}.ne-link-popover__checkbox{margin:16px 0}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-gray-800));float:left;font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-medium);margin-right:8px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-arrow{border:6px solid transparent;border-top-color:rgba(0,0,0,.2);content:\"\";left:0;position:fixed;top:0;z-index:99999}.tiptap .collaboration-cursor__caret{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.tiptap .collaboration-cursor__label{border-radius:3px 3px 3px 0;color:#0d0d0d;font-size:12px;font-style:normal;font-weight:600;left:-1px;line-height:normal;padding:.1rem .3rem;position:absolute;top:-1.4em;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
230
- injectCss.n(css$1,{});
229
+ var css = "@charset \"UTF-8\";@import url(\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css\");.neeto-editor-slash-commands__wrapper{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:flex-start;max-height:384px;max-width:100%;overflow-y:auto;padding:12px;width:256px}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item{align-items:center;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white));cursor:pointer;display:flex;flex-direction:row;gap:12px;justify-content:flex-start;padding:8px 12px;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active,.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover{background-color:rgb(var(--neeto-ui-gray-700))}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5{font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal)}.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p{color:rgb(var(--neeto-ui-gray-300));font-size:var(--neeto-ui-text-xs)}.tippy-box[data-theme~=neeto-editor-mentions-tooltip]{border:1px solid rgb(var(--neeto-ui-gray-400))}.tippy-box[data-theme~=neeto-editor-mentions-tooltip] .tippy-content{max-height:none;padding:0}.tippy-box[data-theme~=neeto-editor-mentions-tooltip] .tippy-content button.active{background-color:var(--neeto-ui-dropdown-item-focus-bg-color)}.ProseMirror.slash-active p.is-empty:last-child:before{content:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwIiBmaWxsPSJub25lIiB4bW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m0tLjA4Mi02LjU3YzEuMDg3IDAgMS44OTMuNjkxIDIuMDE2IDIuMTQ3aC00LjA3NGMuMTMtMS40MDEuOTY0LTIuMTQ2IDIuMDU4LTIuMTQ2WiIgZmlsbD0iIzg3OTI5RCIvPjwvc3ZnPg==\");height:0;pointer-events:none;position:absolute;top:-2px;z-index:-1}.neeto-editor,.neeto-editor-content{-moz-tab-size:2;-o-tab-size:2;tab-size:2;white-space:pre-wrap;word-break:break-word}.neeto-editor h1,.neeto-editor h2,.neeto-editor h3,.neeto-editor h4,.neeto-editor h5,.neeto-editor h6,.neeto-editor-content h1,.neeto-editor-content h2,.neeto-editor-content h3,.neeto-editor-content h4,.neeto-editor-content h5,.neeto-editor-content h6{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-semibold)}.neeto-editor h1 strong,.neeto-editor h2 strong,.neeto-editor h3 strong,.neeto-editor h4 strong,.neeto-editor h5 strong,.neeto-editor h6 strong,.neeto-editor-content h1 strong,.neeto-editor-content h2 strong,.neeto-editor-content h3 strong,.neeto-editor-content h4 strong,.neeto-editor-content h5 strong,.neeto-editor-content h6 strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor h1,.neeto-editor-content h1{font-size:var(--neeto-ui-text-h1);margin:2rem 0 .25rem}.neeto-editor h2,.neeto-editor-content h2{font-size:var(--neeto-ui-text-h2);margin:1.5rem 0 .25rem}.neeto-editor h3,.neeto-editor-content h3{font-size:var(--neeto-ui-text-h3);margin:1rem 0 .25rem}.neeto-editor h4,.neeto-editor-content h4{font-size:var(--neeto-ui-text-h4);margin:.75rem 0 .25rem}.neeto-editor h5,.neeto-editor-content h5{font-size:var(--neeto-ui-text-h5);margin:.75rem 0 .25rem}.neeto-editor h6,.neeto-editor-content h6{font-size:var(--neeto-ui-text-h6);margin:.75rem 0 .25rem}@media only screen and (max-width:720px){.neeto-editor h1,.neeto-editor-content h1{font-size:22px}.neeto-editor h2,.neeto-editor-content h2{font-size:20px}.neeto-editor h3,.neeto-editor-content h3{font-size:18px}.neeto-editor h4,.neeto-editor-content h4{font-size:16px}.neeto-editor h5,.neeto-editor-content h5{font-size:14px}.neeto-editor h6,.neeto-editor-content h6{font-size:12px}}.neeto-editor p,.neeto-editor-content p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor p:empty:after,.neeto-editor-content p:empty:after{content:\" \"}.neeto-editor p:last-child,.neeto-editor-content p:last-child{margin-bottom:0}.neeto-editor p strong,.neeto-editor-content p strong{font-weight:var(--neeto-ui-font-semibold)!important}.neeto-editor div,.neeto-editor-content div{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-body1);font-weight:var(--neeto-ui-font-normal);line-height:var(--neeto-ui-leading-normal)}.neeto-editor code,.neeto-editor-content code{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);font-family:SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;font-size:14px;padding:.2em .4em}.neeto-editor h1 code,.neeto-editor h2 code,.neeto-editor h3 code,.neeto-editor h4 code,.neeto-editor h5 code,.neeto-editor h6 code,.neeto-editor p code,.neeto-editor-content h1 code,.neeto-editor-content h2 code,.neeto-editor-content h3 code,.neeto-editor-content h4 code,.neeto-editor-content h5 code,.neeto-editor-content h6 code,.neeto-editor-content p code{font-size:inherit}.neeto-editor pre,.neeto-editor-content pre{background-color:#f7f6f3;border-radius:var(--neeto-ui-rounded-sm);font-size:14px;line-height:1.5;margin-bottom:16px;margin-top:16px;overflow-x:auto;padding:32px 12px 12px;position:relative}.neeto-editor pre .neeto-editor-codeblock-options,.neeto-editor-content pre .neeto-editor-codeblock-options{align-items:center;display:flex;gap:4px;position:absolute;right:4px;top:4px}.neeto-editor pre .neeto-editor-codeblock-options__menu,.neeto-editor-content pre .neeto-editor-codeblock-options__menu{display:flex;flex-direction:column;gap:4px}.neeto-editor pre .neeto-editor-codeblock-options__input,.neeto-editor-content pre .neeto-editor-codeblock-options__input{margin:4px}.neeto-editor pre>code,.neeto-editor-content pre>code{background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;line-height:inherit;padding:0;white-space:pre-wrap}.neeto-editor blockquote,.neeto-editor-content blockquote{border-left-color:#e5e7eb;border-left-width:4px;color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin:8px 0;padding-left:12px;quotes:\"“\" \"”\" \"‘\" \"’\"}.neeto-editor blockquote>p:after,.neeto-editor blockquote>p:before,.neeto-editor-content blockquote>p:after,.neeto-editor-content blockquote>p:before{content:\"\"!important}.neeto-editor ol,.neeto-editor ul,.neeto-editor-content ol,.neeto-editor-content ul{list-style:revert;margin-bottom:1em;padding-left:28px}.neeto-editor ol li:before,.neeto-editor ul li:before,.neeto-editor-content ol li:before,.neeto-editor-content ul li:before{background-color:rgb(var(--neeto-ui-black))}.neeto-editor a[href],.neeto-editor-content a[href]{color:rgb(var(--neeto-ui-accent-800));font-weight:500}.neeto-editor .neeto-editor__video-wrapper,.neeto-editor-content .neeto-editor__video-wrapper{display:flex;margin:16px 0}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;padding:4px}.neeto-editor .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe,.neeto-editor-content .neeto-editor__video-wrapper .neeto-editor__video-iframe iframe{height:100%;width:100%}.neeto-editor .neeto-editor__video--left,.neeto-editor-content .neeto-editor__video--left{justify-content:flex-start}.neeto-editor .neeto-editor__video--right,.neeto-editor-content .neeto-editor__video--right{justify-content:flex-end}.neeto-editor .neeto-editor__video--center,.neeto-editor-content .neeto-editor__video--center{justify-content:center}.neeto-editor mark,.neeto-editor-content mark{border-radius:var(--neeto-ui-rounded-sm);padding:0}.neeto-editor [data-type=mention],.neeto-editor [data-type=special-mention],.neeto-editor-content [data-type=mention],.neeto-editor-content [data-type=special-mention]{color:rgb(var(--neeto-ui-accent-800))}.neeto-editor table,.neeto-editor-content table{border:1px solid rgba(var(--neeto-ui-gray-300));border-collapse:separate;border-radius:var(--neeto-ui-rounded-sm);border-spacing:0;min-width:300px;overflow:hidden;table-layout:fixed}.neeto-editor table td,.neeto-editor table th,.neeto-editor-content table td,.neeto-editor-content table th{border-left:1px solid rgba(var(--neeto-ui-gray-300));border-top:1px solid rgba(var(--neeto-ui-gray-300));padding:8px 12px;position:relative}.neeto-editor table td:first-child,.neeto-editor table th:first-child,.neeto-editor-content table td:first-child,.neeto-editor-content table th:first-child{border-left:none}.neeto-editor table th,.neeto-editor-content table th{background:rgb(var(--neeto-ui-gray-100));border-top:none}.neeto-editor table td,.neeto-editor-content table td{background:rgb(var(--neeto-ui-white))}.neeto-editor-content--hidden{display:none}.neeto-editor__image-wrapper{color:inherit!important;display:flex;font-weight:400!important;margin:16px 0;padding-left:3px;text-decoration:none}.neeto-editor__image-wrapper figure{display:inline-block;max-width:100%;overflow:hidden;position:relative}.neeto-editor__image-wrapper .neeto-editor__image{border:2px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);display:inline-block;min-height:52px;padding:4px}.neeto-editor__image-wrapper .neeto-editor__image img,.neeto-editor__image-wrapper .neeto-editor__image video{display:inline-block;height:auto;width:100%}.neeto-editor__image-wrapper .neeto-editor__image img.hidden,.neeto-editor__image-wrapper .neeto-editor__image video.hidden{display:none}.neeto-editor__image-wrapper .neeto-editor__image img{cursor:zoom-in}.neeto-editor__image-wrapper .neeto-editor__image-placeholder{align-items:center;border:1px solid;border-radius:8px;display:flex;height:200px;justify-content:center;width:400px}.neeto-editor__image-wrapper figcaption div{color:rgb(var(--neeto-ui-gray-600));font-size:14px;font-weight:var(--neeto-ui-font-normal);line-height:1.4;text-align:center}.neeto-editor__image-wrapper figcaption div a{display:inline-block;margin:0;text-align:center}.neeto-editor__image-wrapper figcaption.is-empty div:before{color:rgb(var(--neeto-ui-gray-500));content:\"Add a caption\";inset:0;position:absolute}.neeto-editor figcaption,.neeto-editor-content figcaption{color:#6b7280;font-size:14px;font-weight:400;line-height:1.4;text-align:center}.neeto-editor__image--left{justify-content:flex-start}.neeto-editor__image--center{justify-content:center}.neeto-editor__image--right{justify-content:flex-end}.selected-text{background-color:rgb(var(--neeto-ui-gray-300));padding:2px 0}.ne-image-preview-wrapper{align-items:center;background:rgba(var(--neeto-ui-gray-800),.5);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:999999}.ne-image-preview-wrapper .ne-image-preview{background:rgb(var(--neeto-ui-white));display:flex;flex-direction:column;gap:10px;max-width:60vw;opacity:0;transition:opacity .1s ease-in-out}.ne-image-preview-wrapper .ne-image-preview.image-loaded{border-radius:10px;opacity:1;padding:10px}.ne-image-preview-wrapper .ne-image-preview__caption{color:rgb(var(--neeto-ui-gray-800));line-height:1.5}.ne-image-preview-wrapper .close-button{position:absolute;right:5px;top:5px}.ne-image-preview-wrapper .image-preview{max-height:70%;max-width:70%}.ne-image-preview-wrapper__spinner{position:absolute}.ne-image-preview-wrapper__spinner i{background-color:rgb(var(--neeto-ui-gray-300))}.neeto-editor{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-black));max-width:100%!important;padding:16px;white-space:pre-wrap}.neeto-editor:focus{outline:none}.neeto-editor a{pointer-events:none}.neeto-editor [data-variable]{color:rgb(var(--neeto-ui-gray-600));padding:4px 6px}.neeto-editor .ProseMirror-separator{display:none}.neeto-editor.fixed-menu-active{border:thin solid rgb(var(--neeto-ui-gray-400));border-top:none;border-top-left-radius:0;border-top-right-radius:0}.neeto-editor.attachments-active{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.neeto-editor .is-empty{position:relative}.neeto-editor.placeholder-active .is-editor-empty:first-child:before{color:#ced4da;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.neeto-editor hr{margin:8px 0}.neeto-editor .ProseMirror-selectednode{outline:3px solid rgb(var(--neeto-ui-pastel-blue))}.neeto-editor .has-focus{background:var(--focus-background-color);transition:background-color .2s ease}.neeto-editor [data-variable]{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:inline-flex;line-height:1;padding:4px}.neeto-editor-character-count{color:rgb(var(--neeto-ui-gray-600));font-size:12px;padding:4px;text-align:right}.neeto-editor-error{border-color:rgb(var(--neeto-ui-error-500));border-radius:var(--neeto-ui-rounded);border-width:1px;color:rgb(var(--neeto-ui-error-500))}.neeto-editor-error:focus-within{border-color:rgb(var(--neeto-ui-error-600))}.ne_variable-tag{border-radius:6px!important}.neeto-editor-mentions__wrapper{padding:4px 0}.neeto-editor-mentions__item{padding:8px 12px}@media screen and (max-width:767px){.ne-media-uploader-modal{width:95vw!important}}.ne-media-uploader{display:flex;flex-direction:column;min-height:184px;width:100%}.ne-media-uploader .neeto-ui-tab__wrapper{padding:0 16px}.ne-media-uploader .ne-tab__wrapper .ne-tab{min-width:88px}.ne-media-uploader .ne-media-uploader__content{display:flex;flex-grow:1;padding:16px}.ne-media-uploader .ne-media-uploader__dnd{align-items:center;border:1px dashed rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded);box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;gap:2px;justify-content:center;padding:16px;width:100%}.ne-media-uploader .ne-media-uploader__dnd:focus{outline:none}.ne-media-uploader .ne-media-uploader__dnd-icon{color:rgb(var(--neeto-ui-primary-600));margin-bottom:6px}.ne-media-uploader .ne-media-uploader__dnd-input{display:none}.ne-media-uploader .ne-media-uploader__dnd:hover{background-color:rgb(var(--neeto-ui-gray-100));cursor:pointer}.ne-media-uploader .ne-media-uploader__dnd.is-dragging-over-files{background-color:rgba(var(--neeto-ui-gray-300),.5);border:3px dashed rgb(var(--neeto-ui-gray-500));color:rgb(var(--neeto-ui-gray-600))}.ne-media-uploader .ne-media-uploader__wrapper{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media{align-self:start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);display:flex;flex-direction:column;gap:10px;justify-content:space-between;margin-bottom:auto;margin-top:auto;padding:4px 8px;position:relative;width:105px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__cancel-button-wrapper{position:absolute;right:4px;top:4px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info{align-items:flex-start;display:flex;flex-direction:column;gap:4px;justify-content:space-between;margin-top:4px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info__icon{margin-top:12px;width:45px}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__info p{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress{align-self:flex-end;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);overflow:hidden;width:100%}.ne-media-uploader .ne-media-uploader__wrapper .ne-media-uploader__media__progress-bar{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:rgb(var(--neeto-ui-primary-600));border-radius:var(--neeto-ui-rounded-sm);display:flex;height:4px;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper{width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container{max-height:50vh;overflow-x:hidden;overflow-y:auto}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-search{margin-bottom:16px;padding:0 8px}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery{right:-8px;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__loader{display:flex;justify-content:center}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item{float:left;padding-bottom:16px;padding-right:16px;width:33.3%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder{position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner{background-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-sm);height:100%;position:absolute;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img{animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1) 1s both;border-radius:var(--neeto-ui-rounded);cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;position:relative;width:100%}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a{bottom:8px;color:rgb(var(--neeto-ui-white));font-size:12px;font-weight:var(--neeto-ui-font-normal);left:8px;line-height:1;margin:auto;opacity:0;position:absolute;text-transform:capitalize;transition:var(--neeto-ui-transition)}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover{text-decoration:underline}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a{opacity:1}.ne-media-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text{color:rgb(var(--neeto-ui-gray-700));font-size:var(--neeto-ui-text-xs);margin-top:12px;text-align:center}.neeto-editor-url-form__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:center;padding:0 24px}.neeto-editor-url-form__wrapper .neeto-ui-input__wrapper{flex-grow:0;margin-bottom:16px;width:100%}@media screen and (max-width:767px){.ne-embed-modal-wrapper{width:95vw!important}}.image-preview-neeto-ui-modal{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:transparent!important;height:auto!important;margin:auto 0}.image-preview-neeto-ui-modal__close-btn{border-radius:100%;float:right;margin:10px 0}.image-preview-neeto-ui-modal img{border:10px solid rgb(var(--neeto-ui-gray-100));border-radius:10px;height:auto;max-height:90vh;opacity:1;transition:opacity 2s ease-in-out;width:100%}.image-preview-neeto-ui-modal .display-none{display:none}.image-preview-neeto-ui-modal .spinner-wrapper{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center}.image-preview-neeto-ui-modal .spinner-wrapper .spinner{--neeto-ui-spinner-size:32px}.neeto-editor-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols}.emoji-mart.emoji-mart-light{border:none;color:rgb(var(--neeto-ui-gray-800));font-size:14px}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor{color:rgb(var(--neeto-ui-gray-500))}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg{margin:auto}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar{background-color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected{color:rgb(var(--neeto-ui-gray-700))!important}.emoji-mart.emoji-mart-light .emoji-mart-search input{border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span{padding-top:8px}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span{cursor:pointer}.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover:before{background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm)}.emoji-mart.emoji-mart-light .emoji-mart-scroll{height:264px;padding-bottom:0}.neeto-editor-emoji-suggestion{align-items:center;display:flex;flex-direction:row;font-family:Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Noto Color Emoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;gap:2px;justify-content:flex-start;padding:4px}.neeto-editor-emoji-suggestion p{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-xs)}.neeto-editor-emoji-suggestion span{font-size:10px;height:16px!important;width:16px!important}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item{border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;font-size:var(--neeto-ui-text-2xl);line-height:1;padding:6px;transition:var(--neeto-ui-transition)}.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected,.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-table{display:relative;margin:8px 0 0;width:-moz-fit-content;width:fit-content}.neeto-editor-table table td p,.neeto-editor-table table th p{margin:0}.neeto-editor-table table .column-resize-handle{background-color:rgb(var(--neeto-ui-gray-300));bottom:0;position:absolute;right:-2px;top:0;width:4px}.neeto-editor-table table .selectedCell:after{background:rgba(var(--neeto-ui-primary-500),.1);content:\"\";inset:0;position:absolute}.neeto-editor-table__wrapper{display:flex;gap:2px}.neeto-editor-table__add-column,.neeto-editor-table__add-row{align-items:center;background:rgba(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);cursor:pointer;display:flex;justify-content:center;opacity:0;transition:var(--neeto-ui-transition);visibility:hidden}.neeto-editor-table__add-column p,.neeto-editor-table__add-row p{color:rgb(var(--neeto-ui-gray-500))!important;font-size:var(--neeto-ui-text-base)!important;font-weight:var(--neeto-ui-font-light)!important;line-height:16px!important}.neeto-editor-table__add-column:hover,.neeto-editor-table__add-row:hover{background:rgba(var(--neeto-ui-gray-300))}.neeto-editor-table:hover .neeto-editor-table__add-column,.neeto-editor-table:hover .neeto-editor-table__add-row{opacity:1;visibility:visible}.neeto-editor-table__add-row{margin:2px 20px 2px 0;padding:0 0 2px}.neeto-editor-table__add-column{flex-direction:column;padding:0 4px}.ProseMirror.resize-cursor{cursor:col-resize}.ne-link-popover{background-color:#fff;border:1px solid var(--neeto-ui-popover-light-theme-border-color);border-radius:5px;box-shadow:var(--neeto-ui-tooltip-light-theme-box-shadow);color:#333;padding:10px 16px;position:fixed;transition:opacity .3s ease,transform .3s ease,visibility 0s .3s;z-index:99999}.ne-link-popover__url-input{margin:8px 0}.ne-link-popover__checkbox{margin:16px 0}.ne-link-popover__option-button{margin:0 4px}.ne-link-popover__edit-prompt-buttons{display:flex;gap:8px;margin-top:8px}.ne-link-popover a{color:rgb(var(--neeto-ui-gray-800));float:left;font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-medium);margin-right:8px;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ne-link-arrow{border:6px solid transparent;border-top-color:rgba(0,0,0,.2);content:\"\";left:0;position:fixed;top:0;z-index:99999}.tiptap .collaboration-cursor__caret{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.tiptap .collaboration-cursor__label{border-radius:3px 3px 3px 0;color:#0d0d0d;font-size:12px;font-style:normal;font-weight:600;left:-1px;line-height:normal;padding:.1rem .3rem;position:absolute;top:-1.4em;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ProseMirror{height:100%;overflow-y:auto;white-space:break-spaces}.ProseMirror:focus{outline:none}";
230
+ injectCss.n(css,{});
231
231
 
232
232
  var CharacterCountWrapper = function CharacterCountWrapper(_ref) {
233
233
  var editor = _ref.editor,
@@ -3232,6 +3232,7 @@ const CollaborationCursor = Menu$3.Extension.create({
3232
3232
  */
3233
3233
  const TextStyle$2 = Menu$3.Mark.create({
3234
3234
  name: 'textStyle',
3235
+ priority: 101,
3235
3236
  addOptions() {
3236
3237
  return {
3237
3238
  HTMLAttributes: {},
@@ -3822,6 +3823,7 @@ const ListItem$2 = Menu$3.Node.create({
3822
3823
  */
3823
3824
  const TextStyle$1 = Menu$3.Mark.create({
3824
3825
  name: 'textStyle',
3826
+ priority: 101,
3825
3827
  addOptions() {
3826
3828
  return {
3827
3829
  HTMLAttributes: {},
@@ -5601,6 +5603,7 @@ const ListItem = Menu$3.Node.create({
5601
5603
  */
5602
5604
  const TextStyle = Menu$3.Mark.create({
5603
5605
  name: 'textStyle',
5606
+ priority: 101,
5604
5607
  addOptions() {
5605
5608
  return {
5606
5609
  HTMLAttributes: {},
@@ -5671,6 +5674,10 @@ const OrderedList = Menu$3.Node.create({
5671
5674
  : 1;
5672
5675
  },
5673
5676
  },
5677
+ type: {
5678
+ default: undefined,
5679
+ parseHTML: element => element.getAttribute('type'),
5680
+ },
5674
5681
  };
5675
5682
  },
5676
5683
  parseHTML() {
@@ -7520,7 +7527,7 @@ function expandOrCloneMode(mode) {
7520
7527
  return mode;
7521
7528
  }
7522
7529
 
7523
- var version = "11.9.0";
7530
+ var version = "11.10.0";
7524
7531
 
7525
7532
  class HTMLInjectionError extends Error {
7526
7533
  constructor(reason, html) {
@@ -8703,36 +8710,17 @@ const CodeBlockLowlight = CodeBlock$1.extend({
8703
8710
 
8704
8711
  var SORTED_LANGUAGE_LIST = [].concat(_toConsumableArray__default["default"](core$1.lowlight.listLanguages()), ["html"]).sort();
8705
8712
 
8706
- var handleCodeBlockVisibility = function handleCodeBlockVisibility(_ref) {
8707
- var entries = _ref.entries,
8708
- setIsVisible = _ref.setIsVisible;
8709
- entries.forEach(function (entry) {
8710
- if (entry.isIntersecting) {
8711
- setIsVisible(true);
8712
- entry.target.style.visibility = "visible";
8713
- } else {
8714
- setIsVisible(false);
8715
- entry.target.style.visibility = "hidden";
8716
- }
8717
- });
8718
- };
8719
-
8720
8713
  var Menu$2 = Dropdown__default["default"].Menu,
8721
8714
  MenuItem$1 = Dropdown__default["default"].MenuItem;
8722
8715
  var CodeBlockComponent = function CodeBlockComponent(_ref) {
8723
8716
  var _node$attrs, _node$content;
8724
8717
  var node = _ref.node,
8725
8718
  editor = _ref.editor,
8726
- updateAttributes = _ref.updateAttributes,
8727
- extension = _ref.extension;
8728
- var _useState = React.useState(true),
8719
+ updateAttributes = _ref.updateAttributes;
8720
+ var _useState = React.useState(""),
8729
8721
  _useState2 = _slicedToArray__default["default"](_useState, 2),
8730
- isVisible = _useState2[0],
8731
- setIsVisible = _useState2[1];
8732
- var _useState3 = React.useState(""),
8733
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
8734
- keyword = _useState4[0],
8735
- setKeyword = _useState4[1];
8722
+ keyword = _useState2[0],
8723
+ setKeyword = _useState2[1];
8736
8724
  var ref = React.useRef();
8737
8725
  var _useTranslation = reactI18next.useTranslation(),
8738
8726
  t = _useTranslation.t;
@@ -8747,27 +8735,6 @@ var CodeBlockComponent = function CodeBlockComponent(_ref) {
8747
8735
  setKeyword("");
8748
8736
  editor === null || editor === void 0 || (_editor$commands = editor.commands) === null || _editor$commands === void 0 || _editor$commands.focus();
8749
8737
  };
8750
- React.useEffect(function () {
8751
- var _extension$options;
8752
- var container = ref.current;
8753
- var shouldSetObserver = (_extension$options = extension.options) === null || _extension$options === void 0 ? void 0 : _extension$options.enableReactNodeViewOptimization;
8754
- if (!shouldSetObserver) return neetoCist.noop;
8755
- var observer = new IntersectionObserver(function (entries) {
8756
- handleCodeBlockVisibility({
8757
- entries: entries,
8758
- setIsVisible: setIsVisible
8759
- });
8760
- }, {
8761
- rootMargin: "-10% 0% -10% 0%",
8762
- root: document.getElementById("neeto-editor-wrapper")
8763
- });
8764
- if (container) setTimeout(function () {
8765
- return observer.observe(container);
8766
- }, 0);
8767
- return function () {
8768
- if (container && shouldSetObserver) observer.unobserve(container);
8769
- };
8770
- }, []);
8771
8738
  var handleContentMount = function handleContentMount(node) {
8772
8739
  if (ref.current && node !== null && node !== void 0 && node.offsetHeight) {
8773
8740
  ref.current.style.minHeight = "".concat(node.offsetHeight, "px");
@@ -8777,7 +8744,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref) {
8777
8744
  "data-cy": "neeto-editor-code-block",
8778
8745
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
8779
8746
  ref: ref,
8780
- children: isVisible && /*#__PURE__*/jsxRuntime.jsxs("pre", {
8747
+ children: /*#__PURE__*/jsxRuntime.jsxs("pre", {
8781
8748
  ref: handleContentMount,
8782
8749
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
8783
8750
  className: "neeto-editor-codeblock-options",
@@ -9965,9 +9932,9 @@ function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allow
9965
9932
  const started = !prev.active && next.active;
9966
9933
  const stopped = prev.active && !next.active;
9967
9934
  const changed = !started && !stopped && prev.query !== next.query;
9968
- const handleStart = started;
9935
+ const handleStart = started || (moved && changed);
9969
9936
  const handleChange = changed || moved;
9970
- const handleExit = stopped;
9937
+ const handleExit = stopped || (moved && changed);
9971
9938
  // Cancel when suggestion isn't active
9972
9939
  if (!handleStart && !handleChange && !handleExit) {
9973
9940
  return;
@@ -10694,210 +10661,6 @@ var ImageComponent = function ImageComponent(_ref) {
10694
10661
  });
10695
10662
  };
10696
10663
 
10697
- var css = ".neeto-editor-image__skeleton{height:100%;width:100%}.neeto-editor-image__skeleton .skeleton{background-color:rgb(var(--neeto-ui-gray-700));height:100%;width:100%}";
10698
- injectCss.n(css,{});
10699
-
10700
- var imageSkeletonContainer = document.createElement("div");
10701
- imageSkeletonContainer.classList.add("neeto-editor-image__skeleton");
10702
- var imageSkeleton = document.createElement("div");
10703
- imageSkeleton.classList.add("skeleton");
10704
- imageSkeletonContainer.appendChild(imageSkeleton);
10705
- var IMAGE_PLACEHOLDER = imageSkeletonContainer;
10706
-
10707
- var updateAttributes = function updateAttributes(attrs, editor, getPos) {
10708
- if (typeof getPos === "function") {
10709
- editor.chain().focus().setNodeSelection(getPos()).updateAttributes("image", attrs).run();
10710
- }
10711
- };
10712
- var deleteNode = function deleteNode(editor, getPos, node) {
10713
- if (typeof getPos === "function") {
10714
- editor.chain().focus().deleteRange({
10715
- from: getPos(),
10716
- to: getPos() + node.nodeSize
10717
- }).run();
10718
- }
10719
- };
10720
- var handleImageLoad = function handleImageLoad(_ref) {
10721
- var figwidth = _ref.figwidth,
10722
- image = _ref.image,
10723
- dom = _ref.dom;
10724
- var aspectRatio = image.height / image.width;
10725
- var height = parseInt(figwidth * aspectRatio);
10726
- dom.style.minWidth = "".concat(figwidth, "px");
10727
- dom.style.minHeight = "".concat(height, "px");
10728
- };
10729
- var fetchImage = function fetchImage(_ref2) {
10730
- var src = _ref2.src,
10731
- onImageLoad = _ref2.onImageLoad;
10732
- var image = new Image();
10733
- image.src = src;
10734
- image.onload = onImageLoad;
10735
- };
10736
- var createImageContainerDom = function createImageContainerDom(_ref3) {
10737
- var figwidth = _ref3.figwidth,
10738
- _ref3$figheight = _ref3.figheight,
10739
- figheight = _ref3$figheight === void 0 ? 100 : _ref3$figheight;
10740
- var dom = document.createElement("div");
10741
- dom.style.minWidth = "".concat(figwidth, "px");
10742
- dom.style.minHeight = "".concat(figheight, "px");
10743
- dom.classList.add("image-component-node-view");
10744
- return dom;
10745
- };
10746
- var appendImageContainerToDom = function appendImageContainerToDom(_ref4) {
10747
- var dom = _ref4.dom,
10748
- reactRenderer = _ref4.reactRenderer;
10749
- dom.innerHTML = "";
10750
- dom.appendChild(reactRenderer.element);
10751
- };
10752
- var destroyReactComponent = function destroyReactComponent(_ref5) {
10753
- var reactRenderer = _ref5.reactRenderer,
10754
- dom = _ref5.dom;
10755
- if (!reactRenderer) return;
10756
- reactRenderer.destroy();
10757
- dom.appendChild(IMAGE_PLACEHOLDER);
10758
- };
10759
-
10760
- var LazyLoadImage = /*#__PURE__*/function () {
10761
- function LazyLoadImage(_ref) {
10762
- var editor = _ref.editor,
10763
- node = _ref.node,
10764
- getPos = _ref.getPos,
10765
- extension = _ref.extension;
10766
- _classCallCheck__default["default"](this, LazyLoadImage);
10767
- this.editor = editor;
10768
- this.node = node;
10769
- this.getPos = getPos;
10770
- this.extension = extension;
10771
- this.reactRenderer = null;
10772
- this.observer = null;
10773
- this.dom = this.createDom();
10774
- this.setupObserver();
10775
- this.setupImage();
10776
- }
10777
- return _createClass__default["default"](LazyLoadImage, [{
10778
- key: "createDom",
10779
- value: function createDom() {
10780
- var _this$node$attrs = this.node.attrs,
10781
- figwidth = _this$node$attrs.figwidth,
10782
- figheight = _this$node$attrs.figheight;
10783
- return createImageContainerDom({
10784
- figwidth: figwidth,
10785
- figheight: figheight
10786
- });
10787
- }
10788
- }, {
10789
- key: "setupImage",
10790
- value: function setupImage() {
10791
- var _this = this;
10792
- var _this$node$attrs2 = this.node.attrs,
10793
- src = _this$node$attrs2.src,
10794
- figwidth = _this$node$attrs2.figwidth;
10795
- var onImageLoad = function onImageLoad(_ref2) {
10796
- var image = _ref2.target;
10797
- handleImageLoad({
10798
- figwidth: figwidth,
10799
- image: image,
10800
- dom: _this.dom
10801
- });
10802
- };
10803
- fetchImage({
10804
- src: src,
10805
- onImageLoad: onImageLoad
10806
- });
10807
- }
10808
- }, {
10809
- key: "setupObserver",
10810
- value: function setupObserver() {
10811
- var _this2 = this;
10812
- this.observer = new IntersectionObserver(function (entries) {
10813
- entries.forEach(_this2.handleIntersection.bind(_this2));
10814
- }, {
10815
- rootMargin: "10% 0% 10% 0%",
10816
- root: document.getElementById("neeto-editor-wrapper")
10817
- });
10818
- this.observer.observe(this.dom);
10819
- }
10820
- }, {
10821
- key: "handleIntersection",
10822
- value: function handleIntersection(entry) {
10823
- if (entry.isIntersecting) {
10824
- this.insertImageComponent(entry);
10825
- } else {
10826
- this.removeImageComponent(entry);
10827
- }
10828
- }
10829
- }, {
10830
- key: "insertImageComponent",
10831
- value: function insertImageComponent(entry) {
10832
- this.renderReactComponent();
10833
- entry.target.style.visibility = "visible";
10834
- }
10835
- }, {
10836
- key: "removeImageComponent",
10837
- value: function removeImageComponent(entry) {
10838
- this.destroyReactComponent();
10839
- entry.target.style.visibility = "hidden";
10840
- }
10841
- }, {
10842
- key: "renderReactComponent",
10843
- value: function renderReactComponent() {
10844
- var _this3 = this;
10845
- if (this.reactRenderer) return;
10846
- this.reactRenderer = new Menu$3.ReactRenderer(ImageComponent, {
10847
- editor: this.editor,
10848
- node: this.node,
10849
- extension: this.extension,
10850
- props: {
10851
- node: this.node,
10852
- editor: this.editor,
10853
- getPos: this.getPos,
10854
- updateAttributes: function updateAttributes$1(attrs) {
10855
- return updateAttributes(attrs, _this3.editor, _this3.getPos);
10856
- },
10857
- deleteNode: function deleteNode$1() {
10858
- return deleteNode(_this3.editor, _this3.getPos, _this3.node);
10859
- }
10860
- }
10861
- });
10862
- appendImageContainerToDom({
10863
- dom: this.dom,
10864
- reactRenderer: this.reactRenderer
10865
- });
10866
- }
10867
- }, {
10868
- key: "destroyReactComponent",
10869
- value: function destroyReactComponent$1() {
10870
- destroyReactComponent({
10871
- reactRenderer: this.reactRenderer,
10872
- dom: this.dom
10873
- });
10874
- this.reactRenderer = null;
10875
- }
10876
- }, {
10877
- key: "update",
10878
- value: function update(updatedNode) {
10879
- var _this4 = this;
10880
- if (this.reactRenderer) {
10881
- this.reactRenderer.updateProps({
10882
- node: updatedNode.toJSON(),
10883
- updateAttributes: function updateAttributes$1(attrs) {
10884
- return updateAttributes(attrs, _this4.editor, _this4.getPos);
10885
- }
10886
- });
10887
- }
10888
- return true;
10889
- }
10890
- }, {
10891
- key: "destroy",
10892
- value: function destroy() {
10893
- if (this.observer) {
10894
- this.observer.disconnect();
10895
- }
10896
- this.destroyReactComponent();
10897
- }
10898
- }]);
10899
- }();
10900
-
10901
10664
  var _excluded$4 = ["caption"];
10902
10665
  var upload = /*#__PURE__*/function () {
10903
10666
  var _ref = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(file, url) {
@@ -11025,37 +10788,18 @@ var ImageExtension = Menu$3.Node.create({
11025
10788
  })]], ["figcaption", captionAttrs, 0]]];
11026
10789
  },
11027
10790
  addNodeView: function addNodeView() {
11028
- var _this = this;
11029
- if (this.options.enableReactNodeViewOptimization) {
11030
- return function (_ref3) {
11031
- var editor = _ref3.editor,
11032
- node = _ref3.node,
11033
- getPos = _ref3.getPos;
11034
- var view = new LazyLoadImage({
11035
- editor: editor,
11036
- node: node,
11037
- getPos: getPos,
11038
- extension: _this
11039
- });
11040
- return {
11041
- dom: view.dom,
11042
- update: view.update.bind(view),
11043
- destroy: view.destroy.bind(view)
11044
- };
11045
- };
11046
- }
11047
10791
  return Menu$3.ReactNodeViewRenderer(ImageComponent);
11048
10792
  },
11049
10793
  addCommands: function addCommands() {
11050
- var _this2 = this;
10794
+ var _this = this;
11051
10795
  return {
11052
- setFigure: function setFigure(_ref4) {
11053
- var caption = _ref4.caption,
11054
- attrs = _objectWithoutProperties__default["default"](_ref4, _excluded$4);
11055
- return function (_ref5) {
11056
- var chain = _ref5.chain;
10796
+ setFigure: function setFigure(_ref3) {
10797
+ var caption = _ref3.caption,
10798
+ attrs = _objectWithoutProperties__default["default"](_ref3, _excluded$4);
10799
+ return function (_ref4) {
10800
+ var chain = _ref4.chain;
11057
10801
  return chain().insertContent({
11058
- type: _this2.name,
10802
+ type: _this.name,
11059
10803
  attrs: attrs,
11060
10804
  content: caption ? [{
11061
10805
  type: "text",
@@ -11067,12 +10811,12 @@ var ImageExtension = Menu$3.Node.create({
11067
10811
  };
11068
10812
  },
11069
10813
  addKeyboardShortcuts: function addKeyboardShortcuts() {
11070
- var _this3 = this;
10814
+ var _this2 = this;
11071
10815
  return {
11072
10816
  Enter: function Enter() {
11073
- var head = _this3.editor.state.selection.$head;
10817
+ var head = _this2.editor.state.selection.$head;
11074
10818
  if (head.node().type.name === "image") {
11075
- _this3.editor.chain().insertContentAt(head.after(), {
10819
+ _this2.editor.chain().insertContentAt(head.after(), {
11076
10820
  type: "paragraph",
11077
10821
  content: ""
11078
10822
  }).focus().run();
@@ -11101,7 +10845,7 @@ var ImageExtension = Menu$3.Node.create({
11101
10845
  if (ramda.isEmpty(images)) return;
11102
10846
  event.preventDefault();
11103
10847
  images.forEach( /*#__PURE__*/function () {
11104
- var _ref6 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(image) {
10848
+ var _ref5 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(image) {
11105
10849
  var id, node, transaction, url;
11106
10850
  return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
11107
10851
  while (1) switch (_context2.prev = _context2.next) {
@@ -11137,7 +10881,7 @@ var ImageExtension = Menu$3.Node.create({
11137
10881
  }, _callee2, null, [[4, 11]]);
11138
10882
  }));
11139
10883
  return function (_x3) {
11140
- return _ref6.apply(this, arguments);
10884
+ return _ref5.apply(this, arguments);
11141
10885
  };
11142
10886
  }());
11143
10887
  }
@@ -13159,10 +12903,20 @@ function pasteHandler(options) {
13159
12903
  }
13160
12904
  // From DOMPurify
13161
12905
  // https://github.com/cure53/DOMPurify/blob/main/src/regexp.js
13162
- const ATTR_WHITESPACE = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g; // eslint-disable-line no-control-regex
13163
- const IS_ALLOWED_URI = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i; // eslint-disable-line no-useless-escape
13164
- function isAllowedUri(uri) {
13165
- return !uri || uri.replace(ATTR_WHITESPACE, '').match(IS_ALLOWED_URI);
12906
+ // eslint-disable-next-line no-control-regex
12907
+ const ATTR_WHITESPACE = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
12908
+ function isAllowedUri(uri, protocols) {
12909
+ const allowedProtocols = ['http', 'https', 'ftp', 'ftps', 'mailto', 'tel', 'callto', 'sms', 'cid', 'xmpp'];
12910
+ if (protocols) {
12911
+ protocols.forEach(protocol => {
12912
+ const nextProtocol = (typeof protocol === 'string' ? protocol : protocol.scheme);
12913
+ if (nextProtocol) {
12914
+ allowedProtocols.push(nextProtocol);
12915
+ }
12916
+ });
12917
+ }
12918
+ // eslint-disable-next-line no-useless-escape
12919
+ return !uri || uri.replace(ATTR_WHITESPACE, '').match(new RegExp(`^(?:(?:${allowedProtocols.join('|')}):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))`, 'i'));
13166
12920
  }
13167
12921
  /**
13168
12922
  * This extension allows you to create links.
@@ -13207,6 +12961,9 @@ const Link$1 = Menu$3.Mark.create({
13207
12961
  return {
13208
12962
  href: {
13209
12963
  default: null,
12964
+ parseHTML(element) {
12965
+ return element.getAttribute('href');
12966
+ },
13210
12967
  },
13211
12968
  target: {
13212
12969
  default: this.options.HTMLAttributes.target,
@@ -13225,16 +12982,16 @@ const Link$1 = Menu$3.Mark.create({
13225
12982
  getAttrs: dom => {
13226
12983
  const href = dom.getAttribute('href');
13227
12984
  // prevent XSS attacks
13228
- if (!href || !isAllowedUri(href)) {
12985
+ if (!href || !isAllowedUri(href, this.options.protocols)) {
13229
12986
  return false;
13230
12987
  }
13231
- return { href };
12988
+ return null;
13232
12989
  },
13233
12990
  }];
13234
12991
  },
13235
12992
  renderHTML({ HTMLAttributes }) {
13236
12993
  // prevent XSS attacks
13237
- if (!isAllowedUri(HTMLAttributes.href)) {
12994
+ if (!isAllowedUri(HTMLAttributes.href, this.options.protocols)) {
13238
12995
  // strip out the href
13239
12996
  return ['a', Menu$3.mergeAttributes(this.options.HTMLAttributes, { ...HTMLAttributes, href: '' }), 0];
13240
12997
  }