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
I am using Purify in a laravel project and need to allow
elements (for tinymyce wysiwyg editor).
Have followed the readme Custom Configuration Rules and installed a PurifySetupProvider with the new element. Nevertheless, Purify strips out the figure elements.
Here is the ServideProvider:
Hi @tiagomalheiro, apologies for the late response on this. I've released a new version with your PR included. Closing as this should resolve your issue.
Let me know if you encounter anything else, thanks!
I am using Purify in a laravel project and need to allow
elements (for tinymyce wysiwyg editor).Have followed the readme Custom Configuration Rules and installed a PurifySetupProvider with the new element. Nevertheless, Purify strips out the figure elements.
Here is the ServideProvider:
and my test:
The workaround to make it work was to update the package service provider register method to bind a singleton, instead of an usual bind:
What am I missing in setting up the Custom Configuration rules? What are the implications of using the singleton on the caching?
thanks
The text was updated successfully, but these errors were encountered: