@wix/editor-react-components 1.2630.0 → 1.2632.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.
@@ -4,7 +4,7 @@ import { useService } from "@wix/services-manager-react";
4
4
  import { T as TranslationsDefinition } from "../chunks/index6.js";
5
5
  import { g as getTranslation } from "../chunks/getTranslation.js";
6
6
  import { d as directionStyles } from "../chunks/direction.module.js";
7
- import { D as DefaultTranslations, T as TranslationKeys, a as TRANSLATIONS_NAMESPACE, d as defaultValues, m as manifestClasses } from "../chunks/constants28.js";
7
+ import { D as DefaultTranslations, T as TranslationKeys, a as TRANSLATIONS_NAMESPACE, m as manifestClasses, d as defaultValues } from "../chunks/constants28.js";
8
8
  import "react";
9
9
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
10
10
  import { r as requireCjs } from "../chunks/index11.js";
@@ -12473,7 +12473,7 @@ const MarkdownBlock = (props) => {
12473
12473
  {
12474
12474
  remarkPlugins: REMARK_PLUGINS,
12475
12475
  components: markdownComponents,
12476
- children: content2 ?? defaultValues.content
12476
+ children: content2 ?? ""
12477
12477
  }
12478
12478
  )
12479
12479
  }
@@ -4,7 +4,6 @@ export declare const manifestClasses: {
4
4
  };
5
5
  export declare const defaultValues: {
6
6
  readonly theme: "light";
7
- readonly content: "# Markdown Block\n\nWrite **Markdown** and it renders as styled HTML. Supports _emphasis_, [links](https://www.wix.com), `inline code` and everything else in CommonMark plus GitHub Flavored Markdown.\n\n## Lists\n\n- Bullet lists with **bold** and _italic_ text\n- Nested content and long lines wrap cleanly\n- Task lists, tables and strikethrough come from GFM\n\n1. Ordered items work too\n2. Numbering is handled for you\n\n## Quotes and code\n\n> A blockquote for pull quotes, callouts, and citations.\n\n```js\nconst greet = (name) => `Hello, ${name}!`;\nconsole.log(greet('Markdown'));\n```\n\n## Tables\n\n| Feature | Supported |\n| --- | --- |\n| Headings | Yes |\n| Tables | Yes |\n| Task lists | Yes |\n\n---\n\n### Smaller heading\n\nEverything above is styled by the selected theme. Switch themes to restyle the whole block.\n";
8
7
  };
9
8
  export declare const TRANSLATIONS_NAMESPACE = "ariaLabels";
10
9
  export declare const TranslationKeys: {
@@ -18,8 +18,7 @@ const manifest = {
18
18
  displayName: DisplayNames.root.data.content,
19
19
  [DATA.DATA_TYPE.text]: {
20
20
  maxLength: CONTENT_MAX_LENGTH
21
- },
22
- defaultValue: defaultValues.content
21
+ }
23
22
  },
24
23
  theme: {
25
24
  dataType: DATA.DATA_TYPE.textEnum,
@@ -3,43 +3,7 @@ const manifestClasses = {
3
3
  root: "markdown-block"
4
4
  };
5
5
  const defaultValues = {
6
- theme: "light",
7
- content: `# Markdown Block
8
-
9
- Write **Markdown** and it renders as styled HTML. Supports _emphasis_, [links](https://www.wix.com), \`inline code\` and everything else in CommonMark plus GitHub Flavored Markdown.
10
-
11
- ## Lists
12
-
13
- - Bullet lists with **bold** and _italic_ text
14
- - Nested content and long lines wrap cleanly
15
- - Task lists, tables and strikethrough come from GFM
16
-
17
- 1. Ordered items work too
18
- 2. Numbering is handled for you
19
-
20
- ## Quotes and code
21
-
22
- > A blockquote for pull quotes, callouts, and citations.
23
-
24
- \`\`\`js
25
- const greet = (name) => \`Hello, \${name}!\`;
26
- console.log(greet('Markdown'));
27
- \`\`\`
28
-
29
- ## Tables
30
-
31
- | Feature | Supported |
32
- | --- | --- |
33
- | Headings | Yes |
34
- | Tables | Yes |
35
- | Task lists | Yes |
36
-
37
- ---
38
-
39
- ### Smaller heading
40
-
41
- Everything above is styled by the selected theme. Switch themes to restyle the whole block.
42
- `
6
+ theme: "light"
43
7
  };
44
8
  const TRANSLATIONS_NAMESPACE = "ariaLabels";
45
9
  const TranslationKeys = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2630.0",
3
+ "version": "1.2632.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -84,7 +84,7 @@
84
84
  "@wix/site-service-business-logger": "^1.0.2",
85
85
  "@wix/site-service-configuration": "^1.0.1",
86
86
  "@wix/site-service-rendering-context": "^1.0.1",
87
- "@wix/site-ui": "1.265.0",
87
+ "@wix/site-ui": "1.266.0",
88
88
  "@wix/video": "^1.106.0",
89
89
  "@wix/viewer-service-consent-policy": "^1.0.103",
90
90
  "@wix/web-bi-logger": "^2.1.29",
@@ -199,5 +199,5 @@
199
199
  "registry": "https://registry.npmjs.org/",
200
200
  "access": "public"
201
201
  },
202
- "falconPackageHash": "f77b5ee4e89c310689f3417eacde79cf6a375a6f1e7a6a3e4c9207cc"
202
+ "falconPackageHash": "d92bb97d898af0a92bdb284b97509325b41af59fc79a1e4b774bff44"
203
203
  }