{"action":"opened","issue":{"url":"https://api.github.com/repos/neos/neos-ui/issues/1932","repository_url":"https://api.github.com/repos/neos/neos-ui","labels_url":"https://api.github.com/repos/neos/neos-ui/issues/1932/labels{/name}","comments_url":"https://api.github.com/repos/neos/neos-ui/issues/1932/comments","events_url":"https://api.github.com/repos/neos/neos-ui/issues/1932/events","html_url":"https://github.com/neos/neos-ui/issues/1932","id":336493787,"node_id":"MDU6SXNzdWUzMzY0OTM3ODc=","number":1932,"title":"Non-block inline properties with RTE have leading spaces","user":{"login":"DrillSergeant","id":883552,"node_id":"MDQ6VXNlcjg4MzU1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/883552?v=4","gravatar_id":"","url":"https://api.github.com/users/DrillSergeant","html_url":"https://github.com/DrillSergeant","followers_url":"https://api.github.com/users/DrillSergeant/followers","following_url":"https://api.github.com/users/DrillSergeant/following{/other_user}","gists_url":"https://api.github.com/users/DrillSergeant/gists{/gist_id}","starred_url":"https://api.github.com/users/DrillSergeant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrillSergeant/subscriptions","organizations_url":"https://api.github.com/users/DrillSergeant/orgs","repos_url":"https://api.github.com/users/DrillSergeant/repos","events_url":"https://api.github.com/users/DrillSergeant/events{/privacy}","received_events_url":"https://api.github.com/users/DrillSergeant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T06:46:33Z","updated_at":"2018-06-28T06:46:33Z","closed_at":null,"author_association":"NONE","body":"### Steps to Reproduce\r\n\r\n1. Create a content nodetype with a text-property that is inline editable and RTE enabled\r\n```\r\n'Internezzo.Neos:SpecialHeadline':\r\n  superTypes:\r\n    'Neos.Neos:Content': true\r\n  ui:\r\n    label: 'Special Headline'\r\n    group: 'general'\r\n  properties:\r\n    headline:\r\n      type: 'string'\r\n      defaultValue: ''\r\n      ui:\r\n        inlineEditable: true\r\n        aloha:\r\n          placeholder: 'put in your text here'\r\n```\r\n2. Define the rendering in Fusion\r\n```\r\nprototype(Internezzo.Neos:SpecialHeadline) < prototype(Neos.Fusion:Tag) {\r\n    tagName = 'span'\r\n    content = ${q(node).property('headline')}\r\n    @process.contentElementEditableWrapping = Neos.Neos:ContentElementEditable {\r\n        property = 'headline'\r\n    }\r\n    @process.contentElementWrapping = Neos.Neos:ContentElementWrapping {\r\n        @position = 'end'\r\n    }\r\n}\r\n```\r\n3. Go to the backend\r\n4. Add a content node of the new type\r\n5. Insert some text into it via inline editing\r\n6. Publish the changes\r\n7. Inspect the rendered content in the frontend\r\n\r\n#### Expected behavior\r\nI see a span-tag with my content inside it.\r\n\r\n#### Actual behavior\r\nI see a span-tag with my content inside it, but the content has a leading space character. This space character is also present in the database.\r\n\r\n#### Extra information\r\n- When you change the tagName in the Fusion rendering to a block-element (like div), the bug does **not** happen.\r\n- I know that I can use EEL (String.trim) to get rid of the space in the frontend, but the spaces still remain in the database\r\n\r\n### Affected Versions\r\nNeos: 3.3.12\r\nUI: 1.1.1\r\n\r\n"}}
{"actor":{"display_login":"DrillSergeant"}}