Please can you add to CKEditorconfig code suck lines like:
CKEDITOR.config.coreStyles_strike = { element : 'del' };

<strike> tag is not valid today.

Also I thing we need review all other tag buttons of all other editors like bueditor, tinymce

Comments

ilya1st’s picture

s/suck/such/g sorry :)

n.shmaleniuk’s picture

http://validator.w3.org/ - element "strike" undefined
it would be nice to replace the obsolete tag

pvasili’s picture

Good idea, subscribe.

twod’s picture

I'm not sure this is our thing to change, since it's more of a bug in the editor itself: http://cksource.com/forums/viewtopic.php?f=6&t=13315

I haven't tested, but I think you should be able to override this with the hook implementation below as a workaround:

function MYMODULE_wysiwyg_editor_settings_alter(&$settings, $context) {
  if ($context['profile']->editor == 'ckeditor') {
    $settings['coreStyles_strike'] = array('element' => 'del');
  }
}
v.zhakov’s picture

Good idea, subscribe

vabue’s picture

subs

tesmon’s picture

Subscribe!