Hello,
I created new content type, that I want to edit in HTML, not WYSIWYG. Indeed, there is a button in my WYSIWYG editor (tinyMCE) to show HTML. I want to disable WYSIWYG at all for this content type. Is it possible and how to do this if possible?
There is another problem for File type also - WYSIWYG does not work, and all options below the edit field are not accessible (Input format, Revision information, Comment Settings, Publishing options appear as static texts, not as links and menus.)
Regards,
Ivan










solution for "How to disable WYSIWYG for particular content type
dayana 1 year 40 weeks 5 days 13 hours ago
function modulename_form_alter($form_id, &$form) {
if ($form_id == 'forum_node_form') {
$form['body_filter']['body']['#wysiwyg'] = FALSE;
}
}
by using this code you can disable editor.