]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/plugins-customhr.js
Fixed OIDC Logout
[bookstack] / resources / js / wysiwyg / plugins-customhr.js
index 6aa1620da4d6d39b43b2b3cc80542f0ad6ec5fdf..f5da947f21c151a16cba5922b9586956dd63eb67 100644 (file)
@@ -1,8 +1,7 @@
 /**
  * @param {Editor} editor
- * @param {String} url
  */
-function register(editor, url) {
+function register(editor) {
     editor.addCommand('InsertHorizontalRule', () => {
         const hrElem = document.createElement('hr');
         const cNode = editor.selection.getNode();
@@ -20,9 +19,8 @@ function register(editor, url) {
 }
 
 /**
- * @param {WysiwygConfigOptions} options
  * @return {register}
  */
-export function getPlugin(options) {
+export function getPlugin() {
     return register;
 }