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

Fix various editor bugs and upgrade latest Slate packages #1189

Merged
merged 7 commits into from
Jan 31, 2019

Conversation

skogsmaskin
Copy link
Member

@skogsmaskin skogsmaskin commented Jan 30, 2019

There was a bug when pasting something into a new and empty editor field because setIfMissing patches was not followed by the set patches. This lead to two setIfMissing patches where the last one didn't apply anything.

This is fixed in commit 676c65d

Also added a test, and did a minor code hygiene (own commits).

@skogsmaskin skogsmaskin force-pushed the fix-block-editor-paste-bug branch 2 times, most recently from ce11df3 to 7a89d6f Compare January 30, 2019 15:05
@skogsmaskin skogsmaskin changed the title Fix block editor paste bug Fix block editor paste / patching bug Jan 30, 2019
@skogsmaskin skogsmaskin force-pushed the fix-block-editor-paste-bug branch 4 times, most recently from 41d8718 to 34d6b10 Compare January 31, 2019 13:05
… a set patch

Also some code paths optimizations.
Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

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

LGTM

@skogsmaskin skogsmaskin changed the title Fix block editor paste / patching bug Fix various block editor bugs and upgrade to latest Slate packages Jan 31, 2019
@skogsmaskin skogsmaskin changed the title Fix various block editor bugs and upgrade to latest Slate packages Fix various editor bugs and upgrade to latest Slate packages Jan 31, 2019
@skogsmaskin skogsmaskin changed the title Fix various editor bugs and upgrade to latest Slate packages Fix various editor bugs and upgrade latest Slate packages Jan 31, 2019
@skogsmaskin skogsmaskin merged commit 44b3b99 into next Jan 31, 2019
@skogsmaskin skogsmaskin deleted the fix-block-editor-paste-bug branch January 31, 2019 14:56
skogsmaskin added a commit that referenced this pull request Jan 31, 2019
…1189)

* [form-builder] Block editor: Prettier fix for Syncwrapper
* [form-builder] Block editor: remove unused import
* [form-builder] Block editor: add patching test
* [form-builder] Block editor: setIfMissing patches must be followed by set
* [form-builder] Block editor: fix invalid return values
* [form-builder] Block editor: fix triple click bug
* [form-builder] Block editor: upgrade slate packages
bjoerge pushed a commit that referenced this pull request Feb 1, 2019
…1189)

* [form-builder] Block editor: Prettier fix for Syncwrapper
* [form-builder] Block editor: remove unused import
* [form-builder] Block editor: add patching test
* [form-builder] Block editor: setIfMissing patches must be followed by set
* [form-builder] Block editor: fix invalid return values
* [form-builder] Block editor: fix triple click bug
* [form-builder] Block editor: upgrade slate packages
bjoerge pushed a commit that referenced this pull request Feb 1, 2019
…1189)

* [form-builder] Block editor: Prettier fix for Syncwrapper
* [form-builder] Block editor: remove unused import
* [form-builder] Block editor: add patching test
* [form-builder] Block editor: setIfMissing patches must be followed by set
* [form-builder] Block editor: fix invalid return values
* [form-builder] Block editor: fix triple click bug
* [form-builder] Block editor: upgrade slate packages
@skogsmaskin skogsmaskin mentioned this pull request Feb 1, 2019
skogsmaskin added a commit that referenced this pull request Feb 1, 2019
…1189)

* [form-builder] Block editor: Prettier fix for Syncwrapper
* [form-builder] Block editor: remove unused import
* [form-builder] Block editor: add patching test
* [form-builder] Block editor: setIfMissing patches must be followed by set
* [form-builder] Block editor: fix invalid return values
* [form-builder] Block editor: fix triple click bug
* [form-builder] Block editor: upgrade slate packages
bjoerge pushed a commit that referenced this pull request Aug 13, 2019
…1189)

* [form-builder] Block editor: Prettier fix for Syncwrapper
* [form-builder] Block editor: remove unused import
* [form-builder] Block editor: add patching test
* [form-builder] Block editor: setIfMissing patches must be followed by set
* [form-builder] Block editor: fix invalid return values
* [form-builder] Block editor: fix triple click bug
* [form-builder] Block editor: upgrade slate packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants