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

输入框修改为富文本,支持换行 #53

Merged
merged 14 commits into from
Feb 18, 2023
Merged

Conversation

marlkiller
Copy link
Contributor

Snipaste_2023-02-17_19-51-00

@Chanzhaoyu
Copy link
Owner

这一块我也打算改,也是做成 textarea ,不过有点自己的想法,如下:

参考图片来自抖音

没有焦点状态,row 为1行
1

有焦点状态,row 为 3 行
2

其中预留右下角区域,以便以后扩展,比如「语音输入」

@marlkiller
Copy link
Contributor Author

这一块我也打算改,也是做成 textarea ,不过有点自己的想法,如下:

参考图片来自抖音

没有焦点状态,row 为1行 1

有焦点状态,row 为 3 行 2

其中预留右下角区域,以便以后扩展,比如「语音输入」

可以, 按照你的来吧.
毕竟我不是做前端的 😄

@Chanzhaoyu
Copy link
Owner

这一块我也打算改,也是做成 textarea ,不过有点自己的想法,如下:
参考图片来自抖音
没有焦点状态,row 为1行 1
有焦点状态,row 为 3 行 2
其中预留右下角区域,以便以后扩展,比如「语音输入」

可以, 按照你的来吧. 毕竟我不是做前端的 😄

没事,先合并你的,我之后再调整

@Chanzhaoyu Chanzhaoyu merged commit ea887ad into Chanzhaoyu:main Feb 18, 2023
z3rofork pushed a commit to z3rofork/chatgpt-web that referenced this pull request Mar 21, 2023
suikodev referenced this pull request in AstraSurge/gpteams Mar 27, 2023
* add Dockerfile

* update Readme.md

* Fixed : Docker log file

* Update vite.config.ts

* chore: code merge, update README.md

* chore: update GitHub workflow

* fix: 输入框修改为富文本,支持换行

* chore: 更新.gitignore

* Update index.vue

---------

Co-authored-by: Redon <[email protected]>
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.

2 participants