Tamara

I've tried to remove -u[class], but no luck with that...

  1. TinyMCEConfig::get('mycustom')
  2. ->setOptions([
  3. 'friendly_name' => 'my custom style',
  4. 'priority' => '50',
  5. 'skin' => 'silverstripe',
  6. 'body_class' => 'typography',
  7. 'contextmenu' => "",
  8. 'use_native_selects' => false,
  9. 'valid_elements' => "@[id|class|style|title],"
  10. . ",-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style],-ol[class],"
  11. . "-ul[class],-li[class],br,"
  12. . "-sub[class],-sup[class],-blockquote[dir|class],-cite[dir|class|id|title],"
  13. . "-h1[id|dir|class|align|style],-h2[id|dir|class|align|style],-h3[id|dir|class|align|style],"
  14. . "-h4[id|dir|class|align|style],-h5[id|dir|class|align|style],-h6[id|dir|class|align|style],hr[class],"
  15. . "dd[id|class|title|dir],dl[id|class|title|dir],dt[id|class|title|dir]",
  16. 'extended_valid_elements' => ""
  17. ])->disablePlugins(['table']);
Tamara

How can I remove the underline option from the WYSIWYG editor?

Tamara

This way the HTML is actually rendered (and not stripped)

Tamara

Hi all, I've got a DataObject (Cars), which has versioning on it. What's the best way to get all car objects (in which each record is only showing the latest version)?

Tamara

Do the paths to the templates match to the correct namespacing?

Tamara

I'm not sure, but maybe it shouldn't be all capital letters... Try "Enum" instead (just the E as capital)

Tamara

I've worked with Wordpress in the past, and currently work with Silverstripe 🙂