Index: paging.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/paging/paging.module,v
retrieving revision 1.15.2.12
diff -u -p -r1.15.2.12 paging.module
--- paging.module	25 Jan 2008 18:07:19 -0000	1.15.2.12
+++ paging.module	10 Jun 2008 18:30:08 -0000
@@ -319,3 +319,19 @@ function paging_filter_tips($in_delta, $
     return t('Use %separator to create page breaks.', array('%separator' => PAGING_SEPARATOR));
   }
 }
+
+/**
+ * Implementation of hook_wysiwyg_plugin().
+ */
+function paging_wysiwyg_plugin($editor) {
+  switch ($editor) {
+    case 'tinymce':
+      return array(
+        'paging' => array(
+          'path' => drupal_get_path('module', 'paging') .'/plugins/pagebreak',
+          'buttons' => array('pagebreak' => t('Page break')),
+          'url' => 'http://drupal.org/project/paging',
+        )
+      );
+  }
+}
