Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

config.For<T>(t=>t.Property) should not use default if setting configured

Found in

EPiServer.CMS.TinyMce 2.0.0

Fixed in

EPiServer.CMS.TinyMce 2.3.0

(Or a related package)

Created

May 18, 2018

Updated

Jun 01, 2018

Area

CMS UI

State

Closed, Fixed and tested


Description

config.For<ArticlePage>(t => t.MainBody)
    .AddPlugin("print");
 
// further down in the code (or in another module)
config.For<ArticlePage>(t => t.MainBody) // This will now be based on Default and not the previous config
    .AddPlugin("cut");

Expected:
The second time you do a For<>, it should continue on the settings object. It should now have
the print and cut plugin

Actual:
It resets to Default then adds the cut plugin.