Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

chore: using the mod-a shortcut key in the code block will only select the code #43

Merged
merged 1 commit into from Sep 12, 2023

Conversation

LIlGG
Copy link
Contributor

@LIlGG LIlGG commented Sep 11, 2023

What type of PR is this?

/kind improvement

What this PR does / why we need it:

在代码块中使用 ctrl + a / command + a 时,只会选中当前代码块中的内容而不是编辑器的全部内容

How to test it?

  1. 创建一个代码块并编辑一些文本。
  2. 在代码块中按 ctrl + a / command + a,查看选中的是否仅为代码块中的文本

Which issue(s) this PR fixes:

Ref halo-dev/halo#4447
Ref halo-dev/halo#4232

Does this PR introduce a user-facing change?

在代码块中使用全选快捷键将只会选中代码

@f2c-ci-robot f2c-ci-robot bot added kind/improvement Categorizes issue or PR as related to a improvement. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Sep 11, 2023
@vercel
Copy link

vercel bot commented Sep 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
richtext-editor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2023 7:13am

Copy link
Member

@ruibaby ruibaby left a comment

Choose a reason for hiding this comment

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

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2023
Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

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

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Sep 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 12, 2023
@f2c-ci-robot f2c-ci-robot bot merged commit 9741312 into halo-sigs:main Sep 12, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/improvement Categorizes issue or PR as related to a improvement. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants