Versions Compared

Key

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

...


By default, the button is added to the default TinyMCE, but if you have custom tinys for blocks with other configurations, you can apply the following: .AddFotowareContentPlatformToTinyMCE(serviceCollection)

```
Code Block
languagec#
           services.Configure<TinyMceConfiguration>(config =>

                 config.For<TextHtmlBlock>(t => t.Text)

                .AddEpiserverSupport()

                .AddFotowareContentPlatformToTinyMCE(serviceCollection) // This registers the plugin and the settings. 

                .Toolbar(AllSettings);

          );

```

Apply UIHint and FotowareConfiguration attributes to Optimize properties

...