Custom name for dynamic property block n editor

Vote:
 

Hello,

I am trying to change the name that is shown for a dynamic content block in the editor (by default it's the name of the dynamic content). I am aware that inline blocks cannot have a direct preview, so I have implemented a custom IDynamicContentFactory where I can modify the html that is generated for the editor (the method: GetMarkupForEditor).

The problem:

My overridden method gets called whenever the edit page is loaded intially. However, when I edit an existing dynamic content or create a new one, the method is not called. Somehow the html for the editor is generated without using the GetMarkupForEditor-method. This in turn wipes all my custom formatting of the dynamic content block.

Any suggestions would be greatly appreciated.

//Emil

#122467
Jun 03, 2015 10:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.