Skip to content

Commit

Permalink
Revert "XWIKI-21005: CKEditor content on inplace edit uses incorrectl…
Browse files Browse the repository at this point in the history
…y aria-expanded"

This reverts commit 780b33f.

(cherry picked from commit fa14f8d)
  • Loading branch information
mflorea committed Dec 13, 2024
1 parent 6964298 commit a2b4898
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,7 @@ define('editInPlace', [
options.afterEdit(xwikiDocument);
return xwikiDocument;
}).finally(() => {
// Remove the aria-expanded attribute which is incorrect for role=textbox
$('#xwikicontent').removeClass('loading').removeAttr('aria-expanded');
$('#xwikicontent').removeClass('loading');
// Then wait for an action (save, cancel, reload) only if the editors were loaded successfully.
}).then(maybeSave)
// Then unlock the document both when the edit ended with success and with a failure.
Expand Down

0 comments on commit a2b4898

Please sign in to comment.