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

[Feature] How to switch to preview mode in edit mode? #4154

Open
2 tasks done
smallCF opened this issue Nov 26, 2024 · 3 comments
Open
2 tasks done

[Feature] How to switch to preview mode in edit mode? #4154

smallCF opened this issue Nov 26, 2024 · 3 comments

Comments

@smallCF
Copy link

smallCF commented Nov 26, 2024

初始清单

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

问题

我现在编辑页面编写后保存,发送给比人看,但是不想然别人修改,如何设置只能预览模式?

@univer-bot univer-bot bot changed the title [Feature] 如何在编辑模式下切换为预览模式? [Feature] How to switch to preview mode in edit mode? Nov 26, 2024
@univer-bot
Copy link

univer-bot bot commented Nov 26, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Feature] 如何在编辑模式下切换为预览模式?

Title: [Feature] How to switch to preview mode in edit mode?


Initial list

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

question

I now edit the page and save it before sending it to others to see, but I don’t want others to modify it. How can I set it to preview-only mode?

@smallCF
Copy link
Author

smallCF commented Nov 26, 2024

I looked through previous issues and found a function method called setEditable that sets editing disabled. I followed the example of this issue and wrote it down
Unable to obtain setEditable, I am using @ univer/ [email protected] The version

@jikkai
Copy link
Member

jikkai commented Nov 27, 2024

Please provide the minimal reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants