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

Is there any method to set the scroll position on opening #1856

Open
frank-zsy opened this issue Nov 9, 2024 · 0 comments
Open

Is there any method to set the scroll position on opening #1856

frank-zsy opened this issue Nov 9, 2024 · 0 comments

Comments

@frank-zsy
Copy link

Thanks for the great project.

I am using stackedit-js as my editor for some temp content in my website. Sometimes the content text is long and I try to set the initial position in the editor due to my position in the website.

I can not achieve this because stackedit-js opens an online editor in an iframe with stackedit.io/app , so I can not manipulate the iframe which will cause a cross-origin error.

So is there any params or methods I can use to set the scroll position when I open a temp file in StackEdit.

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

1 participant