Hi @Olaf Jørgensen,
Thanks for your reply.
For the first issue, you may check this option, in Visual Studio 2022, Tools > Options > Web Forms Designer > CSS Styling > change positioning to absolute for controls added using Toolbox, paste or drag and drop.
If this option is checked, when you drag and drop a new control from Toolbox to Designer, the control can be dragged and moved again which means you may see a control(text) above/under another control(text). If you uncheck that option, when you drag and drop a new control to Designer, their position will change to absolute.
For the second issue, based on my test, if you push Enter on the design view but in/between, for example, <div></div> you will get a <br />
. If you push Enter in <body></body> but not in sub elements, you may get <p> </p>.
You may try to focus the cursor out of the sub elements and push Enter to get a new paragraph.
BTW, Edit.InsertNewParagraph is not an existing command(shortcut) in VS 2022 for assigning. You can check the available commands in Tools > Options > Environment > Keyboard.
Feel free contact us.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.