diff --git a/scripts/h5peditor-html.js b/scripts/h5peditor-html.js index 8bef95fba2c2d1f9b631dba9c80792aa215f3473..30226efabade6160fd031e38ea548fca0b92fafc 100644 --- a/scripts/h5peditor-html.js +++ b/scripts/h5peditor-html.js @@ -32,7 +32,7 @@ ns.Html.prototype.inTags = function (value) { * @return {boolean} */ ns.Html.prototype.inButtons = function (button) { - return (H5PIntegration.wysiwygButtons !== undefined && H5PIntegration.wysiwygButtons.indexOf(button) !== -1); + return (H5PIntegration.editor.wysiwygButtons !== undefined && H5PIntegration.editor.wysiwygButtons.indexOf(button) !== -1); }; ns.Html.prototype.createToolbar = function () {