[wp-trac] [WordPress Trac] #57788: HTML Tag Processor: Add bookmark invalidation logic
WordPress Trac
noreply at wordpress.org
Wed Feb 22 16:46:26 UTC 2023
#57788: HTML Tag Processor: Add bookmark invalidation logic
-----------------------------+--------------------
Reporter: Bernhard Reiter | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+--------------------
While `WP_HTML_Tag_Processor` currently only supports changing a given
tag's attributes, we plan to also provide methods to make broader changes
(possibly through a subclass of `WP_HTML_Tag_Processor`).
An API like that will have the potential of replacing a tag that a
bookmark points to. As a preparation, we thus need to make sure that all
bookmarks affected by a HTML replacement are invalidated (i.e. released).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57788>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list