Skip to content

Commit

Permalink
Refresh WordPress Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
deployment_bot committed Dec 15, 2024
1 parent b9df604 commit 692a953
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,8 @@ window.commentReply = {

setTimeout(function() {
var rtop, rbottom, scrollTop, vp, scrollBottom,
isComposing = false;
isComposing = false,
isContextMenuOpen = false;

rtop = $('#replyrow').offset().top;
rbottom = rtop + $('#replyrow').height();
Expand All @@ -1035,9 +1036,20 @@ window.commentReply = {

$( '#replycontent' )
.trigger( 'focus' )
.on( 'contextmenu keydown', function ( e ) {
// Check if the context menu is open and set state.
if ( e.type === 'contextmenu' ) {
isContextMenuOpen = true;
}

// Update the context menu state if the Escape key is pressed.
if ( e.type === 'keydown' && e.which === 27 && isContextMenuOpen ) {
isContextMenuOpen = false;
}
} )
.on( 'keyup', function( e ) {
// Close on Escape except when Input Method Editors (IMEs) are in use.
if ( e.which === 27 && ! isComposing ) {
// Close on Escape unless Input Method Editors (IMEs) are in use or the context menu is open.
if ( e.which === 27 && ! isComposing && ! isContextMenuOpen ) {
commentReply.revert();
}
} )
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.7"): { size: nu
case 'nightly':
/** @ts-ignore */
return {
size: 24577263,
size: 24577435,
url: url_nightly,
};

Expand Down
Binary file modified packages/playground/wordpress-builds/src/wordpress/wp-nightly.zip
Binary file not shown.

0 comments on commit 692a953

Please sign in to comment.