From b832fc54f61db847ad6254af0a766a34ed2f5d56 Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 25 Aug 2023 13:11:29 +0200 Subject: [PATCH] fix openmage plugins breaks help (#20) --- .../adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js | 7 ++----- .../adminhtml/wysiwyg/tinymce/plugins/openmagewidget.js | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js b/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js index 299953d4d21..abc19bc4efd 100644 --- a/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js +++ b/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagevariable.js @@ -51,11 +51,8 @@ tinymce.PluginManager.add('openmagevariable', (ed, url) => { getMetadata: function () { return { - longname: 'OpenMage Variable Manager Plugin', - author: 'OpenMage Core Team', - authorurl: 'https://www.openmage.org', - infourl: 'https://www.openmage.org', - version: '1.0' + name: 'OpenMage Variable Manager Plugin', + url: 'https://www.openmage.org' }; } } diff --git a/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagewidget.js b/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagewidget.js index e34792d1d5f..5b654d81c77 100644 --- a/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagewidget.js +++ b/js/mage/adminhtml/wysiwyg/tinymce/plugins/openmagewidget.js @@ -81,11 +81,8 @@ tinymce.PluginManager.add('openmagewidget', (ed, url) => { getMetadata: function () { return { - longname: 'OpenMage Widget Manager Plugin', - author: 'OpenMage Core Team', - authorurl: 'https://www.openmage.org', - infourl: 'https://www.openmage.org', - version: '1.0' + name: 'OpenMage Widget Manager Plugin', + url: 'https://www.openmage.org' }; } }