@ones-editor/editor 2.2.16 → 2.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -5845,7 +5845,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5845
5845
|
}
|
|
5846
5846
|
.version-dialog .version-loading {
|
|
5847
5847
|
display: flex;
|
|
5848
|
-
|
|
5848
|
+
height: 100%;
|
|
5849
5849
|
align-items: center;
|
|
5850
5850
|
justify-content: center;
|
|
5851
5851
|
overflow: hidden;
|
|
@@ -5876,6 +5876,7 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5876
5876
|
min-width: 0;
|
|
5877
5877
|
}
|
|
5878
5878
|
.version-dialog .version-viewer .version-dialog-editor {
|
|
5879
|
+
flex: 1;
|
|
5879
5880
|
overflow-y: auto;
|
|
5880
5881
|
position: relative;
|
|
5881
5882
|
}
|
|
@@ -86845,6 +86846,7 @@ ${data2.flowchartText}
|
|
|
86845
86846
|
placeholder: {
|
|
86846
86847
|
common: {
|
|
86847
86848
|
title: "\u8BF7\u8F93\u5165\u6807\u9898",
|
|
86849
|
+
mobileTitle: "\u8BF7\u8F93\u5165\u6807\u9898",
|
|
86848
86850
|
readonlyTitle: "\u8BF7\u8F93\u5165\u6807\u9898",
|
|
86849
86851
|
content: "\u70B9\u51FB + \uFF0C\u6216\u8F93\u5165 / \u5FEB\u6377\u63D2\u5165\u7EC4\u4EF6",
|
|
86850
86852
|
contentInContainer: "\u8F93\u5165 / \u5FEB\u6377\u63D2\u5165\u7EC4\u4EF6",
|
|
@@ -86865,6 +86867,7 @@ ${data2.flowchartText}
|
|
|
86865
86867
|
placeholder: {
|
|
86866
86868
|
common: {
|
|
86867
86869
|
title: "Enter a title",
|
|
86870
|
+
mobileTitle: "Enter a title",
|
|
86868
86871
|
readonlyTitle: "Enter a title",
|
|
86869
86872
|
content: 'Click "+", or enter "/" to insert components quickly',
|
|
86870
86873
|
contentInContainer: 'Enter "/" to insert components quickly',
|
|
@@ -86885,6 +86888,7 @@ ${data2.flowchartText}
|
|
|
86885
86888
|
placeholder: {
|
|
86886
86889
|
common: {
|
|
86887
86890
|
title: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
86891
|
+
mobileTitle: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B",
|
|
86888
86892
|
readonlyTitle: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
86889
86893
|
content: "\u300C+\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u304B\u3001\u300C/\u300D\u3092\u5165\u529B\u3059\u308B\u3068\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u304C\u7D20\u65E9\u304F\u633F\u5165\u3067\u304D\u307E\u3059",
|
|
86890
86894
|
contentInContainer: "\u300C/\u300D\u3092\u5165\u529B\u3059\u308B\u3068\u3001\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u304C\u7D20\u65E9\u304F\u633F\u5165\u3067\u304D\u307E\u3059",
|
|
@@ -88388,7 +88392,7 @@ ${data2.flowchartText}
|
|
|
88388
88392
|
new EnforceWithDocumentTitleHandler(editor, {
|
|
88389
88393
|
hideTitle: options.hideTitle,
|
|
88390
88394
|
headingLevel: 1,
|
|
88391
|
-
titlePlaceholder: i18n$1.t("placeholder.common.title"),
|
|
88395
|
+
titlePlaceholder: clientType.isMobile ? i18n$1.t("placeholder.common.mobileTitle") : i18n$1.t("placeholder.common.title"),
|
|
88392
88396
|
contentPlaceholder: clientType.isMobile ? "" : i18n$1.t("placeholder.common.content"),
|
|
88393
88397
|
readonlyTitlePlaceholder: i18n$1.t("placeholder.common.readonlyTitle"),
|
|
88394
88398
|
addPlaceholderToAllCurrentEmptyBlock: true,
|
|
@@ -88486,7 +88490,7 @@ ${data2.flowchartText}
|
|
|
88486
88490
|
}
|
|
88487
88491
|
}
|
|
88488
88492
|
});
|
|
88489
|
-
editor.version = "2.2.
|
|
88493
|
+
editor.version = "2.2.18";
|
|
88490
88494
|
return editor;
|
|
88491
88495
|
}
|
|
88492
88496
|
function isDoc(doc2) {
|
|
@@ -88528,7 +88532,7 @@ ${data2.flowchartText}
|
|
|
88528
88532
|
new EnforceWithDocumentTitleHandler(editor, {
|
|
88529
88533
|
hideTitle: options.hideTitle,
|
|
88530
88534
|
headingLevel: 1,
|
|
88531
|
-
titlePlaceholder: i18n$1.t("placeholder.common.title"),
|
|
88535
|
+
titlePlaceholder: clientType.isMobile ? i18n$1.t("placeholder.common.mobileTitle") : i18n$1.t("placeholder.common.title"),
|
|
88532
88536
|
contentPlaceholder: clientType.isMobile ? "" : i18n$1.t("placeholder.common.content"),
|
|
88533
88537
|
readonlyTitlePlaceholder: i18n$1.t("placeholder.local.readonlyTitle"),
|
|
88534
88538
|
addPlaceholderToAllCurrentEmptyBlock: true
|
|
@@ -88581,7 +88585,7 @@ ${data2.flowchartText}
|
|
|
88581
88585
|
});
|
|
88582
88586
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88583
88587
|
OnesEditorToolbar.register(editor);
|
|
88584
|
-
editor.version = "2.2.
|
|
88588
|
+
editor.version = "2.2.18";
|
|
88585
88589
|
return editor;
|
|
88586
88590
|
}
|
|
88587
88591
|
async function showDocVersions(editor, options, serverUrl) {
|
package/dist/lang/en-us.d.ts
CHANGED
package/dist/lang/ja-jp.d.ts
CHANGED
package/dist/lang/zh-cn.d.ts
CHANGED