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

ajaxify wysihtml5 editor window? #411

Open
btbonval opened this issue Feb 25, 2015 · 1 comment
Open

ajaxify wysihtml5 editor window? #411

btbonval opened this issue Feb 25, 2015 · 1 comment
Labels

Comments

@btbonval
Copy link
Member

Clicking save refreshes the whole page, dropping the editor modal and causing a delay due to the long page load times.

This is a lesser priority, but it might be nice if the editor can be streamlined a little better so that its contents and/or the note contents can be loaded from AJAX without refreshing the entire page.

@btbonval
Copy link
Member Author

Possible approach:

  1. ajaxify note page load (I think this is actually already done!)
  2. upon save, submit a post through ajax or whatever magic that does not cause a page refresh
  3. use ajax to reload the note contents on the page
  4. leave the modal open and over top of the notes through the whole process

Since we reload the editor every time it is closed and opened, we don't really need to worry about keeping the editor's contents fresh via ajax.

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

No branches or pull requests

1 participant