View more context



And table_class_list seems to be the correct one, yep


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

  1. TinyMCEConfig::get("cwp")->setOption("table_class_list", [
  2. [ "title" => 'None', "value" => '' ],
  3. [ "title" => 'Dog', "value" => 'dog' ],
  4. [ "title" => 'Cat', "value" => 'cat' ],
  5. ]);

Could anyone point me in the direction where i may dig up more info abt the default items cached in silverstripe-cache folder? Am trying to evaluate the security of these items


@Nik the only thing I can think of is that it expects a map of objects in JS and I’m not sure how arrays translate to that when defined in PHP…. you an try passing stdClass objects with properties…