View more context

 

Nik

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?

Nik

This was meant to go into #ss4, sorry about that

MichalKleiner

is the table_class_list the correct option in tinymce docs?

MichalKleiner

also, if you’re on cwp project the name of the config is cwp instead of cms by default

Nik

I am in cwp and I use get("cwp") so that should be fine

Nik

And table_class_list seems to be the correct one, yep

MichalKleiner

can you paste the code how you’re setting it up?