Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleBreaking change: TinyMCE support

This feature is breaking with regard to TinyMCE. If you already wrote some tests that depend on CWB supporting TinyMCE , you should either add the tag '@IncludeCustomJs:TinyMce' to all your features or scenario's that make use of TinyMCE, or, in order to make TinyMCE support available in all scenario's, you could include the following snippet in your application's Spring configuration class:

 

Code Block
titleLoading scenario-scoped javascript
@Value("classpath:/com/foreach/cuke/sahi/util/tinymce.js")
private Resource javascriptTinyMce;
 
@Autowired
private CustomJavascriptInjector customJavascriptInjector;
 
@PostConstruct
public void overrideDefaultTinyMceJavascriptConfiguration() {
 customJavascriptInjector.register( "tinymce", javascriptTinyMce );
}