Make WordPress Core

Changes between Initial Version and Version 75 of Ticket #55974


Ignore:
Timestamp:
06/07/2024 04:35:41 AM (8 months ago)
Author:
poena
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55974

    • Property Keywords has-patch needs-testing added; needs-patch removed
    • Property Milestone changed from Awaiting Review to Future Release
    • Property Type changed from defect (bug) to enhancement
    • Property Summary changed from Twenty Twenty: border color issue in Pullquote block to Bundled theme: Add support for border options
  • Ticket #55974 – Description

    initial v75  
    1 In Twenty Twenty Theme, when we add Pullquote block in editor side and add any border style after that choose border color, We can see that border color is seen in editor side. But when we see the same Pullquote block at front side, border color is not reflected.
     1This description was updates June 7, 2024
    22
    3 Steps to replicate:
    4 1: Activate the Twenty Twenty Theme
    5 2: Add Pullquote block
    6 3: Add border style
    7 4: choose border color
    8 5: Save Page/Post
    9 6: View the page/post at front side
     3The classic bundled themes are missing support for border options for most blocks.
     4Some blocks, like the pullquote, have border options enabled by default, but most blocks do not.
    105
    11 For better understanding I provide video attachment link.
    12 Video URL : https://share.cleanshot.com/bqZzSHG6AGVy2hslSIqc
     6The border options include border color, width, style, and radius.
     7They can be enabled by adding {{{add_theme_support( 'border' );}}} or
     8{{{ add_theme_support( 'appearance-tools' );}}}.
    139
    14 Thanks
     10The appearance-tools adds several options besides the borders, so the suggested change is to use {{{add_theme_support( 'border' );}}}.
     11
     12{{{add_theme_support( 'border' );}}} can be added to themes existing setup function.
     13After that, all supported blocks needs to be tested.
     14
     15- Testing has shown that there are usually only a small number of issues found with the border support, but additional fixes may be needed for blocks that use images.
     16
     17
     18The following blocks support border controls as of** WordPress version 6.6 Beta1**, and needs to be tested.
     19''Note that it is necessary to test if these blocks have working border controls until there is a patch to test.''
     20
     21Avatar
     22Button
     23Code
     24Column
     25Columns
     26Comments Title
     27Cover
     28Details
     29Footnotes
     30Group
     31Image
     32Post Featured Image
     33Pullquote
     34Read More
     35Search
     36Table
     37Verse
     38
     39
     40
     41