-
AuthorPosts
-
September 16, 2021 at 12:22 pm #1321204
Hi guys!
Why can’t I find “audio Player” among the shortcodes from the default editor?
I also followed this guide: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
but it does not work.I see everything except the audio player.
Instead from the advanced editor it works.
September 17, 2021 at 1:34 pm #1321386Hey jbond82,
Your screenshot is not loading, could you upload it to a different service please? The elements which are available from the default editor are limited, but if you enable debug mode, then you can copy the shortcodes of the element which you are looking for, into the regular editor. Please try that out.
Best regards,
RikardSeptember 17, 2021 at 1:54 pm #1321389September 20, 2021 at 4:22 pm #1321655Hi,
Please enable debugging mode for ALB – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode, add Audio Player element to your content, update your page and then copy Audio player shortcodes from ALB debug field :)
Best regards,
YigitSeptember 23, 2021 at 5:29 pm #1322066I did everything as in the guide but Audio Player does not appear as an item in the widget menu.
September 24, 2021 at 8:25 am #1322156Hi,
The guide Yigit linked to is not for adding the element to the magic wand menu, it’s for enabling debug mode. Once you have done that, then add the Audio Player element to a layout and configure it. After that then you can copy the shortcodes of the element, and paste it where you need it.
Best regards,
RikardSeptember 24, 2021 at 9:33 am #1322168dear Mods and Devs: may i ask you why in the audio-player.php that line is set?
$this->config['tinyMCE'] = array( 'disable' => 'true' );
if i comment that out – the audio is in that dropdown list and it works – are there any inconsistencies?
is it because the element isn’t a self-closing one?September 24, 2021 at 10:21 am #1322173Can I see some picture?
September 24, 2021 at 10:25 am #1322174September 24, 2021 at 10:46 am #1322179Good! now I can see audio player! thank you!!
September 24, 2021 at 11:25 am #1322180But wait til a mod looks into that topic here again. There must be a reason to exclude the audio-player from mce.
September 24, 2021 at 1:38 pm #1322206Hi,
Thanks for the solution.
Reason why we excluded from magic wand button of normal editor is probably because it is not possible to edit the shortcode with the modal popup after saving. And there are a lot of options to set in av_playlist_element. Not user friendly and it might break the site if you make an error when editing shortcode directly.
As this is the first request only we will not modify it in core.
If it works for you – you can keep the modification. But you need to make it after each update.
Best regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.