]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/plugins-about.js
OIDC Userinfo: Fixed issues with validation logic from changes
[bookstack] / resources / js / wysiwyg / plugins-about.js
index 1585de72d2023a0a6b6c6059e25443962e5cba1e..096b4f96805a98ba8676ed7c7f95789b096bc014 100644 (file)
@@ -1,9 +1,7 @@
 /**
  * @param {Editor} editor
- * @param {String} url
  */
-function register(editor, url) {
-
+function register(editor) {
     const aboutDialog = {
         title: 'About the WYSIWYG Editor',
         url: window.baseUrl('/help/wysiwyg'),
@@ -13,17 +11,14 @@ function register(editor, url) {
         icon: 'help',
         tooltip: 'About the editor',
         onAction() {
-            tinymce.activeEditor.windowManager.openUrl(aboutDialog);
-        }
+            window.tinymce.activeEditor.windowManager.openUrl(aboutDialog);
+        },
     });
-
 }
 
-
 /**
- * @param {WysiwygConfigOptions} options
  * @return {register}
  */
-export function getPlugin(options) {
+export function getPlugin() {
     return register;
-}
\ No newline at end of file
+}