Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #58333, comment 61


Ignore:
Timestamp:
05/18/2023 12:38:02 PM (17 months ago)
Author:
asafm7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58333, comment 61

    v1 v2  
    55  I like the idea of a solution that applies wptexturize, do_shortcode and similar filters to specific blocks that need them (paragraph block, classic block, shortcode block, heading block, etc) rather than applying them across all blocks.
    66
    7 This list of blocks is incomplete and can never be made complete, as there are many blocks made by plugins and also custom blocks, and people are using these blocks in many ways that can't be predicted. I, for example, use inline shortcodes inside Yoast blocks.
     7This list of blocks is incomplete and can never be made complete, as there are many blocks made by plugins and also custom blocks. Moreover, people are using blocks in many ways that can't be predicted. I, for example, use inline shortcodes inside Yoast blocks.
    88
    99There should be at least a filter for determining whether a specific block should do_shortcode() or not.