mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
931a93af4e
Summary: - Adds button inside the message list to print the thread - Adds cmdctrl-p binding to print thread - Adds new action and new internal_package to listen to this action. - Creates a standalone browser window with current thread html, and removes all collapsed messsages from the print view Test Plan: - Manual Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2310
14 lines
217 B
JavaScript
14 lines
217 B
JavaScript
import Printer from './printer';
|
|
|
|
let printer = null;
|
|
export function activate() {
|
|
printer = new Printer();
|
|
}
|
|
|
|
export function deactivate() {
|
|
if (printer) printer.deactivate();
|
|
}
|
|
|
|
export function serialize() {
|
|
|
|
}
|