Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59086, comment 13


Ignore:
Timestamp:
08/14/2023 04:25:24 PM (13 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59086, comment 13

    initial v1  
    11According to the [https://make.wordpress.org/core/2023/07/18/miscellaneous-editor-changes-in-wordpress-6-3/#post-editor-iframed dev note], having one registered block at version 2 could make it render outside of an iframe. Then the WordPress version would not help.
    22
    3 Some `body` selectors were added in [https://github.com/WordPress/twentytwenty/pull/351/files#diff-a5bd56164e1ce14787589735399e161dc4a97917bc897c11e0ad57c77ee2a73eR134 PR 351] and then reduced to only the one in [https://github.com/WordPress/twentytwenty/pull/890/files#diff-a5bd56164e1ce14787589735399e161dc4a97917bc897c11e0ad57c77ee2a73eR152 PR 890]. Checking this with WordPress 5.0, that version added a text color on `.editor-styles-wrapper` later in the cascade. Any element should have overridden the other style just as well as `body`.
     3Some `body` selectors were added in [https://github.com/WordPress/twentytwenty/pull/351/files#diff-a5bd56164e1ce14787589735399e161dc4a97917bc897c11e0ad57c77ee2a73eR134 PR 351] and then reduced to only the one in [https://github.com/WordPress/twentytwenty/pull/890/files#diff-a5bd56164e1ce14787589735399e161dc4a97917bc897c11e0ad57c77ee2a73eR152 PR 890]. Checking this with WordPress 5.0, that version added a text color on `.editor-styles-wrapper` later in the cascade. Any (parent) element should have overridden the other style just as well as `body`.
    44
    55Changing `body` to `:root` (within the browser inspector) worked for me in both 5.0 and 6.3: