diff --git a/text_editor_pasteall.py b/text_editor_pasteall.py
index a3a59ca29a80e45a3d92c1e18640767fd7427f73..c3577d6f8362e42a9fff01d2d0e919947ca95b64 100644
--- a/text_editor_pasteall.py
+++ b/text_editor_pasteall.py
@@ -104,7 +104,7 @@ class PasteAllOperator(bpy.types.Operator):
             self.report('INFO', page)
 
         # store the link in the clipboard
-        bpy.context.manager.clipboard = page
+        bpy.context.window_manager.clipboard = page
 
         if context.scene.use_webbrowser:
             try: