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 initialValue block setting #5978

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix initialValue block setting #5978

wants to merge 2 commits into from

Commits on May 6, 2024

  1. Fix initialValue block setting when the previous block is an empty block

    In this situation, only the onChangeBlock method was called, which does
    not call the _applyBlockInitialValue method. Then we call the
    _applyBlockInitialValue method before calling onChangeBlock.
    wesleybl committed May 6, 2024
    Configuration menu
    Copy the full SHA
    82a37ee View commit details
    Browse the repository at this point in the history
  2. Fix initialValue block setting when the previous block is not an empty

    block
    
    In this situation, the insertBlock method is called. But it passed the
    id of the previous block to the _applyBlockInitialValue method, instead
    of the id of the new created block.
    wesleybl committed May 6, 2024
    Configuration menu
    Copy the full SHA
    5588d72 View commit details
    Browse the repository at this point in the history