Open
Description
Related to #11478, I noticed when trying to extract component and only html portion selected or only C# portion selected we get correct behavior. But when select contains both html elements and c# block, extracting component only moves over the c# block.