frontend_editing icon indicating copy to clipboard operation
frontend_editing copied to clipboard

Missing first dropzone for new pages

Open vaxul opened this issue 3 years ago • 1 comments

What happen

If I add a new page and try to drag'n'drop a new content element, no dropzone appears.

What I accept

I would expect that at least a single dropzone is available to add the first content.

vaxul avatar May 12 '21 12:05 vaxul

I have the same issues, i have solve it with : <f:if condition="{content}"> <f:then> <f:format.html parseFuncTSPath="">{content}</f:format.html> </f:then> <f:else> <f:if condition="{core:isFrontendEditingActive()}"> <f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: placeholderId, colPos: '0', wrap: '<div class=\"placeholder\">Content |</div>'}" /> </f:if> </f:else> </f:if> content variabel is deviniert in TYPOScript styles.content.get . It work but is not nice.

gordon81 avatar Apr 14 '22 19:04 gordon81

Is this still the correct solution for the issue?

lorenzulrich avatar Dec 05 '22 09:12 lorenzulrich

I add that the same problem exists in nested content elements. If a column doesn't have a CE then there's no drop zone to drop a new or existing CE.

webian avatar Jul 31 '23 09:07 webian

I made this PR https://github.com/FriendsOfTYPO3/frontend_editing/pull/691 to handle this issue. Please read the specific documentation and give feedback.

webian avatar Aug 06 '23 07:08 webian