stfalcon/TinymceBundle — pull request #151 by Blackskyliner (2014-09-12 17:04:55+00:00)
Title: Added the possibility to specify options through tinymceInit

The problem which this Commit tries to solve is described in https://github.com/stfalcon/TinymceBundle/issues/136

Problem (TLDR): There is no way to override the global configuration for sites which may have complex dependencies and don't want to include them everywhere thus leaving the theming configuration a bit too static and unusable.

Fix: We just let them provide the needed specific configuration through an optional 'options' array which can be declared as the tinymceInit TwgHelper is called.

Sidenote: This may also fix many other Issues that may could come up. In theory you could now also configure url for themes through the path() or url() helper making theming/configurating the tinyMce more flexible in general.