tiptap-markdown-react 0.14.0 → 0.14.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1473,7 +1473,7 @@ function CodeBlockView({
|
|
|
1473
1473
|
}
|
|
1474
1474
|
)
|
|
1475
1475
|
] }) : (
|
|
1476
|
-
// 只读头部:左侧语言标签,右侧复制 +
|
|
1476
|
+
// 只读头部:左侧语言标签,右侧复制 + 展开收起(展开后按钮保留,供收回)
|
|
1477
1477
|
/* @__PURE__ */ jsxs("div", { className: styles$4.readonlyHeader, contentEditable: false, children: [
|
|
1478
1478
|
/* @__PURE__ */ jsxs("span", { className: styles$4.langBadge, children: [
|
|
1479
1479
|
/* @__PURE__ */ jsx("span", { className: styles$4.langBraces, children: "{}" }),
|
|
@@ -1491,7 +1491,7 @@ function CodeBlockView({
|
|
|
1491
1491
|
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { size: 14 }) : /* @__PURE__ */ jsx(CopyIcon, { size: 14 })
|
|
1492
1492
|
}
|
|
1493
1493
|
),
|
|
1494
|
-
scrollable ? /* @__PURE__ */ jsx(
|
|
1494
|
+
scrollable || expanded2 ? /* @__PURE__ */ jsx(
|
|
1495
1495
|
"button",
|
|
1496
1496
|
{
|
|
1497
1497
|
type: "button",
|