mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge remote-tracking branch 'origin/form_participant_print' into 2026-autumn-test-scalable
This commit is contained in:
commit
a8ea9af861
@ -1556,3 +1556,15 @@
|
||||
.charts_main();
|
||||
}
|
||||
|
||||
@media print {
|
||||
html,
|
||||
body {
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.cp-form-creator-container {
|
||||
max-height: none !important;
|
||||
overflow-y: visible !important
|
||||
}
|
||||
}
|
||||
|
||||
@ -125,6 +125,14 @@ define([
|
||||
|
||||
return cancelBlock;
|
||||
};
|
||||
|
||||
window.addEventListener('keydown', function (e) {
|
||||
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'p') {
|
||||
e.preventDefault();
|
||||
window.print();
|
||||
}
|
||||
});
|
||||
|
||||
var editTextOptions = function (opts, setCursorGetter, cb) {
|
||||
var evOnSave = Util.mkEvent();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user