Article suggestions
  1. Home
  2. Advanced Settings
  3. How To Call a Widget on a Froala Editor Using Its Shortcode

How To Call a Widget on a Froala Editor Using Its Shortcode

How To Call a Widget on a Froala Editor Using Its Shortcode 1) Enable the Advanced Setting allow_widgets_froala_media_manager (Allow Widget Shortcode In Front-End Text Editor) 2) Select Froala Text Editor -Media Manager Access Option as a Form Field
  • avatar
Written by Chan Nier
Updated on February 20, 2025

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000089028

By default, the widgets can't be called on front-end Froala editors for security reasons.

We have created a workaround to allow supporting widget shortcode to be called on these Froala editors. To accomplish this, please follow the steps specified down below.

1) Enable the Advanced Setting allow_widgets_froala_media_manager (Allow Widget Shortcode In Front-End Text Editor)

To enable this advanced setting, navigate to Settings >> Advanced Setting and search for allow_widgets_froala_media_manager (Allow Widget Shortcode In Front-End Text Editor) and enable it:

2) Select Froala Text Editor -Media Manager Access Option as a Form Field

The next step to accomplish this workaround is to change the form field on an existing Froala editor to be Froala Text Editor -Media Manager Access.

For this example purposes, we will be customizing the default About Me form under Form Manager:

Once in the edit view, identify the existing Froala editor and change its form field to be Froala Text Editor -Media Manager Access:

FROALA Text Editor: Versions And Their Upload Functionalities

Once these two steps are completed, we can copy the shortcode of the preferred widget:

And paste the shortcode copied to the Froala editor:

Now the widget is rendering and displaying in the member profile:


Thank you for leaving a rating!
Did you find this article helpful?
0 out of 0 people found this article helpful so far
Can't find what you're looking for? Get in touch
How can we help?
Send your question below and we'll get back to you as soon as possible.
Cancel
translation missing: en.kb.default.contact_form_error
×
Thanks for your message!
Thanks for your message!
×