1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

ESLINT: Started inital pass at addressing issues

This commit is contained in:
Dan Brown
2023-04-19 10:46:13 +01:00
parent e711290d8b
commit 0519e58fbf
18 changed files with 586 additions and 554 deletions

View File

@ -1,8 +1,7 @@
/**
* @param {Editor} editor
* @param {String} url
*/
function register(editor, url) {
function register(editor) {
// Custom Image picker button
editor.ui.registry.addButton('imagemanager-insert', {
title: 'Insert image',
@ -23,9 +22,8 @@ function register(editor, url) {
}
/**
* @param {WysiwygConfigOptions} options
* @return {register}
*/
export function getPlugin(options) {
export function getPlugin() {
return register;
}