+ 1 same issue here. I used the same code than in your example, it shows correct on the back end but nothing on the front end. There are no js errors.
I think I have the same problem with Timber and Twig, which is not applying any p tags in my acf wysiwyg field.
I don’t quite unterstand oyyplays solution.
Could you explain a bit more in detail what you mean by that? {{ fn(‘the_field’,’episode_editor’) }}
Or are there any other solutions around?
Thanks everyone
John, thanks for your reply. Does that mean I should create a separat JS file in order to use the acf js api and shouldn’t use my main.js file with the hook add_action( 'wp_enqueue_scripts', 'my_scripts' );
?
And can you explain what you mean by making the script dependant on ‘acf-input’? I don’t quite understand.