Skip to content

Remove and prevent DOM access in attributes parsing #608

@aduth

Description

@aduth

In an effort to avoid tying block parsing to the DOM, we should not expect block implementers to provide custom matchers for attribute parsing.

Examples:

Instead, we should decide between:

  • Expecting these attributes to be serialized in the block comment
  • Providing additional matchers to satisfy the need required by these blocks

To discourage taking advantage of matchers currently receiving the DOM node, we could consider adding an internal flag, and picking only keys from the block attributes property whose values are an allowable matcher.

Metadata

Metadata

Assignees

Labels

[Feature] Block APIAPI that allows to express the block paradigm.[Feature] BlocksOverall functionality of blocks

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions