css print

This commit is contained in:
2025-12-16 12:13:43 +01:00
parent d05acf87b3
commit 1c8c8aa73f
12 changed files with 33460 additions and 726 deletions
@@ -0,0 +1,12 @@
(function (Drupal, once) {
Drupal.behaviors.pagedPrint = {
attach(context) {
once('pagedPrint', 'body', context).forEach(() => {
const params = new URLSearchParams(window.location.search);
if (params.get('print') === '1' && window.PagedPolyfill) {
window.PagedPolyfill.preview();
}
});
}
};
})(Drupal, once);
-3
View File
@@ -1,3 +0,0 @@
jQuery(function ($) {
console.log('salut print');
});