Station::class . '_restOfTemplateName'
renderWith("App\DataObjects\Station") but the
::class shorthand is much nicer! (just don't forget the
use statement to go with it!)
It’s about both the name in the renderWith method as well as where is the file located in folder structure.
Hey there, trying to get TinyMCE to accept a custom
table_class_list parameter. I take it the table plugin is initialized by default because I can add tables. I've found the
setOption method on the TinyMCEConfig and am setting it in
getCMSFields for the page where I want the behaviour, but it does nothing. Checking the JS settings object shows that it has not been added. What could be going wrong here and how would I best debug it?
This was meant to go into #ss4, sorry about that
is the table_class_list the correct option in tinymce docs?
also, if you’re on cwp project the name of the config is cwp instead of cms by default
I am in cwp and I use
get("cwp") so that should be fine
And table_class_list seems to be the correct one, yep