Skip to content

feat: #WIK-18636 单行文本支持 Shift+Enter 换行 - #896

Open
xujing0521 wants to merge 2 commits into
developfrom
#WIK-18636/(feat)single-text-shift-enter
Open

xujing0521 wants to merge 2 commits into
developfrom
#WIK-18636/(feat)single-text-shift-enter

Conversation

@xujing0521

Copy link
Copy Markdown

Summary

  • 单行文本编辑时:Enter 确认并关闭;Shift+Enter 插入换行(对齐飞书多维表格)
  • 单元格聚焦展开态保留换行展示;非聚焦态换行转为空格

工作项:https://at.pingcode.com/pjm/workitems/VJLHJU2e

Test plan

  • 双击单行文本进入编辑,Shift+Enter 可换行,Enter 退出并保存
  • 退出编辑后,单元格非聚焦态将换行显示为空格
  • 点击聚焦(未进入编辑)时,可看到真实换行展示
  • 富文本字段共用同一编辑器,行为一致且无回归

Made with Cursor

xujing0521 and others added 2 commits December 1, 2026 16:08
Align with Feishu multi-dimensional table: Shift+Enter inserts a line break while Enter confirms; focused cells keep newlines, collapsed cells show spaces.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant