You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
In hallo's _create method, there's a one-time event handler wired up to "halloactivated":
@element.one'halloactivated', =># We will populate the toolbar the first time this# editable is activated. This will make multiple# Hallo instances on same page load much faster@_prepareToolbar()
If you destroy the widget before it's been activated and then reinitialise it with a different set of plugins you get an error when the widget is first activated thrown from the handler whose set of plugins no longer matches`:
$(myElement).hallo({plugins: {halloformat: {}});$(myElement).hallo('destroy');$(myElement).hallo({plugins: {hallolists: {}});$(myElement).click();// Uncaught Error: Plugin halloformat not found
I'm just manually calling $(myElement).off('halloactivated') as a workaround for now.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In hallo's
_create
method, there's a one-time event handler wired up to "halloactivated":If you destroy the widget before it's been activated and then reinitialise it with a different set of plugins you get an error when the widget is first activated thrown from the handler whose set of plugins no longer matches`:
I'm just manually calling
$(myElement).off('halloactivated')
as a workaround for now.The text was updated successfully, but these errors were encountered: