Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable collapsing of whitespaces. #1277

Merged
merged 7 commits into from
Apr 20, 2020

Conversation

SergioEstevao
Copy link
Contributor

@SergioEstevao SergioEstevao commented Apr 6, 2020

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

@SergioEstevao SergioEstevao changed the title Do no sanitize any text. Add option to disable collapsing of whitespaces. Apr 8, 2020
@SergioEstevao SergioEstevao marked this pull request as ready for review April 8, 2020 00:05
@SergioEstevao SergioEstevao requested a review from etoledom April 8, 2020 00:05
Copy link
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

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

Working great! 🎉
Thank you @SergioEstevao

@SergioEstevao SergioEstevao added this to the 1.18.0 milestone Apr 20, 2020
@SergioEstevao SergioEstevao merged commit c6a8103 into develop Apr 20, 2020
@SergioEstevao SergioEstevao deleted the issue/add_option_to_not_clean_whitespaces branch April 20, 2020 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants