-
Notifications
You must be signed in to change notification settings - Fork 4.8k
WP_HTML_Tag_Processor overview issue #44410
Copy link
Copy link
Closed
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.has dev notewhen dev note is done (for upcoming WordPress release)when dev note is done (for upcoming WordPress release)
Metadata
Metadata
Assignees
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.has dev notewhen dev note is done (for upcoming WordPress release)when dev note is done (for upcoming WordPress release)
Type
Fields
Give feedbackNo fields configured for issues without a type.
The follow-up work once the #42485 is merged:
get_attributeandset_attribute. Define what should happen in cases such as$p->set_attribute( 'id', 'My‐id' );and$p->get_attribute( 'id' )whenid="My‐id".set_attribute( )to make adding inline JavaScript harder (see @peterwilsoncc's comment and the reasoning behind not banning them).WP_HTML_Tag_Processor#44478set_content_inside_balanced_tags#47036has_next_tagmethodhas_classmethod to the public WP_HTML_Tag_Processor API #46232 (rationale)(Try adding layout classnames to inner block wrapper #44600 (comment)))
(string) $w(related comment). Done:@w->get_updated_html()Code is located in two folders:
cc @gziolo @dmsnell @georgeh