Skip to content

Commit

Permalink
revise
Browse files Browse the repository at this point in the history
  • Loading branch information
glespinosa committed Feb 1, 2024
1 parent 2fcf7c6 commit ab213da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell/components/FieldTypeTinyMCE/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const FieldTypeTinyMCE = React.memo(function FieldTypeTinyMCE({
setIsSkinLoaded(true);
});

editor.on("keydown", function (evt: any) {
editor.on("keydown", (evt: any) => {
if (evt.key === "Escape") {
if (editor.plugins.fullscreen.isFullscreen()) {
editor.execCommand("mceFullScreen");
Expand Down

0 comments on commit ab213da

Please sign in to comment.