@ones-editor/editor 2.2.16 → 2.2.17

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
@@ -86845,6 +86845,7 @@ ${data2.flowchartText}
86845
86845
  placeholder: {
86846
86846
  common: {
86847
86847
  title: "\u8BF7\u8F93\u5165\u6807\u9898",
86848
+ mobileTitle: "\u8BF7\u8F93\u5165\u6807\u9898",
86848
86849
  readonlyTitle: "\u8BF7\u8F93\u5165\u6807\u9898",
86849
86850
  content: "\u70B9\u51FB + \uFF0C\u6216\u8F93\u5165 / \u5FEB\u6377\u63D2\u5165\u7EC4\u4EF6",
86850
86851
  contentInContainer: "\u8F93\u5165 / \u5FEB\u6377\u63D2\u5165\u7EC4\u4EF6",
@@ -86865,6 +86866,7 @@ ${data2.flowchartText}
86865
86866
  placeholder: {
86866
86867
  common: {
86867
86868
  title: "Enter a title",
86869
+ mobileTitle: "Enter a title",
86868
86870
  readonlyTitle: "Enter a title",
86869
86871
  content: 'Click "+", or enter "/" to insert components quickly',
86870
86872
  contentInContainer: 'Enter "/" to insert components quickly',
@@ -86885,6 +86887,7 @@ ${data2.flowchartText}
86885
86887
  placeholder: {
86886
86888
  common: {
86887
86889
  title: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
86890
+ mobileTitle: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B",
86888
86891
  readonlyTitle: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
86889
86892
  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
86893
  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 +88391,7 @@ ${data2.flowchartText}
88388
88391
  new EnforceWithDocumentTitleHandler(editor, {
88389
88392
  hideTitle: options.hideTitle,
88390
88393
  headingLevel: 1,
88391
- titlePlaceholder: i18n$1.t("placeholder.common.title"),
88394
+ titlePlaceholder: clientType.isMobile ? i18n$1.t("placeholder.common.mobileTitle") : i18n$1.t("placeholder.common.title"),
88392
88395
  contentPlaceholder: clientType.isMobile ? "" : i18n$1.t("placeholder.common.content"),
88393
88396
  readonlyTitlePlaceholder: i18n$1.t("placeholder.common.readonlyTitle"),
88394
88397
  addPlaceholderToAllCurrentEmptyBlock: true,
@@ -88486,7 +88489,7 @@ ${data2.flowchartText}
88486
88489
  }
88487
88490
  }
88488
88491
  });
88489
- editor.version = "2.2.16";
88492
+ editor.version = "2.2.17";
88490
88493
  return editor;
88491
88494
  }
88492
88495
  function isDoc(doc2) {
@@ -88528,7 +88531,7 @@ ${data2.flowchartText}
88528
88531
  new EnforceWithDocumentTitleHandler(editor, {
88529
88532
  hideTitle: options.hideTitle,
88530
88533
  headingLevel: 1,
88531
- titlePlaceholder: i18n$1.t("placeholder.common.title"),
88534
+ titlePlaceholder: clientType.isMobile ? i18n$1.t("placeholder.common.mobileTitle") : i18n$1.t("placeholder.common.title"),
88532
88535
  contentPlaceholder: clientType.isMobile ? "" : i18n$1.t("placeholder.common.content"),
88533
88536
  readonlyTitlePlaceholder: i18n$1.t("placeholder.local.readonlyTitle"),
88534
88537
  addPlaceholderToAllCurrentEmptyBlock: true
@@ -88581,7 +88584,7 @@ ${data2.flowchartText}
88581
88584
  });
88582
88585
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88583
88586
  OnesEditorToolbar.register(editor);
88584
- editor.version = "2.2.16";
88587
+ editor.version = "2.2.17";
88585
88588
  return editor;
88586
88589
  }
88587
88590
  async function showDocVersions(editor, options, serverUrl) {
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  placeholder: {
3
3
  common: {
4
4
  title: string;
5
+ mobileTitle: string;
5
6
  readonlyTitle: string;
6
7
  content: string;
7
8
  contentInContainer: string;
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  placeholder: {
3
3
  common: {
4
4
  title: string;
5
+ mobileTitle: string;
5
6
  readonlyTitle: string;
6
7
  content: string;
7
8
  contentInContainer: string;
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  placeholder: {
3
3
  common: {
4
4
  title: string;
5
+ mobileTitle: string;
5
6
  readonlyTitle: string;
6
7
  content: string;
7
8
  contentInContainer: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.2.16",
3
+ "version": "2.2.17",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",