File tree Expand file tree Collapse file tree
packages/block-library/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99}
1010
1111.wp-block-pullquote {
12- cite {
13- display : block ;
14- }
15-
1612 cite .editor-rich-text__tinymce [data-is-empty = " true" ]::before {
1713 font-size : 14px ;
1814 font-family : $default-font ;
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ export const settings = {
7070 />
7171 { ( ! RichText . isEmpty ( citation ) || isSelected ) && (
7272 < RichText
73- tagName = "cite"
7473 value = { citation }
7574 /* translators: the individual or entity quoted */
7675 placeholder = { __ ( 'Write citation…' ) }
@@ -79,6 +78,7 @@ export const settings = {
7978 citation : nextCitation ,
8079 } )
8180 }
81+ className = "wp-block-pullquote__citation"
8282 />
8383 ) }
8484 </ blockquote >
Original file line number Diff line number Diff line change 44 color : $dark-gray-600 ;
55
66 cite ,
7- footer {
7+ footer ,
8+ & __citation {
89 color : $dark-gray-600 ;
910 text-transform : uppercase ;
1011 font-size : $default-font-size ;
12+ font-style : italic ;
1113 }
1214}
Original file line number Diff line number Diff line change 11.wp-block-quote {
22 margin : 0 ;
33
4- cite {
5- display : block ;
4+ & __citation {
65 font-size : $default-font-size ;
76 }
87}
Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ export const settings = {
205205 />
206206 { ( ! RichText . isEmpty ( citation ) || isSelected ) && (
207207 < RichText
208- tagName = "cite"
209208 value = { citation }
210209 onChange = {
211210 ( nextCitation ) => setAttributes ( {
@@ -214,6 +213,7 @@ export const settings = {
214213 }
215214 /* translators: the individual or entity quoted */
216215 placeholder = { __ ( 'Write citation…' ) }
216+ className = "wp-block-quote__citation"
217217 />
218218 ) }
219219 </ blockquote >
Original file line number Diff line number Diff line change 22 margin : 20px 0 ;
33
44 cite ,
5- footer {
5+ footer ,
6+ & __citation {
67 color : $dark-gray-300 ;
78 font-size : $default-font-size ;
89 margin-top : 1em ;
You can’t perform that action at this time.
0 commit comments