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

chore: 更改hex的替换规则 #12

Merged
merged 3 commits into from
Mar 21, 2024
Merged

Conversation

lincenying
Copy link
Contributor

text="[#333]"替换成text="hex-333"
text-[#333]替换成text-hex-333

text="[#333]"替换成text="hex-333"
text-[#333]替换成text-hex-333
@Simon-He95
Copy link
Owner

text="[#333]"替换成text="hex-333" text-[#333]替换成text-hex-333

为什么需要去掉[],text="[#333]" 这种写法也是能被识别的

@Simon-He95
Copy link
Owner

Hi, @lincenying thanks for your pr,Here are the things I think need to be modified:

#10 上提到的问题:

  1. 这里可以处理数据快捷键 cmd+shift+v#xxx 的数据
    https://github.com/Simon-He95/unot/blob/main/src/index.ts#L131

  2. 另外hover上的选中按钮替换,应该是修改 copyClasscopyAttr 的值
    https://github.com/Simon-He95/unot/blob/main/src/index.ts#L292

image

@Simon-He95 Simon-He95 merged commit 9afb31e into Simon-He95:main Mar 21, 2024
2 checks passed
@Simon-He95
Copy link
Owner

thx~

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.

None yet

2 participants