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

Blocks: Do not copy code snippet when text inside preview is selected #19788

Merged
merged 2 commits into from
Jan 14, 2023

Commits on Nov 9, 2022

  1. fix(blocks): Do not copy snippet when preview text is selected

    #18611
    
    This patch introduces skip conditional for the "copy code snippet
    by shortcut key" feature.
    
    this condition would not work when the preview is iframe (user sets
    `docs: { inlineStories: false }`), but that does not matter as the
    event handler won't run in the first place.
    pocka committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    d558261 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    6abbb54 View commit details
    Browse the repository at this point in the history