File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
projects/packages/jetpack-mu-wpcom/src/features/wpcom-blocks/code/block-definition Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -370,8 +370,10 @@ const Loading = ( props: EditBlockProps ) => {
370370} ;
371371
372372/**
373+ * Transforms attributes into CSS custom properties for inline style use.
373374 *
374- * @param attributes
375+ * @param attributes - Block attributes.
376+ * @return CSS style object.
375377 */
376378export function colorsToStyle ( attributes : Attributes ) : {
377379 [ key in `--${ keyof Pick <
@@ -434,7 +436,8 @@ export function colorsToStyle( attributes: Attributes ): {
434436 * A numeric encoding is used for `&` as a workaround for
435437 * {@link https://core.trac.wordpress.org/ticket/63630|Trac 63630}.
436438 * The issue should be fixed in WordPress 6.9.
437- * @param content
439+ * @param content - Original content.
440+ * @return Encoded content.
438441 */
439442function htmlEncode ( content : string ) : string {
440443 return content
You can’t perform that action at this time.
0 commit comments