Skip to content

Commit

Permalink
Use remove-outline to see cursor in site editor
Browse files Browse the repository at this point in the history
While using the site editor `outlineMode` is enabled, which can obscure the cursor when hovering over the RichText field for the prefix attribute of the Co-Authors Block. The missing cursor makes it unclear you can type in the prefix field.
  • Loading branch information
douglas-johnson committed Jan 16, 2024
1 parent bfd1244 commit 028e14a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/blocks/block-coauthors/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '61fe24e0599aabb66e34');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '73645b9145fe40093212');
2 changes: 1 addition & 1 deletion build/blocks/block-coauthors/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/blocks/block-coauthors/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ export default function Edit( {
className: classnames(
__unstableLayoutClassNames,
{
[ `has-text-align-${ textAlign }` ]: textAlign
}
[ `has-text-align-${ textAlign }` ]: textAlign,
},
'remove-outline'
)
}
) }
Expand Down

0 comments on commit 028e14a

Please sign in to comment.