Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Allow format change to fail if manual code doesn't parse. #294

Description

@AnmAtAnm
  • Rename BlockEditorController.onChangeFormat() as .onAttemptChangeFormat().
  • Pass in a asynchronous callback to process the view changes.
  • Pass false/failure to callback if manual code does not parse. Possibly allow the user to override the change with a confirm(msg).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions