@meistrari/minuta-editor 1.3.0 → 1.3.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/chunks/docxExport.mjs +4 -13
- package/package.json +1 -1
|
@@ -963,22 +963,13 @@ async function nodeToDocx(node, pos, contentWidthPx, ctx) {
|
|
|
963
963
|
case "table":
|
|
964
964
|
return tableToDocx(node, pos, contentWidthPx, ctx);
|
|
965
965
|
case "missingImage": {
|
|
966
|
-
const
|
|
967
|
-
children: [
|
|
968
|
-
text: `A imagem ${node.attrs.variableId ?? ""} est\xE1 faltando`,
|
|
969
|
-
italics: true,
|
|
970
|
-
color: "773613"
|
|
971
|
-
})],
|
|
966
|
+
const lugar = new Paragraph({
|
|
967
|
+
children: [],
|
|
972
968
|
alignment: AlignmentType.CENTER,
|
|
973
|
-
|
|
974
|
-
top: { style: BorderStyle.DASHED, size: 4, color: "DF8B0D" },
|
|
975
|
-
bottom: { style: BorderStyle.DASHED, size: 4, color: "DF8B0D" },
|
|
976
|
-
left: { style: BorderStyle.DASHED, size: 4, color: "DF8B0D" },
|
|
977
|
-
right: { style: BorderStyle.DASHED, size: 4, color: "DF8B0D" }
|
|
978
|
-
},
|
|
969
|
+
spacing: { after: 0, before: 0 },
|
|
979
970
|
pageBreakBefore: consumeBreak(ctx)
|
|
980
971
|
});
|
|
981
|
-
return [
|
|
972
|
+
return [lugar];
|
|
982
973
|
}
|
|
983
974
|
case "horizontalRule":
|
|
984
975
|
return [new Paragraph({ children: [], border: { bottom: { style: BorderStyle.SINGLE, size: 4, color: "AAAAAA" } } })];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/minuta-editor",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Editor de minuta do defesa.ai sem framework: folha A4 paginada, edição rica, placeholders de variável e export DOCX fiel ao preview — monta em qualquer app (React, Vue, vanilla)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|