{"action":"created","issue":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/815","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/815/labels{/name}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/815/comments","events_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/815/events","html_url":"https://github.com/splitbrain/dokuwiki/issues/815","id":38872775,"number":815,"title":"Show preview using AJAX","user":{"login":"borekb","id":101152,"avatar_url":"https://avatars.githubusercontent.com/u/101152?v=3","gravatar_id":"","url":"https://api.github.com/users/borekb","html_url":"https://github.com/borekb","followers_url":"https://api.github.com/users/borekb/followers","following_url":"https://api.github.com/users/borekb/following{/other_user}","gists_url":"https://api.github.com/users/borekb/gists{/gist_id}","starred_url":"https://api.github.com/users/borekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borekb/subscriptions","organizations_url":"https://api.github.com/users/borekb/orgs","repos_url":"https://api.github.com/users/borekb/repos","events_url":"https://api.github.com/users/borekb/events{/privacy}","received_events_url":"https://api.github.com/users/borekb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/splitbrain/dokuwiki/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-07-28T09:08:33Z","updated_at":"2015-03-20T14:41:50Z","closed_at":null,"body":"It would be nice if DokuWiki used AJAX to render the preview. Right now, the preview function does a full postback which means that I lose things like cursor position in the text area, the size of it (sometimes, I make the text area larger for easier editing) etc. AJAX preview would maintain all those things which would improve my editing experience.\r\n\r\nNote: I'm not asking for a live preview which has its drawback. This is purely about replacing the full postback with an AJAX request that is still initiated by clicking the Preview button, not automatically."},"comment":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/comments/84034098","html_url":"https://github.com/splitbrain/dokuwiki/issues/815#issuecomment-84034098","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/815","id":84034098,"user":{"login":"andreldm","id":599565,"avatar_url":"https://avatars.githubusercontent.com/u/599565?v=3","gravatar_id":"","url":"https://api.github.com/users/andreldm","html_url":"https://github.com/andreldm","followers_url":"https://api.github.com/users/andreldm/followers","following_url":"https://api.github.com/users/andreldm/following{/other_user}","gists_url":"https://api.github.com/users/andreldm/gists{/gist_id}","starred_url":"https://api.github.com/users/andreldm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreldm/subscriptions","organizations_url":"https://api.github.com/users/andreldm/orgs","repos_url":"https://api.github.com/users/andreldm/repos","events_url":"https://api.github.com/users/andreldm/events{/privacy}","received_events_url":"https://api.github.com/users/andreldm/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T14:41:50Z","updated_at":"2015-03-20T14:41:50Z","body":"Opening the preview in another window(target=\"_blank\") would be even better for my workflow and I guess it's easier to implement, no need to play with AJAX."}}