@ones-editor/editor 2.9.8-beta.49 → 2.9.8-beta.50
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/@ones-editor/file/src/file-embed/card/index.d.ts +6 -2
- package/@ones-editor/file/src/index.d.ts +2 -1
- package/@ones-editor/file/src/locale/en-us.d.ts +2 -0
- package/@ones-editor/file/src/locale/ja-jp.d.ts +2 -0
- package/@ones-editor/file/src/locale/zh-cn.d.ts +2 -0
- package/@ones-editor/file/src/locale/zh-hant-hk.d.ts +2 -0
- package/@ones-editor/file/src/types.d.ts +1 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui-base/src/icons/index.d.ts +2 -1
- package/dist/index.js +124 -17
- package/package.json +1 -1
|
@@ -129,4 +129,5 @@ import AdjustWidthIcon from './adjust-width.svg?raw';
|
|
|
129
129
|
import TocIcon from './toc.svg?raw';
|
|
130
130
|
import AttachmentIcon from './attachment.svg?raw';
|
|
131
131
|
import Mention2Icon from './mention.svg?raw';
|
|
132
|
-
|
|
132
|
+
import CircleCloseIcon from './circle-close.svg?raw';
|
|
133
|
+
export { TableEditIcon, TabIcon, ShiftTabIcon, DownloadIcon, AddEmojiIcon, BallIcon, CardIcon, FoodIcon, LightIcon, SmileIcon, SymbolIcon, TreeIcon, TimeIcon, ClearIcon, CloseIcon, PrevIcon, NextIcon, MoreIcon, TextColorIcon, AddIcon, ArrowDownIcon, ArrowUpIcon, ArrowLeftIcon, ArrowRightIcon, DeleteRowIcon, DeleteColIcon, MergeCellIcon, SplitCellIcon, DeleteTableIcon, Heading1Icon, Heading2Icon, Heading3Icon, Heading4Icon, Heading5Icon, Heading6Icon, Heading7Icon, Heading8Icon, HeadingNIcon, OrderedListIcon, UnorderedListIcon, CheckListIcon, BlockquoteIcon, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, ImageIcon, ImageMenuIcon, ImageErrorIcon, ImageEmptyIcon, LinkIcon, LinkOffIcon, WarningIcon, PasteSpecialIcon, LaunchIcon, CodeIcon, LayoutIcon, AudioIcon, GraphIcon, VideoIcon, FileIcon, MathIcon, MathMenuIcon, TableIcon, TableMenuIcon, BilibiliIcon, YoukuIcon, ModaoIcon, FigmaIcon, EditIcon, CommentIcon, RefreshIcon, HelpIcon, CheckMarkIcon, CircleCheckMarkIcon, TextIcon, RightArrowIcon, TencentVideoIcon, WebPageIcon, UmlIcon, DividingLineIcon, HeadingH1Icon, HeadingH2Icon, HeadingH3Icon, HeadingH4Icon, HeadingH5Icon, HeadingH6Icon, HeadingH7Icon, HeadingH8Icon, CheckboxIcon, QuoteIcon, LinkHrefIcon, OrderedIcon, UnorderedIcon, CopyIcon, CutIcon, DeleteIcon, LockBlockIcon, UnLockBlockIcon, InsertBeforeIcon, InsertAfterIcon, MentionIcon, CircleAddIcon, LoadingIcon, DragIcon, UmlBrandIcon, OnesLoadingIcon, BoldIcon, ItalicIcon, UnderlineIcon, LineThroughIcon, SubscriptIcon, SuperscriptIcon, InlineCodeIcon, ToMindMapIcon, FitIcon, FullScreenIcon, ExitFullScreenIcon, CaretDownIcon, StatusIcon, AlertEmojiIcon, ForbiddenIcon, WarningFilledIcon, InformationFilledIcon, SearchIcon, CalloutIcon, LoadingCircleIcon, TextGroupIcon, AdjustWidthIcon, TocIcon, AttachmentIcon, Mention2Icon, CircleCloseIcon, };
|
package/dist/index.js
CHANGED
|
@@ -5596,6 +5596,24 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-type
|
|
|
5596
5596
|
}div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] {
|
|
5597
5597
|
justify-content: start;
|
|
5598
5598
|
}
|
|
5599
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .file-actions, div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].uploading [data-type=block-content] .card-root .file-actions {
|
|
5600
|
+
display: none !important;
|
|
5601
|
+
}
|
|
5602
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .upload-progress, div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].uploading [data-type=block-content] .card-root .upload-progress {
|
|
5603
|
+
display: flex !important;
|
|
5604
|
+
}
|
|
5605
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .upload-progress .upload-failed {
|
|
5606
|
+
display: block;
|
|
5607
|
+
}
|
|
5608
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .upload-progress [data-button-id=upload-retry] {
|
|
5609
|
+
cursor: pointer;
|
|
5610
|
+
text-decoration: underline;
|
|
5611
|
+
display: block;
|
|
5612
|
+
}
|
|
5613
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .upload-progress .size,
|
|
5614
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].upload-error [data-type=block-content] .card-root .upload-progress .progress-bar {
|
|
5615
|
+
display: none;
|
|
5616
|
+
}
|
|
5599
5617
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].hover [data-type=block-content] {
|
|
5600
5618
|
border-radius: 6px;
|
|
5601
5619
|
}
|
|
@@ -5707,6 +5725,52 @@ div.editor-root div.editor-content div[data-type=editor-container] div.embed-blo
|
|
|
5707
5725
|
opacity: 0.5;
|
|
5708
5726
|
color: #2D2D2E;
|
|
5709
5727
|
}
|
|
5728
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress {
|
|
5729
|
+
display: none;
|
|
5730
|
+
font-size: 14px;
|
|
5731
|
+
align-items: center;
|
|
5732
|
+
height: 100%;
|
|
5733
|
+
gap: 5px;
|
|
5734
|
+
}
|
|
5735
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress .upload-failed {
|
|
5736
|
+
color: #2D2D2E;
|
|
5737
|
+
opacity: 0.5;
|
|
5738
|
+
display: none;
|
|
5739
|
+
}
|
|
5740
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress [data-button-id=upload-retry] {
|
|
5741
|
+
color: #0064FF;
|
|
5742
|
+
display: none;
|
|
5743
|
+
text-decoration: none !important;
|
|
5744
|
+
}
|
|
5745
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress .size {
|
|
5746
|
+
white-space: nowrap;
|
|
5747
|
+
color: #2D2D2E;
|
|
5748
|
+
}
|
|
5749
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress .progress-bar {
|
|
5750
|
+
width: 100px;
|
|
5751
|
+
background: #DFE1E5;
|
|
5752
|
+
height: 6px;
|
|
5753
|
+
border-radius: 3px;
|
|
5754
|
+
}
|
|
5755
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress .progress-bar::after {
|
|
5756
|
+
content: "";
|
|
5757
|
+
display: block;
|
|
5758
|
+
height: 100%;
|
|
5759
|
+
background: #0064FF;
|
|
5760
|
+
border-radius: 3px;
|
|
5761
|
+
transition: width 0.3s ease;
|
|
5762
|
+
width: var(--progress, 0%);
|
|
5763
|
+
}
|
|
5764
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .upload-progress .cancel {
|
|
5765
|
+
background: none;
|
|
5766
|
+
border: none;
|
|
5767
|
+
cursor: pointer;
|
|
5768
|
+
display: flex;
|
|
5769
|
+
align-items: center;
|
|
5770
|
+
justify-content: center;
|
|
5771
|
+
padding: 0;
|
|
5772
|
+
color: #87888A;
|
|
5773
|
+
}
|
|
5710
5774
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-icon {
|
|
5711
5775
|
display: flex;
|
|
5712
5776
|
flex-direction: row;
|
|
@@ -41202,6 +41266,7 @@ ${codeText}
|
|
|
41202
41266
|
const TocIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2 3.5L14 3.5" stroke="#2D2D2E"/>\n<path d="M2 6.50397H10" stroke="#2D2D2E"/>\n<path d="M2 12.5L14 12.5" stroke="#2D2D2E"/>\n<path d="M6 9.5H14" stroke="#2D2D2E"/>\n</svg>\n';
|
|
41203
41267
|
const AttachmentIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6.49669 1C4.80282 1 3.0118 2.3515 3.0118 3.76237L3 10.6206M6.49669 1C8.41943 1 10.0154 2.60058 10.0154 4.17342M6.49669 1C7.43289 1 8.28684 1.42118 8.90405 1.96796C9.50746 2.50252 10.0154 3.29036 10.0154 4.17342M10.0154 4.17342L10.0154 9.61446C10.0154 10.4166 9.23033 11.2316 8 11.2316C6.91283 11.2316 6.01026 10.5735 6.01026 9.87981L5.98457 5.04102M3 10.6206C3 13.1126 5.38055 15 8 15M3 10.6206C3 12.9301 5.13252 15 8 15M8 15C10.6194 15 13 13.1988 13 10.7068M8 15C10.8675 15 13 13.0162 13 10.7068M13 10.7068V5.04102" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>\n<path d="M13 4V10C13 12.7614 10.7614 15 8 15C5.23858 15 3 12.7614 3 10V4.5" stroke="currentColor"/>\n<path d="M10 9V4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5" stroke="currentColor"/>\n<path d="M10 9C10 10.1046 9.10457 11 8 11C6.89543 11 6 10.1046 6 9V4" stroke="currentColor"/>\n</svg>\n';
|
|
41204
41268
|
const Mention2Icon = '<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M11.237 13.6469C10.2882 14.1888 9.18962 14.4985 8.01868 14.4985C4.42977 14.4985 1.52039 11.5892 1.52039 8.00024C1.52039 4.41134 4.42977 1.50195 8.01868 1.50195C11.6076 1.50195 14.517 4.41134 14.517 8.00024C14.517 8.70345 14.4221 9.21723 14.2284 9.56578C13.9961 10.0692 13.4926 10.7276 12.66 10.8438C12.3454 10.9008 12.0336 10.7797 11.7805 10.6233C11.3724 10.3711 11.2127 9.88274 11.2127 9.40298V4.48055" stroke="currentColor"/>\n<path d="M7.67957 4.73828C9.37526 4.73835 10.6913 6.20213 10.6913 7.93262C10.6913 9.6631 9.37526 11.1269 7.67957 11.127C5.98381 11.127 4.66785 9.66315 4.66785 7.93262C4.66785 6.20209 5.98381 4.73828 7.67957 4.73828Z" stroke="currentColor"/>\n</svg>\n';
|
|
41269
|
+
const CircleCloseIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M8 1C11.8659 1 15 4.13408 15 8C15 11.8659 11.8659 15 8 15C4.13408 15 1 11.8659 1 8C1 4.13408 4.13408 1 8 1ZM8 7.29297L5.52539 4.81836L4.81836 5.52539L7.29297 8L4.81836 10.4746L5.52539 11.1816L8 8.70703L10.4746 11.1816L11.1816 10.4746L8.70703 8L11.1816 5.52539L10.4746 4.81836L8 7.29297Z" fill="currentColor"/>\n</svg>\n';
|
|
41205
41270
|
const index$f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41206
41271
|
__proto__: null,
|
|
41207
41272
|
TableEditIcon,
|
|
@@ -41334,7 +41399,8 @@ ${codeText}
|
|
|
41334
41399
|
AdjustWidthIcon,
|
|
41335
41400
|
TocIcon,
|
|
41336
41401
|
AttachmentIcon,
|
|
41337
|
-
Mention2Icon
|
|
41402
|
+
Mention2Icon,
|
|
41403
|
+
CircleCloseIcon
|
|
41338
41404
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41339
41405
|
function createLoading() {
|
|
41340
41406
|
const loading2 = createElement("span", ["editor-loading-icon"], null);
|
|
@@ -80784,7 +80850,7 @@ ${docStr}
|
|
|
80784
80850
|
}
|
|
80785
80851
|
return UnknownFileIcon;
|
|
80786
80852
|
}
|
|
80787
|
-
|
|
80853
|
+
function renderFileCard(editor, content, data2) {
|
|
80788
80854
|
var _a, _b, _c, _d;
|
|
80789
80855
|
const { fileName, fileType, fileSize, created, creator, src } = data2;
|
|
80790
80856
|
const card = createElement("div", ["card-root"], content);
|
|
@@ -80793,12 +80859,13 @@ ${docStr}
|
|
|
80793
80859
|
if (!renderFileCardIcon) {
|
|
80794
80860
|
icon.innerHTML = getFileIcon(fileName, fileType);
|
|
80795
80861
|
} else {
|
|
80796
|
-
|
|
80797
|
-
|
|
80798
|
-
|
|
80799
|
-
|
|
80800
|
-
|
|
80801
|
-
|
|
80862
|
+
icon.innerHTML = getFileIcon(fileName, fileType);
|
|
80863
|
+
renderFileCardIcon(editor, data2).then((fileCardIcon) => {
|
|
80864
|
+
if (fileCardIcon) {
|
|
80865
|
+
icon.innerHTML = "";
|
|
80866
|
+
icon.append(fileCardIcon);
|
|
80867
|
+
}
|
|
80868
|
+
});
|
|
80802
80869
|
}
|
|
80803
80870
|
const detail = createElement("div", ["file-details"], card);
|
|
80804
80871
|
const suffix = getFileExt(fileName);
|
|
@@ -80835,7 +80902,13 @@ ${docStr}
|
|
|
80835
80902
|
downloadButton.innerHTML = DownloadIcon;
|
|
80836
80903
|
createElement("span", [], downloadButton, i18n$1.t("file.commands.download"));
|
|
80837
80904
|
}
|
|
80838
|
-
|
|
80905
|
+
const progress = createElement("div", ["upload-progress"], card);
|
|
80906
|
+
createElement("div", ["upload-failed"], progress, i18n$1.t("file.uploadFailed"));
|
|
80907
|
+
const retryUpload = createTextButton(progress, "upload-retry", i18n$1.t("file.retryUpload"));
|
|
80908
|
+
createElement("div", ["size"], progress, sizeText);
|
|
80909
|
+
createElement("div", ["progress-bar"], progress);
|
|
80910
|
+
const cancel = createIconButton(CircleCloseIcon, ["cancel"], progress);
|
|
80911
|
+
return { card, downloadButton, copilotButton, cancel, retryUpload };
|
|
80839
80912
|
}
|
|
80840
80913
|
const fileCardStyle = "";
|
|
80841
80914
|
function downloadFile(editor, block) {
|
|
@@ -80851,10 +80924,10 @@ ${docStr}
|
|
|
80851
80924
|
});
|
|
80852
80925
|
requestDownload(url, fileData.fileName);
|
|
80853
80926
|
}
|
|
80854
|
-
|
|
80927
|
+
function createEmbedContent$7(editor, content, blockData) {
|
|
80855
80928
|
const { embedData } = blockData;
|
|
80856
80929
|
const fileData = embedData;
|
|
80857
|
-
const { card, downloadButton, copilotButton } =
|
|
80930
|
+
const { card, downloadButton, copilotButton, cancel, retryUpload } = renderFileCard(editor, content, fileData);
|
|
80858
80931
|
if (downloadButton) {
|
|
80859
80932
|
editor.domEvents.addEventListener(downloadButton, "click", (editor2, event) => {
|
|
80860
80933
|
if (!event.target) {
|
|
@@ -80882,6 +80955,26 @@ ${docStr}
|
|
|
80882
80955
|
}
|
|
80883
80956
|
});
|
|
80884
80957
|
}
|
|
80958
|
+
if (cancel) {
|
|
80959
|
+
editor.domEvents.addEventListener(cancel, "click", (editor2, event) => {
|
|
80960
|
+
const block = getParentBlock(event.target);
|
|
80961
|
+
if (!block) {
|
|
80962
|
+
return;
|
|
80963
|
+
}
|
|
80964
|
+
editor2.deleteBlock(block);
|
|
80965
|
+
});
|
|
80966
|
+
}
|
|
80967
|
+
if (retryUpload) {
|
|
80968
|
+
editor.domEvents.addEventListener(retryUpload, "click", (editor2, event) => {
|
|
80969
|
+
var _a;
|
|
80970
|
+
const block = getParentBlock(event.target);
|
|
80971
|
+
if (!block) {
|
|
80972
|
+
return;
|
|
80973
|
+
}
|
|
80974
|
+
const options = editor2.options.componentsOptions.file;
|
|
80975
|
+
(_a = options == null ? void 0 : options.retryUpload) == null ? void 0 : _a.call(options, editor2, block);
|
|
80976
|
+
});
|
|
80977
|
+
}
|
|
80885
80978
|
editor.domEvents.addEventListener(card, "click", (editor2, event) => {
|
|
80886
80979
|
if (!event.target) {
|
|
80887
80980
|
return;
|
|
@@ -80983,6 +81076,11 @@ ${docStr}
|
|
|
80983
81076
|
const blockData = editor.getBlockData(block);
|
|
80984
81077
|
const { embedData } = blockData;
|
|
80985
81078
|
const fileData = embedData;
|
|
81079
|
+
if (hasClass(block, "upload-error") || hasClass(block, "uploading")) {
|
|
81080
|
+
return {
|
|
81081
|
+
abstract: fileData.fileName
|
|
81082
|
+
};
|
|
81083
|
+
}
|
|
80986
81084
|
return {
|
|
80987
81085
|
blockCommands: {
|
|
80988
81086
|
"hovering-toolbar": new FileEmbedCommands(editor)
|
|
@@ -81056,7 +81154,9 @@ ${docStr}
|
|
|
81056
81154
|
preview: "\u9884\u89C8"
|
|
81057
81155
|
},
|
|
81058
81156
|
uploadedTime: "\u4E0A\u4F20\u4E8E { time }",
|
|
81059
|
-
askAi: "\u8BE2\u95EE Copilot"
|
|
81157
|
+
askAi: "\u8BE2\u95EE Copilot",
|
|
81158
|
+
uploadFailed: "\u4E0A\u4F20\u5931\u8D25",
|
|
81159
|
+
retryUpload: "\u91CD\u65B0\u4E0A\u4F20"
|
|
81060
81160
|
}
|
|
81061
81161
|
};
|
|
81062
81162
|
const zhHK$g = {
|
|
@@ -81070,7 +81170,9 @@ ${docStr}
|
|
|
81070
81170
|
preview: "\u9810\u89BD"
|
|
81071
81171
|
},
|
|
81072
81172
|
uploadedTime: "\u4E0A\u50B3\u65BC { time }",
|
|
81073
|
-
askAi: "\u8A62\u554F Copilot"
|
|
81173
|
+
askAi: "\u8A62\u554F Copilot",
|
|
81174
|
+
uploadFailed: "\u4E0A\u50B3\u5931\u6557",
|
|
81175
|
+
retryUpload: "\u91CD\u65B0\u4E0A\u50B3"
|
|
81074
81176
|
}
|
|
81075
81177
|
};
|
|
81076
81178
|
const enUS$g = {
|
|
@@ -81084,7 +81186,9 @@ ${docStr}
|
|
|
81084
81186
|
preview: "Preview"
|
|
81085
81187
|
},
|
|
81086
81188
|
uploadedTime: "uploaded at { time }",
|
|
81087
|
-
askAi: "Ask Copilot"
|
|
81189
|
+
askAi: "Ask Copilot",
|
|
81190
|
+
uploadFailed: "Upload Failed",
|
|
81191
|
+
retryUpload: "Retry Upload"
|
|
81088
81192
|
}
|
|
81089
81193
|
};
|
|
81090
81194
|
const jaJP$g = {
|
|
@@ -81098,7 +81202,9 @@ ${docStr}
|
|
|
81098
81202
|
preview: "\u30D7\u30EC\u30D3\u30E5\u30FC"
|
|
81099
81203
|
},
|
|
81100
81204
|
uploadedTime: "\u304C {time} \u306B\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F",
|
|
81101
|
-
askAi: "Copilot \u306B\u805E\u304F"
|
|
81205
|
+
askAi: "Copilot \u306B\u805E\u304F",
|
|
81206
|
+
uploadFailed: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
81207
|
+
retryUpload: "\u518D\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9"
|
|
81102
81208
|
}
|
|
81103
81209
|
};
|
|
81104
81210
|
i18n$1.mergeLang({
|
|
@@ -95655,7 +95761,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95655
95761
|
}
|
|
95656
95762
|
}
|
|
95657
95763
|
});
|
|
95658
|
-
editor.version = "2.9.8-beta.
|
|
95764
|
+
editor.version = "2.9.8-beta.50";
|
|
95659
95765
|
return editor;
|
|
95660
95766
|
}
|
|
95661
95767
|
function isDoc(doc2) {
|
|
@@ -95788,7 +95894,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95788
95894
|
OnesEditorDropTarget.register(editor);
|
|
95789
95895
|
OnesEditorTocProvider.register(editor);
|
|
95790
95896
|
OnesEditorExclusiveBlock.register(editor);
|
|
95791
|
-
editor.version = "2.9.8-beta.
|
|
95897
|
+
editor.version = "2.9.8-beta.50";
|
|
95792
95898
|
return editor;
|
|
95793
95899
|
}
|
|
95794
95900
|
async function showDocVersions(editor, options, serverUrl) {
|
|
@@ -141614,6 +141720,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
141614
141720
|
exports2.CheckboxIcon = CheckboxIcon;
|
|
141615
141721
|
exports2.CircleAddIcon = CircleAddIcon;
|
|
141616
141722
|
exports2.CircleCheckMarkIcon = CircleCheckMarkIcon;
|
|
141723
|
+
exports2.CircleCloseIcon = CircleCloseIcon;
|
|
141617
141724
|
exports2.ClearIcon = ClearIcon;
|
|
141618
141725
|
exports2.ClipboardProvider = ClipboardProvider;
|
|
141619
141726
|
exports2.CloseIcon = CloseIcon;
|