diff --git a/cms/templates/unit.html b/cms/templates/unit.html index f261be62fa..978bc74245 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -12,8 +12,15 @@ state: '${unit_state}' }) }); - - + + (function() { + + $('.new-component-template').each(function(){ + $emptyEditor = $(this).find('.empty'); + $(this).prepend($emptyEditor); + }); + })(); + function setEditorTab(e) { e.preventDefault(); $('.editor-tabs .current').removeClass('current'); @@ -153,18 +160,29 @@
Cancel