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

功能建议:增加"在浏览器窗口打开"功能 #2

Open
leolee9086 opened this issue Apr 25, 2023 · 5 comments
Open

功能建议:增加"在浏览器窗口打开"功能 #2

leolee9086 opened this issue Apr 25, 2023 · 5 comments

Comments

@leolee9086
Copy link

leolee9086 commented Apr 25, 2023

使用场景

挂件在文档中打开时编辑范围有限,有的时候不是很好编辑.

但思源的挂件本身是一个静态网页,因此可以在浏览器窗口打开,获得更大的编辑窗口,更接近一个独立应用, 体验也会更好一点.

效果实例

image

其他说明

需要的参数可以从url参数传入

可以通过 window.parent !==window 等方式来判断当前是否在iframe(挂件)中工作

@leolee9086 leolee9086 changed the title 增加"在浏览器窗口打开功能" 增加"在浏览器窗口打开"功能 Apr 25, 2023
@leolee9086 leolee9086 changed the title 增加"在浏览器窗口打开"功能 功能建议:增加"在浏览器窗口打开"功能 Apr 25, 2023
@Blackman99
Copy link
Owner

安排

@leolee9086
Copy link
Author

leolee9086 commented Apr 25, 2023

妈耶吓我一跳,大佬你是住在G站的么......

@Blackman99
Copy link
Owner

我们工作也需要用 Github,所以消息会第一时间就能看到

@Blackman99
Copy link
Owner

Blackman99 commented Apr 25, 2023

已添加该功能 84e5942
image

不过存在编辑器内与浏览器中无法及时同步的问题
可能考虑可以全屏比在浏览器中打开更好?

@o-ut-man
Copy link

o-ut-man commented May 6, 2023

已添加该功能 84e5942 image

不过存在编辑器内与浏览器中无法及时同步的问题 可能考虑可以全屏比在浏览器中打开更好?

全屏功能的体验应该更好些

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

No branches or pull requests

3 participants