Question

Just to start with I am trying to do this in code (installation profile), not in Drupal itself.

In my installation profile I create three text formats. Thanks to the drush make file tinymce is also automaticly installed. Now wysiwyg gives you the option to assign the editor to a text format. See image below how the option looks in Drupal.

tinymce

Now I am wondering how I could change the 'No editor' to 'TinyMCE' in my installtion profile. After changing the option in drupal itself then the database changes to: (see image below)

tinymce_db

What is the right way to do this and how can I change these module settings?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top