diff --git a/plugins/plugin-annotations/src/title.mjs b/plugins/plugin-annotations/src/title.mjs index c7004f962c9..5770072ed68 100644 --- a/plugins/plugin-annotations/src/title.mjs +++ b/plugins/plugin-annotations/src/title.mjs @@ -105,6 +105,7 @@ const addTitleMacro = function ( .attr('data-text', mc.nr, mc.append ? false : true) .attr('data-text-class', `${mc.classes.nr} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box store.set(['partNumbers', part.name], mc.nr) } else delete ids.nr @@ -118,6 +119,7 @@ const addTitleMacro = function ( .attr('data-text', mc.title, mc.append ? false : true) .attr('data-text-class', `${mc.classes.title} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box shift += mc.dy store.set(['partTitles', part.name], mc.title) } else delete ids.title @@ -147,6 +149,7 @@ const addTitleMacro = function ( .attr('data-text', 'plugin-annotations:cut') .attr('data-text-class', `${mc.classes.cutlist} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box .addText(cut) shift += mc.dy @@ -189,6 +192,7 @@ const addTitleMacro = function ( ) .attr('data-text-class', `${mc.classes.name} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box shift += mc.dy /* @@ -200,6 +204,7 @@ const addTitleMacro = function ( .attr('data-text', `(${store.data.for})`) .attr('data-text-class', `${mc.classes.for} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box shift += mc.dy } else delete ids.for @@ -219,6 +224,7 @@ const addTitleMacro = function ( ) .attr('data-text-class', `${mc.classes.date} ${mc.align}`) .attr('data-text-transform', transform) + .attr('data-render-always', 1) // Render even when outside the part bounding box /* * Store all IDs in the store so we can remove this macro with rmtitle