diff --git a/web/src/engine/attachment/src/pageContextAttachment.ts b/web/src/engine/attachment/src/pageContextAttachment.ts index 1c26793a19..4cd8c19781 100644 --- a/web/src/engine/attachment/src/pageContextAttachment.ts +++ b/web/src/engine/attachment/src/pageContextAttachment.ts @@ -1087,10 +1087,13 @@ export class PageContextAttachment extends EventEmitter { switch(n) { case 0: fs=fsDefault; + break; case 1: fs = getComputedStyle(ipInput[0]).fontFamily || ''; + break; case 2: fs = getComputedStyle(ipTextArea[0]).fontFamily || ''; + break; } if(typeof(fs) == 'undefined' || fs == 'monospace') { fs=fsDefault;