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

Block API: Add pre_render and post_render block filters #10108

Closed
wants to merge 7 commits into from

Commits on Nov 29, 2018

  1. Block Rendering: Add pre-render and post-render filteres

    Allows for blocks to be structurally and textually filtered during the
    rendering process. The pre-filter provides the parsed block object for
    transformation while the post-filter provides the rendered output of the
    block.
    
    These filters can be used in unison to perform a variety of operations
    on blocks. They are applied in a depth-first manner when rendering a
    block tree so that deeper-nested blocks are processed before their
    parents.
    
    > Caveat: Inner blocks aren't structurally filtered in this patch yet
    before their parent.
    
    Actually this needs a lot of work still...
    dmsnell committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    b4bda68 View commit details
    Browse the repository at this point in the history
  2. change the interface

    dmsnell committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    9df5f86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e74095c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92a2d09 View commit details
    Browse the repository at this point in the history
  5. fix linting issues

    dmsnell committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    29c62f7 View commit details
    Browse the repository at this point in the history
  6. switch to 4.7.0

    dmsnell committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    bbb7a3c View commit details
    Browse the repository at this point in the history
  7. bump target version

    dmsnell committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    7bf127d View commit details
    Browse the repository at this point in the history