diff --git a/src/automath.ts b/src/automath.ts index 1183ab1..8d6141c 100644 --- a/src/automath.ts +++ b/src/automath.ts @@ -29,7 +29,7 @@ export default class AutoMath extends Plugin { const editor = this.editor; const modelDocument = editor.model.document; - this.listenTo( editor.plugins.get( Clipboard ), 'inputTransformation', () => { + this.listenTo( editor.plugins.get( 'ClipboardPipeline' ), 'inputTransformation', () => { const firstRange = modelDocument.selection.getFirstRange(); if ( !firstRange ) { return;