@ones-editor/editor 2.2.16-beta.11 → 2.2.16-beta.12

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.
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  urlLabel: string;
21
21
  textPlaceholder: string;
22
22
  urlPlaceholder: string;
23
+ mobileTextPlaceholder: string;
24
+ mobileUrlPlaceholder: string;
23
25
  submitText: string;
24
26
  cancelText: string;
25
27
  edit: string;
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  urlLabel: string;
21
21
  textPlaceholder: string;
22
22
  urlPlaceholder: string;
23
+ mobileTextPlaceholder: string;
24
+ mobileUrlPlaceholder: string;
23
25
  submitText: string;
24
26
  cancelText: string;
25
27
  edit: string;
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  urlLabel: string;
21
21
  textPlaceholder: string;
22
22
  urlPlaceholder: string;
23
+ mobileTextPlaceholder: string;
24
+ mobileUrlPlaceholder: string;
23
25
  submitText: string;
24
26
  cancelText: string;
25
27
  edit: string;
package/dist/index.js CHANGED
@@ -51383,7 +51383,7 @@ ${codeText}
51383
51383
  this.form.linkText = createInput(content, {
51384
51384
  label: i18n$1.t("link.textLabel"),
51385
51385
  required: false,
51386
- placeholder: i18n$1.t("link.textPlaceholder"),
51386
+ placeholder: clientType.isMobile ? i18n$1.t("link.mobileTextPlaceholder") : i18n$1.t("link.textPlaceholder"),
51387
51387
  defaultValue: linkText,
51388
51388
  suffixClose: clientType.isMobile,
51389
51389
  onChange: this.onChange,
@@ -51394,7 +51394,7 @@ ${codeText}
51394
51394
  className: "link-popup-gap",
51395
51395
  label: i18n$1.t("link.urlLabel"),
51396
51396
  required: true,
51397
- placeholder: i18n$1.t("link.urlPlaceholder"),
51397
+ placeholder: clientType.isMobile ? i18n$1.t("link.mobileUrlPlaceholder") : i18n$1.t("link.urlPlaceholder"),
51398
51398
  defaultValue: linkUrl,
51399
51399
  suffixClose: clientType.isMobile,
51400
51400
  onChange: this.onChange,
@@ -59897,6 +59897,8 @@ $$${mathData.mathjaxText}$$
59897
59897
  urlLabel: "\u94FE\u63A5\u5730\u5740",
59898
59898
  textPlaceholder: "\u8BF7\u8F93\u5165\u6587\u672C",
59899
59899
  urlPlaceholder: "\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740",
59900
+ mobileTextPlaceholder: "\u8BF7\u8F93\u5165\u6587\u672C",
59901
+ mobileUrlPlaceholder: "\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740",
59900
59902
  submitText: "\u786E\u5B9A",
59901
59903
  cancelText: "\u53D6\u6D88",
59902
59904
  edit: "\u7F16\u8F91",
@@ -59953,6 +59955,8 @@ $$${mathData.mathjaxText}$$
59953
59955
  urlLabel: "URL",
59954
59956
  textPlaceholder: "Please enter text",
59955
59957
  urlPlaceholder: "Please enter URL",
59958
+ mobileTextPlaceholder: "Please enter text",
59959
+ mobileUrlPlaceholder: "Please enter URL",
59956
59960
  submitText: "Confirm",
59957
59961
  cancelText: "Cancel",
59958
59962
  edit: "Edit",
@@ -60009,6 +60013,8 @@ $$${mathData.mathjaxText}$$
60009
60013
  urlLabel: "URL",
60010
60014
  textPlaceholder: "\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
60011
60015
  urlPlaceholder: "URL \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
60016
+ mobileTextPlaceholder: "\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B",
60017
+ mobileUrlPlaceholder: "URL \u3092\u5165\u529B",
60012
60018
  submitText: "OK",
60013
60019
  cancelText: "\u30AD\u30E3\u30F3\u30BB\u30EB",
60014
60020
  edit: "\u7DE8\u96C6",
@@ -64129,6 +64135,7 @@ ${codeText}
64129
64135
  heading: "Heading {heading}",
64130
64136
  list: "List",
64131
64137
  mention: "Quickly assign tasks and use @ to mention yourself or others",
64138
+ mobileMention: "Use @ to mention members",
64132
64139
  quote: "Quote",
64133
64140
  title: "Enter document title",
64134
64141
  mobileDefault: "Type to add content"
@@ -64140,6 +64147,7 @@ ${codeText}
64140
64147
  heading: "\u6807\u9898{heading}",
64141
64148
  list: "\u5217\u8868",
64142
64149
  mention: "\u5FEB\u901F\u5206\u914D\u4EFB\u52A1\uFF0C@\u63D0\u53CA\u81EA\u5DF1\u6216\u4ED6\u4EBA",
64150
+ mobileMention: "\u5FEB\u901F\u5206\u914D\u4EFB\u52A1\uFF0C@\u63D0\u53CA\u81EA\u5DF1\u6216\u4ED6\u4EBA",
64143
64151
  quote: "\u5F15\u7528",
64144
64152
  title: "\u8BF7\u8F93\u5165\u6587\u6863\u6807\u9898",
64145
64153
  mobileDefault: "\u8F93\u5165\u4EE5\u6DFB\u52A0\u5185\u5BB9"
@@ -64151,6 +64159,7 @@ ${codeText}
64151
64159
  heading: "\u898B\u51FA\u3057{heading}",
64152
64160
  list: "\u30EA\u30B9\u30C8",
64153
64161
  mention: "\u81EA\u5206\u3084\u30E1\u30F3\u30D0\u30FC\u3092\uFF20\u3057\u3001\u30BF\u30B9\u30AF\u3092\u7D20\u65E9\u304F\u5272\u308A\u5F53\u3066\u307E\u3059",
64162
+ mobileMention: "\u30E1\u30F3\u30D0\u30FC\u3092\uFF20\u3057\u3066\u30A2\u30B5\u30A4\u30F3\u3059\u308B",
64154
64163
  quote: "\u5F15\u7528",
64155
64164
  title: "\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
64156
64165
  mobileDefault: "\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u8FFD\u52A0\u3059\u308B\u306B\u306F\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"
@@ -64214,7 +64223,7 @@ ${codeText}
64214
64223
  if (listType === "ordered" || listType === "unordered") {
64215
64224
  return i18n$1.t("placeholder.list");
64216
64225
  }
64217
- return i18n$1.t("placeholder.mention");
64226
+ return clientType.isMobile ? i18n$1.t("placeholder.mobileMention") : i18n$1.t("placeholder.mention");
64218
64227
  }
64219
64228
  function getTextKindBlockPlaceholder(block) {
64220
64229
  const blockType = getBlockType(block);
@@ -88477,7 +88486,7 @@ ${data2.flowchartText}
88477
88486
  }
88478
88487
  }
88479
88488
  });
88480
- editor.version = "2.2.16-beta.11";
88489
+ editor.version = "2.2.16-beta.12";
88481
88490
  return editor;
88482
88491
  }
88483
88492
  function isDoc(doc2) {
@@ -88572,7 +88581,7 @@ ${data2.flowchartText}
88572
88581
  });
88573
88582
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88574
88583
  OnesEditorToolbar.register(editor);
88575
- editor.version = "2.2.16-beta.11";
88584
+ editor.version = "2.2.16-beta.12";
88576
88585
  return editor;
88577
88586
  }
88578
88587
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.2.16-beta.11",
3
+ "version": "2.2.16-beta.12",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",