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

stackedit.js as cell editor in Google Sheets #32

Open
jesuslalvaro opened this issue Apr 28, 2020 · 0 comments
Open

stackedit.js as cell editor in Google Sheets #32

jesuslalvaro opened this issue Apr 28, 2020 · 0 comments

Comments

@jesuslalvaro
Copy link

This capture shows my first attempt, implemented as a side panel but some tweaks on stackedit.js would be needed .
Unfortunately, it is running inside an ìframe which is protected due to cross-origin policy, so no javascript can be used from outside to fix it. Some requests to be adressed as an option at init time:

  1. Clean tool bar. With so small width some icons collapse. So just undo and redo could be enough
  2. Add an extra icon with bound to a function passed at the initialization time. This could allow to refresh content to de selected cell. Initially when the side bar is called, it opens the selected cell. In order to edit other cell, you have to close the editor, select a new cell, launch the sidebar, and wait for the editor to be loaded from web. This could be simplified by a Stackedit event attached to the icon.
  3. Reduce both sides padding in order to have more editing space. Optionally reduce fontsize. Available width is so small ....
  4. Bind the Stackedit icon to the site but filling the new editor with the current text content of this editor. Again a stackedit event would do the job, if the server would accept initial content as url prameter or even as a POST...

Thanks

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