mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
bdfd96fed2
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() {
|
|
|
|
}
|