FriendsOfTYPO3 / frontend_editing

TYPO3 CMS Frontend Editing
https://friendsoftypo3.github.io/frontend_editing/
102 stars 39 forks source link

Changes over "header" field are written over "bodytext" #304

Closed instruccionesaldorso closed 5 years ago

instruccionesaldorso commented 6 years ago

Using a fresh new TYPO3 8.7.19 installation. EXT:frontend_editing 1.4.0

Did anyone have this same behaviour?

ademas02 commented 6 years ago

I have the same problem. Also modifying bodytext, after saving the title appears also as a new line within the bodytext.

MattiasNilsson commented 6 years ago

@instruccionesaldorso @ademas02 Are you using some custom elements? I have problem replicating the issue.

vruescas commented 6 years ago

@MattiasNilsson if you edit the header of a bodytext content element direct on the page, not with the edit dialog, and saves the change the header is not updated in the content element, the new header is in the text field integrated. I hope this help.

vruescas commented 6 years ago

@MattiasNilsson i found the problem. All CType = "text" must replaced to textmedia.

vruescas commented 6 years ago

@MattiasNilsson i found a better the solution without change any on CType. The property "beforeLastTag = 1" must be set like "beforeLastTag = 0", so the FE plugin not set the content element editable.