Skip to content

Add option to disable collapsing of whitespaces#905

Merged
marecar3 merged 2 commits intodevelopfrom
issue/fix-whitespace-removal
Apr 23, 2020
Merged

Add option to disable collapsing of whitespaces#905
marecar3 merged 2 commits intodevelopfrom
issue/fix-whitespace-removal

Conversation

@marecar3
Copy link
Copy Markdown
Contributor

Create an option in Aztec to allow configuration of the whitespace removal, also known as text sanitization.

This shouldn't affect the Aztec editor and the option should only be activated on special use cases, for example, the Gutenberg editor: wordpress-mobile/gutenberg-mobile#2127

To test:

Start the demo app
See if all content still looks correct on the multiple demos

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@marecar3 marecar3 added the Gutenberg This issue is also valid importing Aztec in Gutenberg label Apr 23, 2020
@marecar3 marecar3 requested review from SergioEstevao, guarani and hypest and removed request for hypest April 23, 2020 15:32
Copy link
Copy Markdown

@guarani guarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @marecar3! This works great – tested here.

@marecar3 marecar3 merged commit 14c88d3 into develop Apr 23, 2020
@marecar3 marecar3 deleted the issue/fix-whitespace-removal branch April 23, 2020 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg This issue is also valid importing Aztec in Gutenberg

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants