You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a property is configured as inlineEditable (true), without autoparagraph (false) and removeFormat (true), the HTML code sent to Neos and saved in the database is not valid, when the Code is pasted, eg using copy-paste of a formated browser content.
Since there is still no native support for a inline ckeditor mode. ckeditor/ckeditor5#762 we will continue our hacky road ;)
This fixes several issues:
- Inserting text with newlines will now correctly insert soft breaks (br)
- We use our own pseodo `<neos-inline-wrapper>` tag to avoid the issue of having to parse html with regex and doing it wrong #2918
i also added a test for some inline editing behavior. (Like that there are no outer span or p tags)
But writing a tests for #2918 is currently impossible, as our tests currently dont use `https` which means we cant access the `navigator.clipboard` and test that ckeditor works correctly when content is pasted.
Description
If a property is configured as inlineEditable (true), without autoparagraph (false) and removeFormat (true), the HTML code sent to Neos and saved in the database is not valid, when the Code is pasted, eg using copy-paste of a formated browser content.
Steps to Reproduce
(The code can be copied from https://www.w3schools.com/html/html_formatting.asp - first white box, all three lines)
Expected behavior
The code should be stored as correct HTML
Actual behavior
Request URL:
/neos/ui-services/change
sends the code, where the payload is changed and stored in the DBAffected Versions
Neos: > 5
UI: 7.0.3
The text was updated successfully, but these errors were encountered: