@wix/editor-react-components 1.2631.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,
|
|
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 ??
|
|
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: {
|
|
@@ -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.
|
|
3
|
+
"version": "1.2632.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -199,5 +199,5 @@
|
|
|
199
199
|
"registry": "https://registry.npmjs.org/",
|
|
200
200
|
"access": "public"
|
|
201
201
|
},
|
|
202
|
-
"falconPackageHash": "
|
|
202
|
+
"falconPackageHash": "d92bb97d898af0a92bdb284b97509325b41af59fc79a1e4b774bff44"
|
|
203
203
|
}
|