Custom properties doesn’t inherit base types settings class
Today I was playing around with custom properties and made my own version of the PropertyXhtmlString.
I wanted to disable some of the editor options so I clicked the “Custom Settings” tab for my custom property but to my surprise there wasn’t any settings available.
So it seems that if you do custom properties they don’t inherit the base type settings class.
It’s easy to fix though. In my case using the TinyMCE editor I had to add the following attribute to my custom property control class: [PropertySettings(typeof(TinyMCESettings), true)].
Comments