@meowdown/react 0.65.4 → 0.65.6
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 +11 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -64,6 +64,15 @@ function useKaTeX(enabled) {
|
|
|
64
64
|
return katex;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/utils/non-prose-props.ts
|
|
69
|
+
const NON_PROSE_PROPS = {
|
|
70
|
+
spellCheck: false,
|
|
71
|
+
autoCorrect: "off",
|
|
72
|
+
autoCapitalize: "off",
|
|
73
|
+
writingsuggestions: "false"
|
|
74
|
+
};
|
|
75
|
+
|
|
67
76
|
//#endregion
|
|
68
77
|
//#region src/components/code-block-view.module.css
|
|
69
78
|
var code_block_view_module_default = {
|
|
@@ -230,7 +239,8 @@ function CodeBlockView(props) {
|
|
|
230
239
|
children: [
|
|
231
240
|
/* @__PURE__ */ jsx("pre", {
|
|
232
241
|
ref: contentRef,
|
|
233
|
-
"data-language": language
|
|
242
|
+
"data-language": language,
|
|
243
|
+
...NON_PROSE_PROPS
|
|
234
244
|
}),
|
|
235
245
|
selected ? null : /* @__PURE__ */ jsx(CodeBlockToolbar, {
|
|
236
246
|
code,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meowdown/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.65.
|
|
4
|
+
"version": "0.65.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"github-slugger": "^2.0.0",
|
|
32
32
|
"lucide-react": "^1.28.0",
|
|
33
33
|
"react-property": "^2.0.2",
|
|
34
|
-
"@meowdown/core": "0.65.
|
|
34
|
+
"@meowdown/core": "0.65.6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": "^19.0.0",
|