Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable find and replace popup in source mode. #12990

Merged

Conversation

mremiszewski
Copy link
Contributor

Suggested merge commit message (convention)

Fix (find and replace): Disable the find and replace popup in source mode. Closes #12939.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@@ -104,8 +104,12 @@ export default class FindAndReplaceUI extends Plugin {
} );

editor.keystrokes.set( 'Ctrl+F', ( data, cancelEvent ) => {
dropdown.isOpen = true;
cancelEvent();
const findCommand = editor.commands.get( 'find' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You needn't look for the command. isEnabled is bound directly to dropdown (in line 58 above).

@arkflpc arkflpc merged commit d7885a5 into master Dec 8, 2022
@arkflpc arkflpc deleted the ck/12939-fix-find-and-replace-in-source-editing-mode branch December 8, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find and replace keystroke opens the balloon in the source editing mode
2 participants