@fileverse-dev/ddoc 2.0.2-patch → 2.0.2-patch-2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +8 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -80250,11 +80250,13 @@ const mJ = {
|
|
80250
80250
|
),
|
80251
80251
|
primaryAction: {
|
80252
80252
|
label: "Export",
|
80253
|
-
onClick: p
|
80253
|
+
onClick: p,
|
80254
|
+
className: "w-full md:w-auto"
|
80254
80255
|
},
|
80255
80256
|
secondaryAction: {
|
80256
80257
|
label: "Cancel",
|
80257
|
-
onClick: () => f(!1)
|
80258
|
+
onClick: () => f(!1),
|
80259
|
+
className: "w-full md:w-auto"
|
80258
80260
|
}
|
80259
80261
|
}
|
80260
80262
|
)
|
@@ -105438,13 +105440,13 @@ E1.addRule("iframe", {
|
|
105438
105440
|
filter: ["iframe"],
|
105439
105441
|
replacement: function(t, e) {
|
105440
105442
|
const n = e.getAttribute("src");
|
105441
|
-
return n ? `[
|
105443
|
+
return n ? `[${n}](${n})` : "";
|
105442
105444
|
}
|
105443
105445
|
});
|
105444
105446
|
E1.addRule("img", {
|
105445
105447
|
filter: ["img"],
|
105446
105448
|
replacement: function(t, e) {
|
105447
|
-
const n = e.getAttribute("src"), r = e.getAttribute("alt") ||
|
105449
|
+
const n = e.getAttribute("src"), r = e.getAttribute("alt") || n;
|
105448
105450
|
return n != null && n.startsWith("data:") ? n : n ? `[${r}](${n})` : "";
|
105449
105451
|
}
|
105450
105452
|
});
|
@@ -118352,10 +118354,9 @@ const y0t = [
|
|
118352
118354
|
// Create links from "https://..." text
|
118353
118355
|
breaks: !0,
|
118354
118356
|
// New lines (\n) in markdown input are converted to <br>
|
118355
|
-
transformPastedText: !0
|
118357
|
+
transformPastedText: !0
|
118356
118358
|
// Allow to paste markdown text in the editor
|
118357
|
-
transformCopiedText:
|
118358
|
-
// Copied text is transformed to markdown
|
118359
|
+
// transformCopiedText: true, // Copied text is transformed to markdown
|
118359
118360
|
}),
|
118360
118361
|
glt,
|
118361
118362
|
p0t.configure({
|